Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
k-dense-ai avatar

Paper Lookup

  • 1k installs
  • 32k repo stars
  • Updated July 29, 2026
  • k-dense-ai/scientific-agent-skills

paper-lookup is a Claude Code skill that queries the public arXiv API and returns academic preprints, abstracts, and metadata for developers researching CS, physics, math, and related fields.

About

paper-lookup is a Claude Code skill from k-dense-ai/scientific-agent-skills for direct arXiv API access from a coding agent. It calls GET https://export.arxiv.org/api/query with search_query, start, and max_results parameters, returning Atom XML responses covering physics, mathematics, computer science, quantitative biology, finance, statistics, electrical engineering, and economics preprints. No authentication is required. Developers reach for paper-lookup when they need arXiv abstracts, paper IDs, or field-prefixed boolean searches without leaving the agent session.

  • Queries the public arXiv API using field prefixes like ti:, au:, abs:, and cat:
  • Supports boolean operators (AND, OR, ANDNOT) for precise academic search
  • Returns structured paper metadata including titles, authors, abstracts, and links
  • Handles pagination with start and max_results parameters (up to 2000 per request)
  • Works with both search_query and id_list parameters for flexible lookups

Paper Lookup by the numbers

  • 1,043 all-time installs (skills.sh)
  • +47 installs in the week ending Jul 29, 2026 (Skillselion tracking)
  • Ranked #970 of 16,570 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill paper-lookup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1k
repo stars32k
Security audit2 / 3 scanners passed
Last updatedJuly 29, 2026
Repositoryk-dense-ai/scientific-agent-skills

How do you query arXiv papers from a coding agent?

Query the arXiv API directly from their coding agent and retrieve relevant academic papers, abstracts, and metadata.

Who is it for?

Developers researching arXiv preprints in CS, physics, or math who want API queries inside a coding agent.

Skip if: Researchers needing Chinese CNKI journals, paywalled publisher databases, or browser-only academic portals.

When should I use this skill?

The user wants arXiv papers, preprint abstracts, or metadata via the arXiv export API.

What you get

arXiv Atom XML response with paper titles, abstracts, authors, IDs, and query metadata.

  • arXiv paper metadata
  • Parsed abstracts and author lists

Files

SKILL.mdMarkdownGitHub ↗

Paper Lookup

You have access to 10 academic paper databases through their REST APIs. Your job is to figure out which database(s) best serve the user's query, call them, and return the results.

Core Workflow

1. Understand the query -- What is the user looking for? A specific paper by DOI? Papers on a topic? An author's publications? Open access PDFs? Full text? This determines which database(s) to hit.

2. Select database(s) -- Use the database selection guide below. Many queries benefit from hitting multiple databases -- for example, searching PubMed for papers and then checking Unpaywall for open access copies.

3. Read the reference file -- Each database has a reference file in references/ with endpoint details, query formats, and example calls. Read the relevant file(s) before making API calls.

4. Make the API call(s) -- See the Making API Calls section below for which HTTP fetch tool to use on your platform.

5. Return results -- Always return:

  • The raw JSON (or parsed XML for arXiv) response from each database
  • A list of databases queried with the specific endpoints used
  • If a query returned no results, say so explicitly rather than omitting it

Database Selection Guide

Match the user's intent to the right database(s).

By Use Case

User is asking about...Primary database(s)Also consider
Papers on a biomedical topicPubMedSemantic Scholar, OpenAlex
Full text of a biomedical articlePMCCORE
Biology preprintsbioRxivSemantic Scholar, OpenAlex
Health/medical preprintsmedRxivSemantic Scholar, OpenAlex
Physics, math, or CS preprintsarXivSemantic Scholar, OpenAlex
Papers across all fieldsOpenAlexSemantic Scholar, Crossref
A specific paper by DOICrossrefUnpaywall, Semantic Scholar
Open access PDF for a paperUnpaywallCORE, PMC
Citation graph (who cites whom)Semantic ScholarOpenAlex
Author's publicationsSemantic ScholarOpenAlex
Paper recommendationsSemantic Scholar--
Full text (any field)COREPMC (biomedical only)
Journal/publisher metadataCrossrefOpenAlex
Funder informationCrossrefOpenAlex
Convert between PMID/PMCID/DOIPMC (ID Converter)Crossref
Recent preprints by datebioRxiv, medRxivarXiv

Cross-Database Queries

User is asking about...Databases to query
Everything about a paper (metadata + citations + OA)Crossref + Semantic Scholar + Unpaywall
Comprehensive literature searchPubMed + OpenAlex + Semantic Scholar
Find and read a paperPubMed (find) + Unpaywall (OA link) + PMC or CORE (full text)
Preprint and its published versionbioRxiv/medRxiv + Crossref
Author overview with citation metricsSemantic Scholar + OpenAlex

When a query spans multiple needs (e.g., "find papers about CRISPR and get me the PDFs"), query the relevant databases in parallel.

Common Identifier Formats

Different databases use different identifier systems. If a query fails, the identifier format may be wrong.

IdentifierFormatExampleUsed by
DOI10.xxxx/xxxxx10.1038/nature12373All databases
PMIDInteger34567890PubMed, PMC, Semantic Scholar
PMCIDPMC + digitsPMC7029759PMC, Europe PMC
arXiv IDYYMM.NNNNN2103.15348arXiv, Semantic Scholar
OpenAlex IDW + digitsW2741809807OpenAlex
Semantic Scholar ID40-char hex649def34f8be...Semantic Scholar
ORCID0000-XXXX-XXXX-XXXX0000-0001-6187-6610OpenAlex, Crossref
ISSNXXXX-XXXX0028-0836Crossref, OpenAlex

