Skip to main content
Glama
arxiv-ai-mcp
by jsrv

arxiv-ai-mcp

A lightweight, token-efficient Model Context Protocol (MCP) server for searching, inspecting, and curating AI/ML research papers from arXiv.

Designed for both frontier cloud models and local quantized models (e.g., Qwen 3.5 via Ollama), arxiv-ai-mcp parses arXiv's Atom XML feeds into compact, structured Markdown—avoiding raw XML bloat in your agent's context window—while respecting arXiv's 3-second API rate-limiting etiquette.

Architecture

MCP Host / Agent Harness (Claude Desktop, OpenCode, Cursor, Pi)
       │  JSON-RPC 2.0 (stdio)
       ▼
┌─────────────────────────────────────────┐
│  arxiv-ai-mcp                           │
│  ├── Tools: search, get, related, vault │
│  ├── Resource: arxiv://categories       │
│  └── Prompt: literature_review          │
└──────┬──────────────────────────┬───────┘
       │ HTTPS (3s paced)         │ Local FS
       ▼                          ▼
  export.arxiv.org          ~/arxiv-vault/*.md

Related MCP server: Paper Search MCP Server

Quickstart (Zero-Install via uvx)

Add this block to your MCP host configuration to run directly from GitHub:

{
  "mcpServers": {
    "arxiv-ai": {
      "command": "uvx",
      "args": [
        "--from",
        "git+[https://github.com/jsrv/arxiv-ai-mcp](https://github.com/jsrv/arxiv-ai-mcp)",
        "arxiv-ai-mcp"
      ],
      "env": {
        "ARXIV_VAULT_DIR": "/path/to/your/arxiv-vault"
      }
    }
  }
}

Capabilities

Primitive

Name

Description

Tool

search_arxiv

Query arXiv by keywords, category (cs.AI, cs.LG, cs.CL, cs.MA, cs.CV), and sort order with bounded abstract snippets.

Tool

get_paper

Retrieve full metadata, complete abstract, PDF URL, and ready-to-paste BibTeX for any arXiv ID or URL.

Tool

find_related_papers

Discover adjacent preprints sharing a seed paper's primary category and core title concepts.

Tool

save_paper_note

Archive a structured YAML-frontmatter Markdown digest into ARXIV_VAULT_DIR.

Tool

list_saved_papers

Check papers already saved in your local research vault to prevent duplicate synthesis.

Resource

arxiv://categories

Quick reference taxonomy of primary AI/ML arXiv subject classifications.

Prompt

literature_review

End-to-end guided workflow to survey recent papers on a topic and archive top picks.

Local Development

git clone [https://github.com/jsrv/arxiv-ai-mcp.git](https://github.com/jsrv/arxiv-ai-mcp.git)
cd arxiv-ai-mcp
uv sync
uv run ruff check src tests
uv run pytest -v
uv run mcp dev src/arxiv_ai_mcp/server.py

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables searching, downloading, and managing academic papers from arXiv.org through natural language interactions. Provides tools for paper discovery, PDF downloads, and local paper collection management.
      4
      1
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables searching, downloading, and reading academic papers from multiple platforms including arXiv, Semantic Scholar, PubMed, bioRxiv, medRxiv, IACR, Google Scholar, RePEc/IDEAS, and Sci-Hub with PDF to Markdown conversion.
      29
      7
      -
    • 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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to discover and manage arXiv papers by searching for papers, extracting metadata, and browsing saved collections, all within the conversation.
      1
      MIT