arxiv-analyzer
Allows searching arXiv for research papers, downloading papers, parsing PDFs into structured sections, and extracting key findings using client-side LLMs.
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-analyzersearch arXiv for few-shot learning papers"
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 Research Paper Analyzer MCP Server
An MCP (Model Context Protocol) server that enables LLM agents to search arXiv, download papers, parse PDFs into structured sections, and extract key findings using client-side LLMs. It features persistent local caching and layout-aware PDF extraction to optimize token usage and processing speed.
Architecture
The following diagram illustrates the workflow and architecture of the arXiv Analyzer server:
graph TD
Agent([LLM Agent]) -->|Call Tool / Read Resource| Server[arXiv Analyzer MCP Server]
Server -->|Query Meta / Download PDF| ArxivAPI[arXiv API]
Server -->|Read Cached Files| Cache[Local File Cache]
Server -->|Parse PDF Layout| MuPDF[PyMuPDF Parser]
MuPDF -->|Segment Text| Sections[Parsed Sections]
Server -.->|Request LLM completion| Sampling[Client LLM Sampling]
Sampling -.->|Return Summary| ServerRelated MCP server: arXiv MCP Server
Project Structure
mcp-arxiv-analyzer/
├── .github/workflows/
│ └── ci.yml # GitHub Actions CI pipeline
├── mcp_arxiv_analyzer/
│ ├── __init__.py
│ ├── arxiv_client.py # arXiv API integration and downloader
│ ├── cache.py # File caching layer for PDFs, sections, and summaries
│ ├── llm.py # Client sampling interfaces and fallback logic
│ ├── pdf_parser.py # PyMuPDF parser for layout-aware section segmentation
│ └── server.py # MCP server endpoint and tool handlers
├── tests/ # Unit and integration test suite
├── pyproject.toml # Package configuration and dependencies
└── README.md # DocumentationTools Exposed
search_arxiv: Search arXiv for research papers matching a query.download_paper: Download a paper by ID, parse its PDF into layout sections, and cache it.get_paper_sections: Get cached section names and outlines.get_section_text: Retrieve the raw text content of a specific section of a paper.get_paper_context: Retrieve a token-efficient pre-assembled overview context of the paper (Abstract, Intro, Conclusion, Outline, and focus-related sections) for summarization.extract_key_findings: Generate a structured summary of contributions, methods, experiments, and limitations. Falls back to providing context for client-side summarization if client-side sampling (CreateMessage) is unsupported.
Setup and Installation
Prerequisites
Python 3.10 or higher
uvpackage manager (recommended) orpip
1. Clone the Repository
git clone https://github.com/arman1o1/mcp-arxiv-analyzer.git
cd mcp-arxiv-analyzer2. Setup Virtual Environment and Install
Using uv:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e .Using standard pip:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .Running the Server
To run the MCP server on stdio (the standard protocol for MCP integrations):
python -m mcp_arxiv_analyzer.serverConfiguration with MCP Hosts
To configure the server with your MCP host (like Claude Desktop or Antigravity), add the following server configuration to your mcp_config.json:
{
"mcpServers": {
"mcp-arxiv-analyzer": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/mcp-arxiv-analyzer",
"run",
"python",
"-m",
"mcp_arxiv_analyzer.server"
]
}
}
}Running Tests
To run the unit and integration tests locally, install development dependencies and run pytest:
pip install -e .[dev]
pytestMaintenance
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
- AlicenseAqualityDmaintenanceEnables searching, downloading, and managing academic papers from arXiv.org through natural language interactions. Provides tools for paper discovery, PDF downloads, and local paper collection management.Last updated41MIT
- AlicenseAqualityDmaintenanceEnables LLMs to search, download, and read arXiv papers with automatic PDF text extraction and section filtering. Provides AI assistants direct access to scientific literature with local caching for fast re-access.Last updated32MIT
- Alicense-qualityDmaintenanceEnables arXiv paper search, PDF download, text extraction, and context chunking for LLM pipelines, along with advanced features like citation graphs and reproducibility scoring.Last updated2MIT
- Alicense-qualityCmaintenanceEnables agents to search, analyze, and explore arXiv academic papers with advanced multi-field search, author lookup, category browsing, citation extraction, and bibliography export.Last updated26Apache 2.0
Related MCP Connectors
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search arXiv, fetch paper metadata, and read full-text content.
Find academic papers across major sources like arXiv, PubMed, bioRxiv, and more. Download PDFs whe…
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/arman1o1/mcp-arxiv-analyzer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server