ArXiv Insight MCP Server
Provides tools for searching arXiv, retrieving paper fulltext, downloading PDFs, generating BibTeX citations, and extracting sections from papers.
Click on "Deploy 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 Insight MCP Server search for papers about reinforcement learning published in 2024"
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 Insight MCP Server
An MCP server for academic-paper demos. It exposes arXiv search, citation, PDF/text retrieval, a recent-search resource, and reusable review prompts.
What It Provides
Tools:
health_check: local health and cache status, no network required.search_arxiv: search arXiv by topic, category, sort order, year range, and offset.get_paper_fulltext: download and extract paper text, using local cache.download_pdf: download a PDF into the localdownloads/directory only.get_bibtex: generate BibTeX for an arXiv paper ID.extract_section: extract a named section from a cached or downloaded paper.
Resources:
papers://recent: IDs and titles from the most recentsearch_arxivresult.
Prompts:
review_paper: standard review workflow for one paper.compare_papers: comparison workflow for multiple papers.
Related MCP server: MCP Research Server (arXiv)
Requirements
Python 3.12+
uvNetwork access to arXiv for search, PDF, and BibTeX tools
The project currently uses MCP Python SDK v1.x through mcp[cli]>=1.25.0.
Before refreshing dependencies, consider adding a <2 upper bound while SDK v2
remains a separate pre-release line.
Install
uv sync --frozenRun
uv run main.pyThe server uses stdio transport by default, which is the expected mode for local MCP clients.
MCP Client Configuration
From the sibling mcp-client or chainlit-mcp-client repo, use:
{
"mcpServers": {
"arxiv-insight": {
"command": "uv",
"args": ["--directory", "../mcp-server", "run", "main.py"]
}
}
}For absolute Windows paths, escape backslashes in JSON.
Test
Local smoke tests do not contact arXiv or require extra dev dependencies:
uv run python scripts/smoke_test.pyManual MCP Inspector flow:
npx -y @modelcontextprotocol/inspectorIn the Inspector, configure a stdio server with command uv and args:
--directory C:\absolute\path\to\mcp-server run main.pyFirst call health_check, then search_arxiv with a small max_results such
as 3.
Demo Baseline
This server has been verified through the sibling ../mcp-client Chainlit demo
on Windows with LM Studio Local Server:
Endpoint:
http://localhost:1234/v1Model identifier:
google/gemma-4-e4bResource shown in Chainlit:
papers://recentSuccessful MCP tool calls:
health_check, thensearch_arxiv
Data And Security Notes
paper_cache/,downloads/,metadata_db.json, andLog.txtare local runtime artifacts.download_pdfvalidates the arXiv ID and restricts writes todownloads/.arXiv calls are rate-limited to a 3-second interval through the shared client state.
Tool errors are returned as text for demo readability; production servers should consider structured error output and stricter auditing.
Troubleshooting
If
uv run python scripts/smoke_test.pycannot import dependencies, runuv sync --frozenfirst.If arXiv tools fail but
health_checkworks, check network connectivity and arXiv availability.If PDF extraction is slow, repeat the same paper ID; cached text should be reused from
paper_cache/.
Available Tools
6 toolsdownload_pdfA
Download a paper's PDF to a local directory. Securely restricts downloads to the project's 'downloads' folder and its subdirectories.
Inputs: paper_id (required), save_dir. Returns: result
extract_sectionC
Extract a specific section (e.g., Abstract, Introduction, Conclusion) from a paper.
Inputs: paper_id (required), section_name (required). Returns: result
get_bibtexB
Get the BibTeX citation for a specific arXiv paper.
Inputs: paper_id (required). Returns: result
get_paper_fulltextB
Retrieve the full text of a paper. Checks local cache first.
Inputs: paper_id (required). Returns: result
health_checkA
Return local server health and cache status without contacting arXiv.
Inputs: no named parameters. Returns: result
search_arxivA
Search for papers on arXiv and cache metadata for Resources.
Args:
topic: The search query. Supports advanced prefixes like 'ti:' (title), 'au:' (author), 'abs:' (abstract).
max_results: Maximum number of results to return (default: 100, max: 300).
offset: The index of the first result to return (for pagination).
category: Optional category filter (e.g., 'cs.AI').
sort_by: Sort order. Options: 'relevance' (default), 'submitted', 'updated'.
start_year: Filter by submission year (start). Set to 0 to ignore.
end_year: Filter by submission year (end). Set to 0 to ignore.
Inputs: topic (required), offset, sort_by, category, +3 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct action and output: server health, search, citation retrieval, full-text retrieval, PDF download, and section extraction. Although full-text and section extraction are related, their scopes are clearly differentiated by the descriptions.
Most tools follow a consistent snake_case verb_noun pattern (search_arxiv, get_bibtex, get_paper_fulltext, download_pdf, extract_section). health_check deviates slightly by using a noun-based name, but it is a standard exception and remains readable.
Six tools are well-scoped for an arXiv search and retrieval server. Each tool covers a distinct part of the workflow without unnecessary duplication or bloat.
The surface covers the main read-only lifecycle: search, metadata caching, citation generation, full-text retrieval, section extraction, PDF download, and health checking. A direct get-paper-metadata-by-ID tool is absent, but search results and cached Resources likely fill that gap for most workflows.
Related MCP Connectors
Queries ArXiv for AI/CS/math papers and returns structured abstracts, authors, PDF links, and Bib.
Queries ArXiv for AI/CS/math papers and returns structured abstracts, authors, PDF links, and BibT
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search arXiv and ACL Anthology, retrieve citations and references, and browse web sources to accel…
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables searching and retrieving academic papers from arXiv by various criteria including title, author, and category, with support for extracting full text content from PDFs.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching and retrieving academic papers from arXiv by topic, allowing users to discover research papers and extract their metadata including titles, authors, abstracts, and PDF links through natural language queries.-
- AlicenseBqualityBmaintenanceEnables searching and retrieving academic papers from arXiv with support for advanced filtering by author, category, and date, plus full paper content extraction.1216MIT
- AlicenseBqualityDmaintenanceEnables searching academic papers on arXiv and retrieving detailed information such as title, authors, summary, and PDF link.16MIT