ArXiv MCP Server

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

Remote serverstreamable-httpPython

What is the ArXiv MCP Server?

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

What you get

  • Retrieve metadata about scholarly articles hosted on arXiv.org
  • Download articles in PDF format to the local machine
  • Search arXiv database for a particular query
  • Retrieve articles and load them into a large language model (LLM) context

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_article_urlRetrieve the URL of an article hosted on arXiv.org based on its title
download_articleDownload the article hosted on arXiv.org as a PDF file
load_article_to_contextLoad the article hosted on arXiv.org into context of a LLM
get_detailsRetrieve metadata of an article hosted on arXiv.org based on its title
search_arxivPerforms a search query on the arXiv API based on specified parameters and returns matching article metadata

How to install the ArXiv MCP Server

{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DOWNLOAD_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use ArXiv to get article url.”
  • “Use ArXiv to download article.”
  • “Use ArXiv to load article to context.”

Frequently asked questions

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