Skip to main content
Glama
arXiv Reader MCP

arXiv Reader MCP

License: MIT

MCP server for searching and retrieving papers from arXiv, including full-text PDF extraction.

Features

  • search_arxiv: Search papers by keyword, author, category, and/or date range

  • search_papers: Quick search by query text with optional category and date filters

  • get_paper: Fetch full metadata (title, authors, abstract, PDF link) for a specific arXiv ID

  • get_recent: Get the most recent papers in a given category

  • fetch_pdf: Download and extract full text from a paper's PDF by arXiv ID

Related MCP server: arXiv MCP Server

Available Tools

Tool

Inputs

Returns

search_arxiv

keyword, author, category, date_from, date_to, max_results, start

Numbered list of papers with title, ID, authors, date, PDF link

search_papers

query, category, max_results, date_from

Numbered list of matching papers with title, ID, authors, date, PDF link

get_paper

arxiv_id

Title, ID, authors, published date, abstract, PDF URL

get_recent

category, max_results

Numbered list of recent papers with title, ID, authors, date, PDF link

fetch_pdf

arxiv_id

Full extracted text content of the paper PDF

Usage

Clone and run

git clone https://github.com/younesbensafia/arxiv-mcp-server
cd arxiv-mcp-server
uv run arxiv-mcp-server

Test with MCP Inspector

  1. Run the server: uv run arxiv-mcp-server

  2. Open MCP Inspector or run npx @modelcontextprotocol/inspector

  3. Set transport to STDIO

  4. Command: uv

  5. Args: run arxiv-mcp-server

  6. Working directory: path to this repo

  7. Click Connect -- all tools appear on the left

Connect to Claude.ai

Add to your MCP settings:

{
  "mcpServers": {
    "arxiv": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/arxiv-mcp-server", "arxiv-mcp-server"]
    }
  }
}

arXiv Category Codes

Code

Area

cs.AI

Artificial Intelligence

cs.CL

Computation and Language

cs.CV

Computer Vision and Pattern Recognition

cs.IR

Information Retrieval

cs.LG

Machine Learning

cs.NE

Neural and Evolutionary Computing

cs.SE

Software Engineering

eess.AS

Audio and Speech Processing

math.ST

Statistics Theory

physics.chem-ph

Chemical Physics

physics.optics

Optics

q-bio.BM

Biomolecules

q-fin.ST

Statistical Finance

quant-ph

Quantum Physics

stat.ML

Machine Learning (Statistics)

stat.TH

Statistics Theory

Full list at arxiv.org/category_taxonomy.

Examples

Ask Claude (or any MCP-compatible assistant):

  • "Find the latest papers on RAG from the last 3 months"

  • "Summarise arxiv paper 2301.07041"

  • "What are the most recent cs.LG papers today?"

  • "Find all papers by Andrej Karpathy"

  • "Read the full text of 1706.03762 and explain the methodology"

Don't have an MCP-compatible client? Try Claude Code or the MCP Inspector with uv run arxiv-mcp-server.

Demo

search_papers

get_paper

fetch_pdf

Contributing

See CONTRIBUTING.md.

Available Tools

5 tools
fetch_pdfA

Download the PDF for a given arXiv ID and extract its full text content, including tables formatted as markdown. Tables are extracted from the best available source: ar5iv.org HTML → LaTeX source → PDF/Camelot. Use when the user needs to read the full paper text, not just the abstract. The arXiv ID is required (e.g. 2301.07041).

Inputs: arxiv_id (required). Returns: result

get_paperA

Fetch a single paper by its arXiv ID (e.g. 2301.07041). Use when the user provides a specific arXiv ID and wants full metadata including title, authors, publication date, abstract, and PDF link. IDs can be with or without version suffix (e.g. 2301.07041v2).

Inputs: arxiv_id (required). Returns: result

get_recentA

Get the most recent papers in a given category (e.g. cs.AI, quant-ph). Use when the user wants to see the latest submissions in a specific arXiv category, sorted by submission date (newest first). Ideal for 'what is new' style queries.

Inputs: category (required), max_results. Returns: result

search_arxivA

Search arXiv papers by keyword, author, category, and/or date range. Use when the user wants to find papers matching specific terms, by a specific author, in a specific category, or within a date range. Supports Boolean-like searches via keyword. Returns a numbered list with title, arXiv ID, authors, publication date, and PDF link.

Inputs: keyword, author, category, date_from, +3 more. Returns: result

search_papersA

Search papers by query text, with optional category filter and date range. Simpler than search_arxiv - just a search query plus optional category and date_from. Use when the user provides a natural language query like 'papers about transformers' and optionally a category or start date. The query searches across all fields (title, abstract, authors).

Inputs: query (required), category, max_results, date_from. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation4/5

    Most tools have distinct purposes: fetching PDFs, getting metadata, recent papers, and two search tools. However, search_arxiv and search_papers overlap in their search functionality; while they differ in complexity and parameters, an agent might be uncertain which to use for a given query.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern (fetch_pdf, get_paper, get_recent, search_arxiv, search_papers) using snake_case, making the set predictable and easy to understand.

    Tool Count5/5

    Five tools is well-scoped for a server focused on arXiv papers, covering key operations without being excessive or too sparse.

    Completeness5/5

    The tool set covers all major arXiv interactions: retrieving metadata, searching, fetching recent papers, and downloading PDFs with extracted text. No obvious gaps for common user requests.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables searching and retrieving academic papers from arXiv by various criteria including title, author, and category, with support for extracting full text content from PDFs.
      4
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables searching and retrieving academic papers from arXiv with support for advanced filtering by author, category, and date, plus full paper content extraction.
      12
      16
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables natural language search and analysis of arXiv academic papers with AI-powered relevance ranking, full-text extraction, and support for multiple integrations like Claude and LangChain.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables agents to search, analyze, and explore arXiv academic papers with advanced multi-field search, author lookup, category browsing, citation extraction, and bibliography export.
      46 npm
      Apache 2.0