Skip to main content
Glama

arXiv MCP Server

arXiv MCP Server

A Model Context Protocol (MCP) server that enables interacting with the arXiv API using natural language.

Features

  • 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

Tools

  • get_article_url
    • Retrieve the URL of an article hosted on arXiv.org based on its title
      • title (String): Article title
  • download_article
    • Download the article hosted on arXiv.org as a PDF file
      • title (String): Article title
  • load_article_to_context
    • Load the article hosted on arXiv.org into context of a LLM
      • title (String): Article title
  • get_details
    • Retrieve metadata of an article hosted on arXiv.org based on its title
      • title (String): Article title
  • search_arxiv
    • Performs a search query on the arXiv API based on specified parameters and returns matching article metadata
      • all_fields (String): General keyword search across all metadata fields
      • title (String): Keyword(s) to search for within the titles of articles
      • author (String): Author name(s) to filter results by
      • abstract (String): Keyword(s) to search for within article abstracts
      • start (int): Index of the first result to return

Setup

Manual Installation

Clone the repository

git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git cd arxiv-mcp-server

Install uv package manager. For more details on installing on other operating systems, visit the official uv documentation.

# Using Homebrew for macOS brew install uv # or curl -LsSf https://astral.sh/uv/install.sh | sh

Create and activate virtual environment.

uv venv --python=python3.13 source .venv/bin/activate # or `venv\Scripts\activate` on Windows

Install development dependencies.

uv sync

Usage with Claude Desktop

To enable this integration, add the server configuration to your claude_desktop_config.json file. Make sure to create the file if it doesn’t exist.

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

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

You may need to put the full path to the uv executable in the command field. You can get this by running which uv on MacOS or where uv on Windows.

Example Prompts

Can you get the details of 'Reasoning to Learn from Latent Thoughts' paper?
Get the papers authored or co-authored by Yann Lecun on convolutional neural networks
Download the attention is all you need paper
Can you get the papers by Andrew NG which have 'convolutional neural networks' in title?
Can you display the paper?
List the titles of papers by Yann LeCun. Paginate through the API until there are 30 titles

License

Licensed under MIT. See the LICENSE.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol server that enables natural language interaction with arXiv.org, allowing users to search, retrieve metadata, download PDFs, and load scholarly articles into LLM context.

  1. Features
    1. Tools
      1. Setup
        1. Manual Installation
      2. Usage with Claude Desktop
        1. Example Prompts
          1. License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI agents to search, retrieve, and analyze academic papers from arXiv, supporting features like keyword search, paper details retrieval, content extraction, and paper analysis.
              Last updated -
              Python
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A comprehensive Model Context Protocol server that enables advanced PubMed literature search, citation formatting, and research analysis through natural language interactions.
              Last updated -
              12
              6
              Python
              MIT License
            • A
              security
              F
              license
              A
              quality
              A TypeScript implementation of the Model Context Protocol server that enables searching arXiv papers and extracting paper information through standardized client-server communication.
              Last updated -
              2
              7
              TypeScript
            • A
              security
              A
              license
              A
              quality
              Provides paper search, PDF link retrieval, and content parsing for arXiv research papers, enabling seamless access to scientific literature through the Model Context Protocol.
              Last updated -
              4
              20
              3
              JavaScript
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/prashalruchiranga/arxiv-mcp-server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server