literature-discovery-mcp
Private MCP server for scholarly literature discovery. It covers the discovery/metadata side of the LIST literature-search workflow and intentionally delegates web-page/PDF crawling to an external fetch_url MCP.
Capabilities
- arXiv discovery:
search_arxiv_papersget_arxiv_papersearch_arxiv_by_authorsearch_arxiv_by_categoryget_arxiv_urls
- Semantic Scholar discovery:
search_semantic_scholar_papersget_paper_metadataget_paper_citationsget_paper_referencesget_related_paperssearch_authorsget_author
- Citation export:
get_bibtex
Returned arXiv and Semantic Scholar search records use a normalized schema with fields such as:
{
"id": "arXiv:2402.03300",
"source": "arxiv",
"title": "...",
"authors": ["..."],
"year": 2024,
"abstract": "...",
"url": "https://arxiv.org/abs/...",
"html_url": "https://arxiv.org/html/...",
"pdf_url": "https://arxiv.org/pdf/...",
"doi": "...",
"citation_count": 42,
"access": "abstract_only",
"caveats": []
}
Use your external fetch_url MCP with url, html_url, or pdf_url to retrieve full pages or PDFs.
Install and run
uv sync
uv run literature-discovery-mcp
MCP client configuration example:
mcp_servers:
literature_discovery:
command: "uvx"
args: ["--from", "git+https://github.com/pidgeos/literature-discovery-mcp.git", "literature-discovery-mcp"]
env:
SEMANTIC_SCHOLAR_API_KEY: "optional-key"
For local development:
mcp_servers:
literature_discovery:
command: "uv"
args: ["--directory", "/path/to/literature-discovery-mcp", "run", "literature-discovery-mcp"]
Configuration
SEMANTIC_SCHOLAR_API_KEY/S2_API_KEY: optional Semantic Scholar API key.ARXIV_RATE_LIMIT_RPS: default0.33to respect arXiv's courtesy limit.SEMANTIC_SCHOLAR_RATE_LIMIT_RPS/S2_RATE_LIMIT_RPS: default1.0.ARXIV_PAGE_SIZE: default100.SEMANTIC_SCHOLAR_TIMEOUT/S2_TIMEOUT: default30seconds.LITERATURE_MAX_ATTEMPTS: default3.LITERATURE_RETRY_BACKOFF_SECONDS: default1.0.
Rate limits are process-local, not distributed across multiple MCP processes.
Local quality gates
uv lock --check
uv sync --locked --dev
uv run ruff format --check .
uv run ruff check .
uv run coverage run -m pytest -q
uv run coverage report --fail-under=95
uv build
Metadata
Release files for literature-discovery-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 |
|---|---|---|---|---|
| literature_discovery_mcp-0.1.0.tar.gz | 10.0 kB | Without provenance | Details for literature_discovery_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| literature_discovery_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for literature_discovery_mcp-0.1.0-py3-none-any.whl |
Total release size: 24.2 kB
Release files / literature_discovery_mcp-0.1.0.tar.gz
| Download URL | literature_discovery_mcp-0.1.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39fdd7837336339405001e7e2dfcfe0e5d78abc4be91a5839652faa8f990b621
|
|
BLAKE2b-256 checksum How to use checksums |
e3fd1a3d210515bc669cb17a91dc38104850155fb0ec0e89706d3d237ba5dc5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / literature_discovery_mcp-0.1.0-py3-none-any.whl
| Download URL | literature_discovery_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4d6e7a3901b026fd2caf44f85977817f7390e63557dd5ea52580837402b3267
|
|
BLAKE2b-256 checksum How to use checksums |
b282338b1edd09117c0286cbcbbd97c3001a1bf4d5dbc677b6f112f70a634f1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for literature-discovery-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.