Get the FREE Ultimate OpenClaw Setup Guide →

arxiv

MCP server for arXiv.org - Search, analyze, and export academic papers with AI assistants. Features advanced paper discovery, citation analysis, trend tracking, and multi-format exports.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio anuj0456-arxiv-mcp-server python -m arxiv_mcp_server

How to use

The arXiv MCP Server provides a programmatic interface to search, retrieve, analyze, and export arXiv papers through the Model Context Protocol. It exposes a set of tools for general searches, author and category exploration, recent papers, and multi-format exports, along with optional analysis like citation and trend insights. Clients can connect to the server and invoke these tools to build AI-powered assistants that can browse arXiv content, summarize papers, compare works, and generate formatted exports. The available tools cover end-to-end paper discovery (search_arxiv, search_by_author, search_by_category), paper retrieval (get_paper, get_paper_details), content analysis (summarize_paper, analyze_trends, get_paper_citations), and exports (export_papers in BibTeX, JSON, CSV, or Markdown).

How to install

Prerequisites:

  • Python 3.8+ and pip
  • Optional: virtual environment manager (venv, conda)

Install from source (recommended):

  1. Clone the repository: git clone https://github.com/yourusername/arxiv-mcp-server.git cd arxiv-mcp-server

  2. (Optional) Create and activate a virtual environment: python -m venv venv

    On Windows

    venv\Scripts\activate

    On macOS/Linux

    source venv/bin/activate

  3. Install dependencies: pip install -r requirements.txt

  4. Run the server: python -m arxiv_mcp_server

Alternative (with Poetry):

  1. Install Poetry and install dependencies: poetry install
  2. Run the server: poetry run python -m arxiv_mcp_server

Notes:

  • Ensure network access to arXiv if the server needs to fetch data live.
  • If your deployment requires environment configuration, set variables as described in additional_notes.

Additional notes

Configuration tips:

  • If rate limiting or API keys are required, set environment variables as needed by the server (e.g., ARXIV_API_KEY).
  • For production deployments, consider running behind a process manager (systemd, PM2) and enable proper logging and retry strategies.
  • The server supports multiple export formats; specify the desired format (bibtex, json, csv, markdown) when using export_papers.
  • If you encounter connectivity issues, verify that the host running the MCP server can reach arXiv and that any firewall rules permit outgoing API calls.
  • When upgrading, review breaking changes in the MCP endpoints or payload schemas and adjust client integrations accordingly.

Related MCP Servers

Sponsor this space

Reach thousands of developers