paper-sources-mcp
An MCP server that pools scholarly search across OpenAlex, Europe PMC, PubMed, arXiv and bioRxiv/medRxiv, and returns open full-text excerpts when they exist. It works without API keys and with any MCP client.
uvx paper-sources-mcp # stdio, for clients that launch the server
uvx paper-sources-mcp --transport streamable-http --port 8765 # http://127.0.0.1:8765/mcp
Tools
| Tool | What it does |
|---|---|
search_papers(query, from_date, max_results=12, sources=None) |
Searches all five sources at once and returns one deduplicated list (a preprint and its published version merge). Start here. |
search_openalex / search_pubmed / search_europepmc / search_biorxiv / search_arxiv |
One source each |
get_paper_details(identifier) |
Full metadata and abstract for a DOI, PMID, arXiv id or paper URL (bioRxiv DOIs also report published_doi) |
get_paper_fulltext(identifier) |
Open full-text excerpts (results, methods, discussion, tables, code/data links) from arXiv, PMC/Europe PMC or Unpaywall |
Paper records include title, authors, venue and venue type, date, DOI/URL, abstract, citation count, FWCI, first- and senior-author h-index (OpenAlex), preprint status, and the sources that returned each paper.
Configure a client
Most clients take the same entry; this is Claude Desktop's claude_desktop_config.json, and Cursor, Windsurf and Gemini CLI use the same mcpServers block:
{
"mcpServers": {
"paper-sources": {
"command": "uvx",
"args": ["paper-sources-mcp"],
"env": { "NCBI_API_KEY": "optional", "UNPAYWALL_EMAIL": "you@example.org" }
}
}
}
- Claude Code:
claude mcp add paper-sources -- uvx paper-sources-mcp - VS Code (
.vscode/mcp.json):{"servers": {"paper-sources": {"type": "stdio", "command": "uvx", "args": ["paper-sources-mcp"]}}} - Codex CLI (
~/.codex/config.toml):[mcp_servers.paper-sources]withcommand = "uvx"andargs = ["paper-sources-mcp"] - Without uv:
pip install paper-sources-mcp, then usepaper-sources-mcpas the command.
More clients, HTTP mode and agent-code examples (MCP SDK, Google ADK, LangChain): full guide.
Optional environment variables
| Variable | Effect |
|---|---|
OPENALEX_API_KEY |
Your own OpenAlex daily budget (keyless requests share a small per-IP budget) |
OPENALEX_MAILTO |
Contact email for OpenAlex's polite pool |
NCBI_API_KEY |
PubMed/PMC at 10 requests/s instead of 3 |
UNPAYWALL_EMAIL |
Enables legal open-access copies via Unpaywall in get_paper_fulltext |
LC_BIORXIV_S3=1 + AWS credentials |
Experimental bioRxiv full text from its requester-pays S3 buckets; install with paper-sources-mcp[s3] |
Pass them through your client's env setting, or use --env-file path/to/.env. Variables that are already set take precedence over the file.
HTTP modes bind to 127.0.0.1 by default. The server has no authentication, so bind it publicly only behind your own access control.
Part of Paper Triage, a literature-review agent.
MIT licensed. See LICENSE.
Metadata
Release files for paper-sources-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| paper_sources_mcp-0.1.0.tar.gz | 23.8 kB | Without provenance | Details for paper_sources_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| paper_sources_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for paper_sources_mcp-0.1.0-py3-none-any.whl |
Total release size: 48.1 kB
Release files / paper_sources_mcp-0.1.0.tar.gz
| Download URL | paper_sources_mcp-0.1.0.tar.gz |
|---|---|
| Size | 23.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfa0f602b96d17a2cd452d79cc85ad883abf4342346e7fa8e65534ba8626a726
|
|
BLAKE2b-256 checksum How to use checksums |
6666170fb5a658a3f5e6804c09034c95e0c34abf7386f195f5cc7343df0d5baf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / paper_sources_mcp-0.1.0-py3-none-any.whl
| Download URL | paper_sources_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 24.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af31a1d108a5bd369cf54140ad43b50366e292c42764dcf45a7f997261fc2160
|
|
BLAKE2b-256 checksum How to use checksums |
42a320286453bf218d99ff14e254d8a86687f4fc420187cf746cac711d995216
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for paper-sources-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.