arXiv API

arXiv API

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

33
Stars
7
Forks
0
Releases

Overview

arXiv MCP Server is an MCP-compatible service that enables natural-language interactions with the arXiv API. It offers tools to retrieve article metadata, download PDFs, search the arXiv catalog, and load articles into a large language model (LLM) context. Available tools include get_article_url (returns the URL for an arXiv article given its title), download_article (saves the article as a PDF on the local machine), load_article_to_context (injects article content into an LLM's context), get_details (fetches metadata for an article by title), and search_arxiv (performs keyword-based searches with fields such as all_fields, title, author, abstract, and start for pagination). The README also describes cross-platform setup via MacOS and Windows using the uv package manager, virtual environment creation with Python 3.13, and dependency synchronization. It shows integration with Claude Desktop via a configuration file (claude_desktop_config.json) and provides example prompts illustrating common use cases like retrieving details, listing papers, downloading PDFs, and performing searches. The server is intended to be run with uv, pointing to server.py, and supports a configurable DOWNLOAD_PATH.

Details

Owner
prashalruchiranga
Language
Python
License
MIT License
Updated
2025-12-07

Features

Retrieve metadata about scholarly articles hosted on arXiv.org

Retrieve metadata about scholarly articles hosted on arXiv.org

Download articles in PDF format to the local machine

Download the article hosted on arXiv.org as a PDF file

Search arXiv database for a particular query

Performs a search query on the arXiv API based on specified parameters and returns matching article metadata

Retrieve articles and load them into a large language model (LLM) context

Load the article hosted on arXiv.org into context of a LLM

Tags

arxivmcpapinatural-languagellmpdfmetadatasearcharxiv-api