paperSearch
Provides tools for biomedical entity normalization, relation mining, and article search using PubTator3, which annotates PubMed articles with entities, relations, and evidence.
Provides tools to search academic papers, retrieve paper metadata, traverse citation graphs, and get paper recommendations using the Semantic Scholar API.
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., "@paperSearchFind recent papers on immunotherapy for cancer."
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.
SearchPaper
SearchPaper is a literature-first infrastructure layer for agent-assisted research. It searches open scholarly literature, normalizes identifiers, merges duplicate records conservatively, preserves provenance, and exports traceable results for downstream agents or human review.
SearchPaper is not a full research agent, systematic-review engine, evidence evaluator, PDF parser, or Zotero replacement. It provides structured literature records and provenance; interpretation stays with the user or a downstream research workflow.
π At a Glance
Area | What SearchPaper provides |
π Sources | PubMed, Crossref, OpenAlex, Europe PMC, arXiv, bioRxiv, medRxiv, Semantic Scholar, Unpaywall, OpenCitations, PubTator3 |
𧬠Biomedical workflows | MeSH lookup, PubMed related articles, DOI/PMID/PMCID conversion, PubTator3 literature signals |
π Identifiers | DOI, PMID, PMCID, arXiv, OpenAlex, Semantic Scholar IDs |
π§Ύ Provenance | Source records, merge reasons, conflicts, warnings, trace fields |
π§ Agent access | CLI plus MCP tools for OpenCode, Codex, Claude, and other MCP clients |
π¦ Exports | JSON, JSONL, BibTeX, RIS, NBIB, ENW, Markdown, Zotero CSV, Obsidian notes, APA, MLA |
π API keys | Core workflows are no-key usable; optional keys improve rate limits and coverage |
Related MCP server: PubMed MCP Server
β¨ What It Does
Multi-source literature search across open scholarly APIs.
Identifier resolution for common scholarly IDs.
Conservative duplicate merge with provenance and conflict preservation.
Local SQLite cache for speed and reproducibility.
Full-text readiness via OA links, Europe PMC XML anchors, and full-text availability fields.
Structured literature signals from PubTator3 with explicit interpretation warnings.
CLI-first workflows plus a small, stable MCP tool surface.
Agent integration helpers for OpenCode, Codex, and Claude.
β‘ Quick Start
git clone <repo-url> ~/Publish/PaperSearch
cd ~/Publish/PaperSearch
uv sync --extra dev
uv run pytest -qTask | Command |
Search literature |
|
Resolve a DOI |
|
Check source health |
|
Run diagnostics |
|
Start MCP server |
|
For an editable local install:
uv pip install -e .After installation, the package provides the searchpaper CLI.
βοΈ Configuration
SearchPaper reads ~/.config/searchpaper/config.json. Environment variables
override file values.
{
"semantic_scholar_api_key": "YOUR_KEY",
"crossref_email": "you@example.com",
"openalex_email": "you@example.com",
"ncbi_api_key": "YOUR_NCBI_KEY",
"cache_path": "~/.cache/searchpaper/cache.db"
}Variable | Maps to | Description |
|
| SQLite cache file |
|
| Config file path |
|
| Optional Semantic Scholar key |
|
| Crossref polite-pool email |
|
| OpenAlex polite-pool email |
|
| Optional NCBI key |
π§ Core CLI Workflows
Workflow | Command |
Plan source routing |
|
Search literature |
|
Get work by PMID |
|
Resolve identifier |
|
Expand from a seed work |
|
Build context pack |
|
Fetch full-text anchors |
|
Probe sources |
|
Explain source behavior |
|
Diagnose source health |
|
Save project trace |
|
Export saved trace |
|
Lookup MeSH |
|
Find related PubMed articles |
|
Convert PubMed IDs |
|
Batch process inputs |
|
Verify references |
|
Export results |
|
Inspect capabilities |
|
π§© MCP and Agent Integration
Start the default stdio MCP server:
searchpaper serve --mcpStart a remote HTTP/SSE MCP server with searchpaper[remote] installed:
searchpaper serve --mcp --transport http --host 127.0.0.1 --port 8000 --path /mcpTool | Purpose |
| Multi-source literature search |
| Source-routing plan without a live search |
| Fetch one work by identifier |
| Resolve and merge multiple identifiers |
| Source health and optional catalog |
| PubMed MeSH descriptor lookup |
| PubMed related article IDs |
| DOI/PMID/PMCID conversion |
| Biomedical entity/relation signals |
| Citations, references, and related papers |
| Export structured records |
Agent | Install command | Output |
OpenCode |
| MCP config plus |
Codex |
| MCP snippet plus SearchPaper instructions |
Claude |
| MCP snippet plus SearchPaper instructions |
All |
| Scaffolds all supported integrations |
Review generated files and enable the searchpaper MCP server in your agent
settings.
π Full-Text Readiness
SearchPaper reports full-text availability without requiring PDF parsing.
Records may include full_text_availability, open_access_pdf, and canonical
URLs such as doi, pubmed, pmc, oa_url, and oa_pdf_url.
searchpaper resolve --doi 10.1038/s41586-021-03819-2 --json
searchpaper get --pmcid PMC8371605 --sources europepmc --anchors --json
searchpaper context --doi 10.1038/s41586-021-03819-2 --json
searchpaper get --doi 10.1038/s41586-021-03819-2 --download-pdf paper.pdf --json
searchpaper get --pmcid PMC8371605 --download-xml paper.xml --jsonPDF parsing remains optional and out of scope.
π‘οΈ Failure Modes and Signal Rules
Topic | Behavior |
Source degradation | Public APIs can fail; optional sources warn and continue |
Required sources |
|
Preferred sources |
|
Biomedical signals | PubTator3/co-mention signals are not proof of causality |
Evidence evaluation | Out of scope; SearchPaper returns records, provenance, and signals |
ποΈ Cache, Privacy, and Project Mode
Default cache:
~/.cache/searchpaper/cache.dbBypass cache:
searchpaper search "query" --no-cache --jsonProject mode:
searchpaper init
searchpaper search "HCC TACE PD-1" --json --save
searchpaper project traces
searchpaper project export <trace_id> --format bibtexThe cache may contain raw API responses and query identifiers. Store it accordingly.
π§ͺ Development
uv sync --extra dev
uv run pytest -q
uv run ruff check .
uv run ruff format .CI should rely on fixture-backed tests. Live public APIs are useful for manual checks but should not be required for routine validation.
π License
MIT
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.
Latest Blog Posts
- 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/FreddieWho/searchPaper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server