Skip to main content

MCP server for browsing and searching arXiv papers by category

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arxiv_today_mcp-0.3.3.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arxiv_today_mcp-0.3.3-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file arxiv_today_mcp-0.3.3.tar.gz.

File metadata

  • Download URL: arxiv_today_mcp-0.3.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for arxiv_today_mcp-0.3.3.tar.gz
Algorithm Hash digest
SHA256 13c7c8bfd0c2a3a14ed1b38458a7b6e33545c60dbca3eb250226a0e056726000
MD5 f9bb3157958ba02dc0b37eda3bc16a46
BLAKE2b-256 8f8cc204884d68dee91e092c4e7422f650ac794861b8c10d1bc67e341bb69aed

See more details on using hashes here.

File details

Details for the file arxiv_today_mcp-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: arxiv_today_mcp-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for arxiv_today_mcp-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9436000dee1b0c8f67621207bd03904948177a20be597a1b8c6aafc6e6b7117d
MD5 6ce98247af3d9de6f234451ddf2c0d78
BLAKE2b-256 1fc2c16843d8781054afdf31ec8c2b772640312053e66cbd1cec4c2bbbb164f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page