PaperPilot-AI
Search arXiv by keyword, fetch papers, and answer questions grounded in the actual paper text.
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., "@PaperPilot-AISearch arXiv for recent papers on RAG and summarize their key ideas"
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.
PaperPilot AI — MCP-Powered Semantic Research Platform
An MCP (Model Context Protocol) server that lets an AI client search arXiv, fetch papers, and answer questions grounded in the actual paper text — a full retrieve-and-generate RAG pipeline exposed through all three MCP primitives (tools, resources, and prompts), plus a standalone demo UI.
Demo
Search & Fetch

Ask a Paper

Compare Papers

Related MCP server: mcp-arxiv
Why this exists
Most "I built an MCP server" projects stop at wrapping a single API call in a tool. This project instead demonstrates a complete, real pipeline:
search → fetch → chunk → embed → retrieve → generate
...exposed through MCP so it's usable directly from Claude Desktop or any other MCP client, with a companion Streamlit UI for visual demos.
Architecture
flowchart LR
A[User question] --> B[search_arxiv]
B --> C[fetch_paper]
C --> D[Chunk text]
D --> E[Embed chunks<br/>sentence-transformers]
E --> F[(SQLite<br/>persisted cache)]
F --> G[ask_paper]
G --> H[Embed question]
H --> I[Cosine similarity<br/>retrieve top-k chunks]
I --> J[Groq LLM<br/>generate grounded answer]
J --> K[Answer + source excerpts]Features
MCP Primitive | Name | What it does |
Tool |
| Search arXiv by keyword |
Tool |
| Download a paper's PDF, extract + chunk + embed its text |
Tool |
| Answer a question grounded in a fetched paper's content (RAG) |
Tool |
| Compare two fetched papers' methods and contributions |
Resource |
| Browse every paper fetched so far |
Resource |
| View a specific paper's full extracted text |
Prompt |
| Scaffolds a multi-paper research workflow |
Prompt |
| Scaffolds a structured two-paper comparison |
Plus:
Persistence — fetched papers survive a server restart (SQLite), not just in-memory.
Error handling — bad paper IDs, network failures, and LLM errors return clean messages instead of crashing.
20 automated tests — all external calls (arXiv, PDF download, Groq) are mocked, so the suite runs in seconds with zero API cost. CI runs them on every push.
Demo UI — a Streamlit app that reuses the exact same functions as the MCP server (no duplicated logic), with retrieved excerpts shown visually to make the RAG mechanism transparent.
Tech stack
Embeddings:
sentence-transformers(all-MiniLM-L6-v2, runs locally, no API cost)LLM: Groq (
llama-3.3-70b-versatile)Data: arXiv API,
pypdffor text extractionStorage: SQLite
Testing:
pytest+pytest-mockDemo UI: Streamlit
Setup
1. Clone and install
git clone https://github.com/ayushisingh51/PaperPilot-AI.git
cd PaperPilot-AI
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt2. Add your API key
cp .env.example .env
# then edit .env and add your free key from https://console.groq.com/keys3. Run it
As an MCP server (test in the MCP Inspector):
fastmcp dev server.pyConnected to Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"research-assistant": {
"command": "/absolute/path/to/venv/bin/python",
"args": ["/absolute/path/to/research-mcp/server.py"]
}
}
}As a standalone demo UI:
streamlit run demo_app.py4. Run the tests
pytest tests/ -vProject structure
PaperPilot-AI/
├── server.py # MCP server: tools, resources, prompts
├── demo_app.py # Standalone Streamlit demo UI
├── tests/
│ ├── conftest.py # Test fixtures (temp DB, dummy API key)
│ └── test_server.py # 20 tests, all external calls mocked
├── .github/workflows/
│ └── tests.yml # CI: runs tests on every push
├── requirements.txt
├── .env.example
└── LICENSEPossible extensions
Swap the naive top-k retrieval for a proper vector DB (Chroma/FAISS) as the paper library grows.
Add streaming responses for the generation step.
Support multi-paper synthesis in a single
askcall instead of one at a time.
License
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
- Alicense-qualityAmaintenanceZero-auth multi-source research MCP server that enables web search, reading URLs, PDFs, GitHub repos, and querying Hacker News, Stack Overflow, Semantic Scholar, and YouTube transcripts without API keys.Last updated10Apache 2.0
- Flicense-qualityCmaintenanceAn MCP server that enables AI assistants to search arXiv papers, retrieve metadata, and access PDFs.Last updated
- Alicense-qualityDmaintenanceA lightweight MCP server for querying arXiv with semantic and keyword search, supporting natural language queries and structured filters.Last updated2MIT
- AlicenseAqualityBmaintenanceAn MCP server that enables searching arXiv, importing papers, enriching with citation data, generating summaries and research ideas, and querying a local library using local LLMs and embeddings.Last updated91MIT
Related MCP Connectors
Academic research MCP server for paper search, citation checks, graphs, and deep research.
Local-first RAG engine with MCP server for AI agent integration.
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
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/ayushisingh51/PaperPilot-AI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server