Skip to main content

arXiv MCP Server

An MCP (Model Context Protocol) server that lets LLMs like Claude search and fetch arXiv papers directly.

中文文档

Features

  • Fetch recent papers from any arXiv category and store them locally
  • Query papers with flexible filtering by date, category, title, and entry ID
  • Retrieve full abstracts on demand for papers of interest
  • Clean up old papers from the local database
  • Database statistics by publication date and category

Tools

Tool Parameters Description
fetch_papers category, date=None, num_days=3, max_results=100 Fetch recent papers from arXiv API and store in local database
count_papers_on_date category, date Count how many papers were published in a category on a specific date
query_papers date=None, categories=None, title=None, entry_ids=None, fields=None, max_results=500 Query local database with flexible filtering and field selection
cleanup_papers before_date=None, date=None, categories=None Delete papers by date and/or category
get_stats — Paper counts by publication date and top categories

Design principle: fetch_papers and query_papers return only titles and metadata by default to save context. Use query_papers(fields=["abstract"]) when you need abstracts for specific papers.

Installation

Claude Code (recommended)

Add to your ~/.claude.json under mcpServers:

{
  "mcpServers": {
    "arxiv": {
      "command": "uvx",
      "args": ["arxiv-today-mcp"],
      "type": "stdio"
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "arxiv": {
      "command": "uvx",
      "args": ["arxiv-today-mcp"]
    }
  }
}

Usage Example

  1. Browse today's papers: Ask Claude "What's new in cs.AI today?" — Claude will call fetch_papers then query_papers, returning titles grouped by topic.
  2. Get details: "Tell me more about papers 2 and 5" — Claude will call query_papers with those entry IDs and fields=["abstract"] to summarize the abstracts.

Configuration

The database path can be overridden with an environment variable:

{
  "mcpServers": {
    "arxiv": {
      "command": "uvx",
      "args": ["arxiv-today-mcp"],
      "env": {
        "ARXIV_MCP_DB_PATH": "/your/custom/path/papers.db"
      }
    }
  }
}

Requirements

  • Python >= 3.10
  • uv or uvx

Metadata

Release files for arxiv-today-mcp 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arxiv-today-mcp 0.3.3
File Size Uploaded Provenance
arxiv_today_mcp-0.3.3.tar.gz 7.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for arxiv-today-mcp 0.3.3
File Interpreter ABI Platform
arxiv_today_mcp-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 17.0 kB

Release files / arxiv_today_mcp-0.3.3.tar.gz

Download URL arxiv_today_mcp-0.3.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
13c7c8bfd0c2a3a14ed1b38458a7b6e33545c60dbca3eb250226a0e056726000
BLAKE2b-256 checksum
How to use checksums
8f8cc204884d68dee91e092c4e7422f650ac794861b8c10d1bc67e341bb69aed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / arxiv_today_mcp-0.3.3-py3-none-any.whl

Download URL arxiv_today_mcp-0.3.3-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9436000dee1b0c8f67621207bd03904948177a20be597a1b8c6aafc6e6b7117d
BLAKE2b-256 checksum
How to use checksums
1fc2c16843d8781054afdf31ec8c2b772640312053e66cbd1cec4c2bbbb164f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for arxiv-today-mcp 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page