MCP.so
Sign In

arXiv MCP Server

@prashalruchiranga

About arXiv MCP Server

An MCP server that enables interacting with the arXiv API using natural language

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "arxiv-server": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/arxiv-mcp-server/src/arxiv_server",
        "run",
        "server.py"
      ],
      "env": {
        "DOWNLOAD_PATH": "/ABSOLUTE/PATH/TO/DOWNLOADS/FOLDER"
      }
    }
  }
}

Tools

5

Retrieve the URL of an article hosted on arXiv.org based on its title

Download the article hosted on arXiv.org as a PDF file

Load the article hosted on arXiv.org into context of a LLM

Retrieve metadata of an article hosted on arXiv.org based on its title

Performs a search query on the arXiv API based on specified parameters and returns matching article metadata

Overview

What is arXiv MCP Server?

A Model Context Protocol (MCP) server that enables interacting with the arXiv API using natural language. It retrieves metadata and PDFs of scholarly articles hosted on arXiv.org and can load article content into an LLM’s context. It is intended for researchers and developers who want to query and access academic papers through conversational AI.

How to use arXiv MCP Server?

Clone the repository, install the uv package manager, create a Python 3.13 virtual environment, and run uv sync to install dependencies. Configure the server in your Claude Desktop’s claude_desktop_config.json by providing the absolute path to server.py and setting the DOWNLOAD_PATH environment variable. Once configured, you can invoke tools such as search_arxiv, get_details, download_article, or load_article_to_context via natural language prompts.

Key features of arXiv MCP Server

  • Retrieve metadata of scholarly articles from arXiv.org.
  • Download articles as PDF files to the local machine.
  • Search the arXiv database using natural language queries.
  • Load article content into a large language model’s context.
  • Access article URLs and details directly by title.

Use cases of arXiv MCP Server

  • Search for papers on a specific topic and get a list of matching articles.
  • Obtain detailed metadata (e.g., authors, abstract) of a paper by its title.
  • Download a paper as a PDF for offline reading or archiving.
  • Load the full text of an article into an LLM for summarization or analysis.

FAQ from arXiv MCP Server

What tools does arXiv MCP Server provide?

Five tools: get_article_url, download_article, load_article_to_context, get_details, and search_arxiv.

What dependencies are required to run this server?

Python 3.13+ and the uv package manager. No external API key is needed; it uses the public arXiv API.

How do I configure the server for Claude Desktop?

Add a block to claude_desktop_config.json with "command": "uv", arguments pointing to the server.py file inside the arxiv_server folder, and an env entry for DOWNLOAD_PATH set to an absolute downloads folder path.

Where are downloaded articles saved?

Downloads are saved to the directory specified in the DOWNLOAD_PATH environment variable in the server configuration.

Can I search by author or by words in the title?

Yes. The search_arxiv tool supports searching by author, title, abstract, and general keywords across all metadata fields.

Frequently asked questions

What tools does arXiv MCP Server provide?

Five tools: `get_article_url`, `download_article`, `load_article_to_context`, `get_details`, and `search_arxiv`.

What dependencies are required to run this server?

Python 3.13+ and the `uv` package manager. No external API key is needed; it uses the public arXiv API.

How do I configure the server for Claude Desktop?

Add a block to `claude_desktop_config.json` with `"command": "uv"`, arguments pointing to the `server.py` file inside the `arxiv_server` folder, and an `env` entry for `DOWNLOAD_PATH` set to an absolute downloads folder path.

Where are downloaded articles saved?

Downloads are saved to the directory specified in the `DOWNLOAD_PATH` environment variable in the server configuration.

Can I search by author or by words in the title?

Yes. The `search_arxiv` tool supports searching by author, title, abstract, and general keywords across all metadata fields.

Comments

More Data & Analytics MCP servers