Cross-referencing IDs: Semantic Scholar accepts DOI, PMID, PMCID, and arXiv ID via prefixes (e.g., DOI:10.1038/nature12373, PMID:34567890, ARXIV:2103.15348). OpenAlex accepts DOI and PMID via prefixes (doi:10.1038/..., pmid:34567890). Use the PMC ID Converter to translate between PMID, PMCID, and DOI.

API Keys and Access

Most of these databases are fully open. A few benefit from API keys for higher rate limits.

Databases requiring or benefiting from API keys

DatabaseEnv VariableRequired?Registration
NCBI (PubMed, PMC)NCBI_API_KEYNo (3 req/s without, 10 with)https://www.ncbi.nlm.nih.gov/account/settings/
CORECORE_API_KEYYes for full texthttps://core.ac.uk/services/api
Semantic ScholarS2_API_KEYNo (shared pool without)https://www.semanticscholar.org/product/api#api-key-form
OpenAlexOPENALEX_API_KEYRecommendedhttps://openalex.org/settings/api

Fully open databases (no key needed)

DatabaseNotes
bioRxiv / medRxivNo auth, no documented rate limits
arXivNo auth, max 1 request per 3 seconds
CrossrefNo auth; add mailto param for polite pool (2x rate limit)
UnpaywallNo auth; requires email parameter

Loading API keys

1. Check the environment first -- the key may already be exported (e.g., $NCBI_API_KEY). 2. Fall back to `.env` -- check .env in the current working directory. 3. Proceed without -- most APIs still work at lower rate limits. Tell the user which key is missing and how to get one.

Making API Calls

Use your environment's HTTP fetch tool to call REST endpoints:

PlatformHTTP Fetch ToolFallback
Claude CodeWebFetchcurl via Bash
Gemini CLIweb_fetchcurl via shell
Windsurfread_url_contentcurl via terminal
CursorNo dedicated fetch toolcurl via run_terminal_cmd
Codex CLINo dedicated fetch toolcurl via shell
ClineNo dedicated fetch toolcurl via execute_command

If the fetch tool fails, fall back to curl via whatever shell tool is available.

Special cases

  • arXiv returns Atom XML, not JSON. Parse it or use curl and extract the relevant fields. Consider piping through a simple parser if available.
  • PMC eFetch returns JATS XML for full text. This is expected -- full text articles are in XML format.
  • Crossref and Unpaywall benefit from including a mailto parameter or email for the polite/fast pool.

Request guidelines

  • For NCBI APIs (PubMed, PMC): max 3 req/sec without key, 10 with key. Make requests sequentially.
  • For arXiv: max 1 request every 3 seconds. Be patient.
  • For Crossref: 5 req/sec (public), 10 req/sec (polite pool with mailto).
  • For other APIs with no strict limits, you can query multiple databases in parallel.
  • If you get HTTP 429 (rate limit), wait briefly and retry once.

Error recovery

1. Check the identifier format -- use the Common Identifier Formats table. A PMID won't work in arXiv, an arXiv ID won't work in PubMed directly. 2. Try alternative identifiers -- if a DOI fails in one database, try the title or PMID instead. 3. Try a different database -- if PubMed returns nothing for a CS paper, try Semantic Scholar or OpenAlex. 4. Report the failure -- tell the user which database failed, the error, and what you tried instead.

Output Format

Structure your response like this:

## Databases Queried
- **PubMed** -- esearch + esummary for "CRISPR gene therapy"
- **Unpaywall** -- DOI lookup for 10.1038/...

## Results

### PubMed
[raw JSON response or formatted results]

### Unpaywall
[raw JSON response]

If results are very large, present the most relevant portion and note that more data is available. But default to showing the full raw JSON -- the user asked for it.

Available Databases

Read the relevant reference file before making any API call.

Biomedical Literature

DatabaseReference FileWhat it covers
PubMedreferences/pubmed.md37M+ biomedical citations, abstracts, MeSH terms
PMCreferences/pmc.md10M+ full-text biomedical articles (JATS XML), ID conversion

Preprint Servers

DatabaseReference FileWhat it covers
bioRxivreferences/biorxiv.mdBiology preprints (browse by date/DOI, no keyword search)
medRxivreferences/medrxiv.mdHealth sciences preprints (browse by date/DOI, no keyword search)
arXivreferences/arxiv.mdPhysics, math, CS, biology, economics preprints (keyword search, Atom XML)

Multidisciplinary Indexes

DatabaseReference FileWhat it covers
OpenAlexreferences/openalex.md250M+ works, authors, institutions, topics, citation data
Crossrefreferences/crossref.md150M+ DOI metadata, journals, funders, references
Semantic Scholarreferences/semantic-scholar.md200M+ papers, citation graphs, AI-generated TLDRs, recommendations

Open Access & Full Text

DatabaseReference FileWhat it covers
COREreferences/core.md37M+ full texts from OA repositories worldwide
Unpaywallreferences/unpaywall.mdOA status and PDF links for any DOI

Related skills

How it compares

Use paper-lookup for programmatic arXiv API access; use cnki-search when Chinese CNKI literature requires browser-based search.

FAQ

What format does the arXiv API return?

The arXiv API at export.arxiv.org returns Atom XML only; there is no JSON response option. paper-lookup guides querying and parsing that XML from a coding agent.

Does paper-lookup require authentication?

paper-lookup uses the fully public arXiv export API at https://export.arxiv.org/api/query. No API key or authentication is required to retrieve preprint metadata and abstracts.

Is Paper Lookup safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingresearchagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.