arxiv-mcp
Provides tools to search arXiv, fetch paper metadata, and retrieve full-text content in markdown format, including filtering by categories, dates, and authors.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@arxiv-mcpsearch for recent papers on reinforcement learning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
arXiv MCP Server
An MCP server that lets LLMs search and read papers from arXiv. Works with Claude, Cursor, and other MCP-compatible tools.
Why I Built This
LLMs hallucinate academic references. They'll confidently cite papers that don't exist, with made-up authors and fabricated titles. The fix is simple: give them direct access to arXiv so they can look up real papers instead of inventing them.
This server lets your AI assistant:
Search arXiv for actual papers
Verify a paper exists before citing it
Read the full paper content, not just the abstract
I added HTML retrieval so the model can actually read papers. For older papers without HTML, it falls back to PDF extraction via markitdown (with pypdf as a backup).
Related MCP server: Research Paper Agent
Features
Full arXiv API access with all filters (categories, dates, authors, sorting)
Paper content in markdown format
Batch fetching for multiple papers
Category browsing
How Content Retrieval Works
The server tries multiple sources in order:
arXiv HTML - Native HTML from arXiv (best quality, newer papers)
ar5iv - LaTeX converted to HTML (good quality, broad coverage)
markitdown - PDF to markdown conversion
pypdf - Basic PDF text extraction (last resort, includes reliability warning)
Installation
# From source
git clone https://github.com/SreehariSankar/arxiv-mcp.git
cd arxiv-mcp
pip install -e .
# Or just run directly
pip install mcp httpx pydantic pypdf markitdown
python arxiv_mcp.pyConfiguration
Claude Desktop
Add to ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"arxiv": {
"command": "arxiv-mcp"
}
}
}Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"arxiv-mcp": {
"command": "arxiv-mcp"
}
}
}HTTP Mode
For remote setups:
arxiv-mcp --http --port 8000Tools
arxiv_search
Search arXiv.
Parameter | Type | Description |
| string | Search query (supports arXiv syntax: |
| list | Filter by category, e.g. |
| string | Start date (YYYY-MM-DD) |
| string | End date (YYYY-MM-DD) |
| int | Results to return (1-100, default 10) |
| string |
|
Examples:
"transformer attention"
"ti:BERT AND au:devlin"
"cat:cs.LG AND all:reinforcement learning"arxiv_get_paper
Get metadata for a paper. Accepts IDs like 2301.07041, 2301.07041v1, or full URLs.
arxiv_get_content
Get the full text of a paper as markdown. Returns the content source and a warning if PDF extraction was used.
arxiv_list_categories
List arXiv categories. Pass parent_category (e.g. cs, math) to filter.
arxiv_get_paper_batch
Fetch metadata for multiple papers at once (max 20).
Rate Limits
arXiv allows about 3 requests per second. The server returns helpful error messages if you hit the limit.
Development
pip install -e ".[dev]"
pytest
black arxiv_mcp.py
ruff check arxiv_mcp.pyContributing
PRs welcome. If you find a bug or want to add a feature, open an issue or submit a pull request.
License
MIT
Links
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBquality-maintenanceAn MCP server that allows Claude AI to search, explore, and compare arXiv papers efficiently through a custom-built local server.Last updated47MIT
- Flicense-qualityDmaintenanceA remote MCP server for searching arXiv papers, extracting paper details, and generating structured prompts for LLM agents.Last updated1
- FlicenseAqualityDmaintenanceA streamlined MCP server that connects AI assistants to arXiv's vast collection of academic papers, enabling search, retrieval, and analysis of research papers.Last updated71
- FlicenseAqualityCmaintenanceA local MCP server for searching and reading arXiv papers, enabling paper search, retrieval, and summarization through Claude.Last updated6
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SreehariSankar/arxiv-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server