Access and Download arXiv Papers via Natural Language
MCP server that connects AI assistants to arXiv.org for searching, retrieving metadata, downloading PDFs, and loading scholarly articles into LLM context.
1.0.0Add to Favorites
Why it matters
Seamlessly interact with the arXiv API using natural language. Search for scientific papers, retrieve detailed metadata, and download articles directly to your local machine.
Outcomes
What it gets done
Search arXiv for papers by title, author, or keywords.
Retrieve metadata (abstract, authors, publication date) for specific papers.
Download scientific papers in PDF format.
Load retrieved papers directly into your LLM context for further analysis.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-arxiv-api | bash Capabilities
Tools your agent gets
Get the URL of an article hosted on arXiv.org by its title
Download an article from arXiv.org in PDF format
Load an article from arXiv.org into the language model context
Get article metadata from arXiv.org by its title
Perform a search query through the arXiv API with specified parameters and retrieve matching papers
Overview
arXiv API MCP Server
What it does
This MCP server exposes five tools that connect AI assistants to arXiv.org: get_article_url retrieves article URLs by title, download_article saves PDFs locally, load_article_to_context injects papers into the LLM's working memory, get_details fetches metadata, and search_arxiv queries by title, author, abstract, or general keywords. All tools accept natural-language prompts and return structured data or files.
How it connects
Use this server when you need an AI assistant to search academic literature, retrieve paper details, or work directly with research content. Ideal for literature reviews, citation lookups, downloading references, or asking questions about specific papers without leaving your AI chat interface.
Source README
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
- 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
title(String): Article title
- 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
title(String): Article title
- 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
title(String): Article title
- 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 and returns matching article metadata
all_fields(String): General keyword search across all metadata fieldstitle(String): Keyword(s) to search for within the titles of articlesauthor(String): Author name(s) to filter results byabstract(String): Keyword(s) to search for within article abstractsstart(int): Index of the first result to return
- Performs a search query on the arXiv API based on specified parameters and returns matching article metadata
Setup
MacOS
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, visit the official uv documentation.
# Using Homebrew
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
Install development dependencies.
uv sync
Windows
Install uv package manager. For more details on installing, visit the official uv documentation.
# Use irm to download the script and execute it with iex
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Close and reopen the shell, then clone the repository.
git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git
cd arxiv-mcp-server
Create and activate virtual environment.
uv venv --python=python3.13
source .venv\Scripts\activate
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%/Roaming/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
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.