Skip to main content
Glama
arxiv-query-mcp

arxiv-query-mcp

by LWaetzig

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only access to arXiv: search papers, get metadata by ID, browse subject categories, read paper text, and find similar, cited and citing papers. Start with arxiv_search, confirm candidates with arxiv_get_paper, use arxiv_related_papers to expand from a known paper, and use arxiv_fetch_paper_text only for papers that must be read in depth.

Agent skill: a SKILL.md with guidance on when and how to use these tools is available at https://raw.githubusercontent.com/LWaetzig/arxiv-query-mcp/main/src/arxiv_query_mcp/skills/arxiv-query-mcp/SKILL.md. If your client supports skills or can fetch URLs, read it before your first call.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
arxiv_searchA

Search arXiv for academic papers using full query syntax.

Supports field-specific search and boolean operators. Returns paginated results with title, authors, abstract snippet, and direct links.

Args: params (SearchInput): - query (str): Query string, e.g. 'ti:attention AND cat:cs.LG' - max_results (int): Results per page (1 - 50, default 10) - start (int): Pagination offset (default 0) - sort_by (str): relevance | lastUpdatedDate | submittedDate - sort_order (str): descending | ascending - date_from (str): Only papers submitted on/after YYYY-MM-DD - date_to (str): Only papers submitted on/before YYYY-MM-DD - response_format (str): markdown | json

Returns: str: Paginated list of matching papers with metadata and links.

JSON schema when response_format='json':
{
  "total": int,
  "count": int,
  "start": int,
  "has_more": bool,
  "next_start": int | null,
  "papers": [{ "id", "version", "title", "authors", "abstract", "published",
               "updated", "primary_category", "categories",
               "abstract_url", "pdf_url", "html_url",
               "comment", "journal_ref", "doi" }]
}

Examples: - 'ti:large language model AND cat:cs.LG' — LLM papers in ML - 'au:lecun AND cat:cs.CV' — LeCun's vision papers - 'abs:diffusion AND abs:image generation' — diffusion image gen - 'ti:attention is all you need' — search by title phrase - query='abs:agents', date_from='2026-10-01' — recent papers only

arxiv_get_paperA

Retrieve full metadata for a specific arXiv paper by its ID.

Returns complete information: title, all authors, full abstract, categories, dates, journal reference, DOI, and direct links to abstract, PDF, and HTML.

Args: params (GetPaperInput): - paper_id (str): arXiv ID, e.g. '2303.08774', '1706.03762v2', or old-style 'hep-th/9901001'. A version suffix selects that version; without one the latest version is returned. - response_format (str): markdown | json

Returns: str: Full paper metadata.

JSON schema when response_format='json':
{ "id", "version", "title", "authors", "abstract", "published",
  "updated", "primary_category", "categories", "abstract_url", "pdf_url",
  "html_url", "comment", "journal_ref", "doi" }

Examples: - Attention Is All You Need: paper_id='1706.03762' - GPT-4 technical report: paper_id='2303.08774' - AlphaFold: paper_id='2108.10991'

arxiv_list_by_categoryA

List recent papers in a specific arXiv subject category.

Retrieves papers filtered to one category, sorted by submission date by default. Useful for monitoring a research area's latest preprints.

Args: params (ListByCategoryInput): - category (str): arXiv category code, e.g. 'cs.LG', 'math.CO' - max_results (int): Results per page (1 - 50, default 20) - start (int): Pagination offset - sort_by (str): relevance | lastUpdatedDate | submittedDate - sort_order (str): descending | ascending - date_from (str): Only papers submitted on/after YYYY-MM-DD - date_to (str): Only papers submitted on/before YYYY-MM-DD - response_format (str): markdown | json

Returns: str: Paginated list of papers in the category.

Common category codes: cs.LG — Machine Learning cs.AI — Artificial Intelligence cs.CL — Computation & Language cs.CV — Computer Vision cs.CR — Cryptography cs.RO — Robotics cs.NE — Neural & Evolutionary math.CO — Combinatorics math.ST — Statistics Theory physics.quant-ph — Quantum Physics stat.ML — Statistics / ML econ.GN — General Economics q-bio.NC — Neurons & Cognition

arxiv_fetch_paper_textA

Fetch the readable text content of an arXiv paper.

First tries the HTML version of the paper (available for most papers submitted after ~2023 with LaTeX source). Without one, the text is extracted from the PDF instead. Only if neither works does it return the full abstract and metadata.

Use arxiv_get_paper first to find the paper ID, then call this tool to read the paper's content.

Args: params (FetchPaperTextInput): - paper_id (str): arXiv paper ID, e.g. '2303.08774'; add a version suffix ('2303.08774v1') to read that version instead of the latest - offset (int): Character offset to start from (default 0) - response_format (str): markdown | json

Returns: str: One page of extracted paper text (about 10,000 characters) or the full abstract with links when no text can be extracted. Long papers span several pages: when more text remains, the response reports the next offset; call again with that offset to continue.

JSON schema when response_format='json' (text available):
{ "id", "source", "format" ("html" | "pdf"), "total_chars", "offset", "count", "has_more",
  "next_offset", "text" }
arxiv_related_papersA

Find papers related to a known arXiv paper: similar, cited, or citing.

arXiv has no citation or similarity data, so this tool uses Semantic Scholar. Results can include papers that are not on arXiv (they have no arXiv ID and link to Semantic Scholar instead). Very new preprints may not be indexed yet.

Args: params (RelatedPapersInput): - paper_id (str): arXiv ID or URL, e.g. '1706.03762' - relation (str): similar | references | cited_by - max_results (int): Results per page (1 - 50, default 10) - start (int): Pagination offset (references and cited_by only) - response_format (str): markdown | json

Returns: str: List of related papers with authors, year, citation count, link and abstract snippet.

JSON schema when response_format='json':
{
  "paper_id": str, "relation": str, "source": "semantic_scholar",
  "start": int, "count": int, "has_more": bool,
  "next_start": int | null,
  "papers": [{ "title", "authors", "year", "published", "arxiv_id",
               "doi", "venue", "citation_count", "url", "abstract" }]
}

Examples: - Papers like Attention Is All You Need: paper_id='1706.03762' - What GPT-4's report builds on: paper_id='2303.08774', relation='references' - Follow-up work on Adam: paper_id='1412.6980', relation='cited_by'

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct primary purpose: search, metadata retrieval, category listing, full-text reading, and related-paper discovery. The main overlap is between arxiv_search and arxiv_list_by_category, since category queries can also be expressed through search syntax, but the descriptions make the intended use cases reasonably clear.

Naming Consistency4/5

All tool names use a consistent arxiv_ prefix and snake_case formatting. Most follow a verb_noun pattern, though arxiv_related_papers is a noun phrase rather than a verb-led name, which is a minor deviation.

Tool Count5/5

Five tools is well-scoped for an arXiv query server, covering discovery, metadata, full text, and citation relationships without redundancy. Each tool earns its place.

Completeness5/5

The surface covers the core arXiv research workflow: search, paper lookup, category monitoring, reading full text, and exploring related/citing work. Minor conveniences like citation formatting are absent, but no critical gaps exist for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessOutdated data