by prashalruchiranga
arxiv-mcp-server is a Model Context Protocol (MCP) server that enables natural language interaction with the arXiv API. It allows users to retrieve information, download articles, and search the arXiv database using conversational commands.
arxiv-mcp-server is a Model Context Protocol (MCP) server that facilitates natural language interaction with the arXiv API. It allows users to retrieve information, download articles, and search the arXiv database using conversational commands.
To use arxiv-mcp-server, you first need to install it. This involves cloning the repository, installing the uv
package manager, creating and activating a virtual environment, and then installing development dependencies. Once set up, you can integrate it with applications like Claude Desktop by configuring the claude_desktop_config.json
file with the server command and arguments, including the path to the server and an optional download path.
get_article_url
(to get article URLs by title), download_article
(to download articles by title), load_article_to_context
(to load articles into LLM context by title), get_details
(to retrieve article metadata by title), and search_arxiv
(to perform detailed searches by various parameters like all_fields
, title
, author
, abstract
, and start index
).uv
? You can install uv
using Homebrew on macOS or via a curl script for other systems.DOWNLOAD_PATH
environment variable in your MCP server configuration.A Model Context Protocol (MCP) server that enables interacting with the arXiv API using natural language.
title
(String): Article titletitle
(String): Article titletitle
(String): Article titletitle
(String): Article titleall_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 returnClone 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
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.
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
Licensed under MIT. See the LICENSE.
Reviews feature coming soon
Stay tuned for community discussions and feedback