An MCP server that enables interacting with the arXiv API using natural language.
Documentation
arXiv MCP Server
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
download_article - Download the article hosted on arXiv.org as a PDF file
load_article_to_context - Load the article hosted on arXiv.org into context of a LLM
get_details - Retrieve metadata of an article hosted on arXiv.org based on its title
search_arxiv - Performs a search query on the arXiv API based on specified parameters
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
```\n\n## Usage with Claude Desktop
To enable this integration, add the server configuration to your `claude_desktop_config.json` file.
```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"
}
}
}
}
```\n\n## 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