D

Data Aggregator MCP

by musharna · io.github.musharna/data-aggregator-mcp

Searches and fetches research datasets across Zenodo, DataCite (Dryad/Figshare/Dataverse/OSF), NCBI omics archives (GEO/SRA/BioProject), and the literature (PubMed/OpenAIRE) through one normalized model — deduplicating by DOI, expanding organism queries with NCBI Taxonomy synonyms, and bridging papers to the datasets they produced. Resolves citations and open-access full text, and downloads files.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-musharna-data-aggregator-mcp": {
      "command": "uvx",
      "args": [
        "data-aggregator-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<YOUR_VALUE>",
        "LLM_API_BASE": "<VALUE>",
        "LLM_API_KEY": "<YOUR_VALUE>",
        "LLM_MODEL": "<VALUE>",
        "EMBEDDING_API_BASE": "<VALUE>",
        "EMBEDDING_API_KEY": "<YOUR_VALUE>",
        "EMBEDDING_MODEL": "<VALUE>",
        "DATA_GOV_API_KEY": "<YOUR_VALUE>",
        "UNPAYWALL_EMAIL": "<VALUE>",
        "NCBI_EMAIL": "<VALUE>",
        "DATAVERSE_BASE_URL": "<VALUE>",
        "CACHE_TTL_SECONDS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
NCBI_API_KEY secret No Raises the NCBI E-utilities rate limit (3 → 10 req/s) used by the omics, literature, and taxonomy lookups.
LLM_API_BASE No Base URL of an OpenAI-compatible /chat/completions endpoint; enables search(understand=true) and search(multi_query=true).
LLM_API_KEY secret No Bearer token for the LLM endpoint (LLM_API_BASE); omit for keyless local servers.
LLM_MODEL No Model name passed to the LLM endpoint (default: gpt-4o-mini); set to whatever your endpoint serves.
EMBEDDING_API_BASE No Base URL of an OpenAI-compatible /embeddings endpoint; enables search(rank=semantic) re-ranking.
EMBEDDING_API_KEY secret No Bearer token for the embeddings endpoint (EMBEDDING_API_BASE); omit for keyless local servers.
EMBEDDING_MODEL No Model name passed to the embeddings endpoint (default: text-embedding-3-small).
DATA_GOV_API_KEY secret No Optional api.data.gov key for the data.gov source; without it requests fall back to the shared public DEMO_KEY, which is aggressively rate-limited.
UNPAYWALL_EMAIL No Enables the Unpaywall fallback leg of literature full-text retrieval.
NCBI_EMAIL No Contact address sent to NCBI's ID converter; falls back to UNPAYWALL_EMAIL when unset.
DATAVERSE_BASE_URL No Resolve Dataverse DOIs against a different installation (default: https://dataverse.harvard.edu).
CACHE_TTL_SECONDS No Resolve-cache lifetime in seconds (default: 3600); an unparseable value falls back to the default.

Similar servers