data-aggregator-mcp
Integrates with Figshare via DataCite for discovering and downloading research outputs, including md5 checksum verification.
Provides discovery of Mendeley records through DataCite integration, though fetching is not supported.
Supports search and file retrieval from OSF via DataCite, with md5 verification on downloads.
Enables searching PubMed articles and resolving them to open-access full text, with citation and cross-links to related data.
Enables searching for datasets and files on Zenodo, with support for fetching and checksum verification.
π data-aggregator-mcp
One MCP server to find and fetch research data across archives, omics registries, and literature β behind a single normalized model.
search one query across Zenodo, DataCite (Dryad / Figshare / Dataverse /
OSF / Mendeley), NCBI omics (GEO / SRA / BioProject), and literature
(PubMed / OpenAIRE) β deduplicated, normalized, and cross-linked. resolve any
hit to its file manifest, citation, and the data it points at. fetch it to
disk with checksum verification.
mcp-name: io.github.musharna/data-aggregator-mcp
β¨ Why this
Most data MCPs wrap a single source. This one unifies them behind four tools
and one DataResource model, so an agent searches once and gets back comparable
records:
Multi-domain, one model β generalist archives + raw omics + literature, deduplicated by DOI (the fetchable record wins over bare metadata).
Taxonomy synonym expansion β
organism="Orobanche aegyptiaca"also matchesPhelipanche aegyptiaca(NCBI Taxonomy), so a species rename doesn't cost you results.Paper β data bridge β resolve a paper and get links to the GEO / SRA / BioProject / DataCite records it produced.
Verified fetch β streams to disk with md5 verification where the source exposes a checksum, optional archive unpacking, and a fail-loud integrity sniff that rejects an HTML paywall page served as a "PDF".
Citations, access & full text β render a citation in any CSL style, get normalized access/license, and pull open-access full text β all in one
resolve.
β‘ Quickstart
Run with no install:
uvx data-aggregator-mcpRegister with Claude Code:
claude mcp add data-aggregator -- uvx data-aggregator-mcpA typical agent flow:
search("drought stress RNA-seq", organism="Sorghum bicolor")
β [ geo:GSE..., sra:SRX..., zenodo:..., pubmed:... ] # deduped, taxa-normalized
resolve("sra:SRX079566")
β DataResource{ files: [ENA FASTQ urlsβ¦], access: "open", taxa: [...] }
fetch("sra:SRX079566", dest="./data")
β ["./data/SRX079566_1.fastq.gz", β¦] # md5-verifiedpip install data-aggregator-mcp
data-aggregator-mcp # or: python -m data_aggregator_mcpAdd to a client's MCP config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"data-aggregator": {
"command": "uvx",
"args": ["data-aggregator-mcp"],
"env": { "NCBI_API_KEY": "your-optional-key" }
}
}
}ποΈ Sources
Source | Discover | Fetch | Checksum |
Zenodo | β | β | md5 |
DataCite β Figshare | β | β | md5 |
DataCite β Dataverse | β | β | md5 |
DataCite β OSF | β | β | md5 |
DataCite β Dryad | β | manifest onlyΒΉ | sha-256 (listed) |
DataCite β Mendeley & others | β | β | β |
NCBI SRA | β | β (ENA FASTQ) | md5 |
NCBI GEO | β | β
( | noneΒ² |
NCBI BioProject | β | β SRA links | β |
PubMed / OpenAIRE | β | β (OA full text) | noneΒ² |
ΒΉ Dryad downloads are token / bot-challenge gated, so fetch fails loud;
resolve still lists the files.
Β² No upstream checksum β fetch verifies content-type instead (rejects an HTML
page served in place of a binary).
π οΈ Tools
search(query, size?, sources?, organism?)
Fan out across all wired sources in parallel and return compact DataResource
records, deduped by DOI. Per-source failures land in errors{} β never silently
dropped.
organismβ expand the query with NCBI-Taxonomy synonyms; the expansion is echoed intaxon_expansion, and results carry normalizedtaxa[]({taxid, name}) plus adescribed_inlink to plant-genomics-mcp for plant taxa.sourcesβ restrict the fan-out, e.g.["omics"].sizeβ max results (1β50).
resolve(id)
Full record + files manifest. Routes by id shape β zenodo:7654321, a bare DOI,
datacite:10.5061/dryad.x, an omics id (sra:SRX079566, geo:GSE332789,
bioproject:PRJNA1468572), or a literature id (pubmed:34320281,
openaire:<id>). Attaches, where available:
files[]β ENA FASTQ manifest (SRA), GEOsuppl/, or the host repo's native manifest (Figshare / Dataverse / OSF / Dryad).links[]β paper β data:pubmed:βsra:/geo:/bioproject:(NCBI elink);openaire:βdatacite:(ScholeXplorer Scholix).access/licenseβ normalized status (open/embargoed/restricted/closed/unknown) and license where the source exposes it.identifiersβ normalized{pmid, pmcid, doi}, plus an open-access full-textFileEntry(EuropePMC XML, or an Unpaywall PDF fallback) for papers.citationβ passcite=<format>:bibtex,ris,csl-json, or any CSL style name (apa,mla,vancouver, β¦). DOI records use content negotiation; others render CSL-JSON from metadata. Off by default; failures degrade quietly.
fetch(id, dest?, files?, max_bytes?, force?, extract?)
Download files to disk and return their paths. Streams under a max_bytes guard
(force to override) with md5 verification wherever a checksum exists.
filesβ restrict to a subset of the resolved manifest.extractβ unpack downloaded zip / tar archives in place, guarded against path traversal and runaway extracted size. Off by default.Unverified fetches (GEO
suppl/, literature full text) get a content-type sniff that fails loud if a declared binary is actually an HTML page.Fetchable: Zenodo, SRA, GEO, DataCite-hosted Figshare / Dataverse / OSF, and literature open-access full text. Dryad and other DataCite repos are discovery-only and raise
FetchNotSupportedError.
list_sources()
Wired sources with their capabilities β layer, kinds, supported filters, fetchability, id examples, auth, and rate limits.
βοΈ Configuration
Both optional, set via environment variables:
NCBI_API_KEYβ raises the NCBI E-utilities rate limit (3 β 10 req/s) used by the omics, literature, and taxonomy lookups.UNPAYWALL_EMAILβ enables the Unpaywall fallback leg of literature full-text retrieval (the EuropePMC leg works without it).
π§ͺ Develop
uv venv && uv pip install -e ".[dev]"
uv run pytest -q
uv run ruff check src tests
DATA_AGGREGATOR_MCP_LIVE=1 uv run pytest -k live -q # real-API probesThe README demo (examples/assets/demo.svg) is recorded network-free from
examples/_demo_stdio.py β see the header of that file to re-record.
License
MIT β see LICENSE.
Maintenance
Tools
Latest Blog Posts
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/musharna/data-aggregator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server