Skip to main content
Glama

Zenodo MCP Server

Python CI License: MIT

An official Model Context Protocol (MCP) server for discovering, retrieving, citing, and evaluating scientific records from the Zenodo repository. This server enables AI agents (like Claude, Cursor, GitHub Copilot, Windsurf) to find open science data, verify licensing, explore versions, construct citations, and reason over research bundles natively.

Quick Start

1. Guided Setup (Zero Install with uv)

The fastest way to get started is using uvx (the package runner from uv):

uvx zenodo-mcp --setup

The interactive wizard will automatically detect installed MCP clients (Claude Desktop, Cursor, OpenCode, VS Code, Windsurf, etc.), guide you through optional Zenodo API token setup, and write the necessary JSON configuration files for you.

2. Alternative Installation

If you don't have uv installed, you can install the package globally using pip:

# Install package
pip install zenodo-mcp

# Launch guided setup
zenodo-mcp --setup

Related MCP server: scholar-toolkit-mcp

Features & Available Tools

The server exposes 17 MCP tools categorized into Core, Advanced, and AI-Native:

Core Tools

  • search_records: Search Zenodo records using full Elasticsearch syntax.

  • search_by_community: Filter and search records inside a specific community (e.g. cern).

  • search_by_funder: Search for records funded by a grant agency (e.g. NSF, EC).

  • get_record: Retrieve complete metadata, abstracts, statistics, and authors.

  • list_files: List files associated with a record, returning direct download URLs (fully read-only, safe, no disk writes).

  • related_records: Extract related record IDs grouped by connection type.

  • resolve_doi: Resolve a DOI or DOI URL to its metadata record.

  • cite_record: Generate standard citations (APA, MLA, Harvard, Chicago, BibTeX, RIS).

  • export_metadata: Export metadata in JSON, YAML, BibTeX, or RIS formats.

  • latest_version: Fetch the version timeline and latest edition of any record.

Advanced Tools

  • search_by_license: Search for records filtered by SPDX licenses (e.g. MIT, CC-BY-4.0).

  • inspect_license: Retrieve permissions (commercial use, attribution, copyleft, modification) for a given license.

  • compare_records: Perform a side-by-side comparison of two records' sizes, formats, metrics, and dates.

  • recommend_dataset: Rank datasets matching a natural language prompt using metadata quality and downloads metrics.

AI-Native Stretch Tools (Research Helpers)

  • find_training_datasets: Recommend machine learning training datasets based on modality, license terms, and size constraints.

  • generate_data_card: Synthesize an AI-friendly dataset summary card (similar to Hugging Face Data Cards).

  • evaluate_reusability: Grade a dataset's reusability score (0-100) based on FAIR principles.

  • build_research_bundle: Assemble linked paper, dataset, and code assets into a unified reproducibility package.


Configuration Reference

You can configure the server using environment variables or a .env file in the directory where the server is executed:

Environment Variable

Default

Description

ZENODO_API_URL

https://zenodo.org/api

API URL (use https://sandbox.zenodo.org/api for sandbox)

ZENODO_ACCESS_TOKEN

None

Optional token for higher rate limits (100 vs 25 results/page)

CACHE_ENABLED

true

Enables in-memory TTL cache

TRANSPORT

stdio

Transport protocol: stdio (local subprocess) or sse (network)

SSE_HOST

127.0.0.1

Bind address for SSE mode

SSE_PORT

8000

Port for SSE mode

REQUEST_TIMEOUT

30

Network request timeout in seconds

LOG_LEVEL

INFO

Level of logging (outputs to stderr to protect transport channel)


Client Integration Guide

The setup wizard handles this for you, but if you prefer manual configuration, add the following to your client's config file:

Local stdio Mode (Default)

{
  "mcpServers": {
    "zenodo": {
      "command": "zenodo-mcp"
    }
  }
}

Network SSE Mode (e.g., Docker / Remote Host)

{
  "mcpServers": {
    "zenodo": {
      "url": "http://localhost:8000/sse"
    }
  }
}

File Locations:

  • Claude Desktop:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Cursor:

    • Global: ~/.cursor/mcp.json

    • Project: .cursor/mcp.json

  • OpenCode:

    • Global Config: ~/.opencode/mcp.json

    • Windows Path: %USERPROFILE%\.opencode\mcp.json

  • VS Code:

    • ~/.vscode/mcp.json

  • Windsurf:

    • ~/.windsurf/mcp.json

  • Continue.dev:

    • ~/.continue/config.json (inside "mcpServers" block)


Docker Deployment

You can build and run the Zenodo MCP Server as a Docker container.

1. Build the image

docker build -t zenodo-mcp .

2. Run in Local stdio Mode

docker run -i zenodo-mcp

3. Run in SSE Network Mode

docker run -p 8000:8000 zenodo-mcp --transport sse --host 0.0.0.0 --port 8000

Contributing & Development

We use uv for dependency management:

# Clone the repository
git clone https://github.com/Agostynah/Zenodo-mcp.git
cd Zenodo-mcp

# Initialize virtualenv and install dependencies
uv venv
uv pip install -e ".[dev]"

# Run tests
uv run pytest --cov=zenodo_mcp -v

# Run MCP Inspector for interactive debug
npx -y @modelcontextprotocol/inspector uv run zenodo-mcp

License

This project is licensed under the MIT License — see the LICENSE file for details.

Available Tools

18 tools
build_research_bundleA

Assemble a reproducible bundle of related scientific items.

Traverses relationships to group the paper, dataset, source code, and citations into a unified reproducibility package.

Parameters

record_id : int The Zenodo record ID.

Returns

dict Research bundle metadata containing linked items, all citations, and a reproducibility score.

Inputs: record_id (required).

cite_recordA

Generate a citation for a Zenodo record in a given style.

Provide either record_id or doi (not both).

Parameters

record_id : int, optional The Zenodo record ID. doi : str, optional The DOI of the record. style : str Citation style: apa, bibtex, ris, mla, chicago, harvard (default: apa).

Returns

dict Citation text, style used, and DOI.

Inputs: doi, style, record_id.

compare_recordsA

Compare metadata, stats, and sizes of two Zenodo records side-by-side.

Parameters

record_id_a : int First record ID. record_id_b : int Second record ID.

Returns

dict Structured comparison of differences in resource type, license, date, size, stats, and file counts.

Inputs: record_id_a (required), record_id_b (required).

evaluate_reusabilityB

Evaluate and score a Zenodo record's reusability.

Grades license quality, metadata completeness, documentation length, file format openness, and versioning.

Parameters

record_id : int The Zenodo record ID.

Returns

dict Reusability score (0-100), detailed breakdown, and recommendations.

Inputs: record_id (required).

export_metadataA

Export record metadata in a structured format.

Parameters

record_id : int The Zenodo record ID. format : str Output format: json, yaml, bibtex, ris (default: json).

Returns

str Formatted metadata string.

Inputs: record_id (required), format. Returns: result

find_training_datasetsA

Find and evaluate datasets suitable for training ML models.

Parameters

task : str Machine learning task description (e.g. "image classification", "ner"). modality : str, optional Filter by modality: image, text, audio, tabular, video. license_filter : str License requirements: permissive (MIT, Apache, CC-BY, CC0), copyleft (GPL, CC-BY-SA), any. min_size_mb : float, optional Minimum total file size. max_size_mb : float, optional Maximum total file size.

Returns

list[dict] Ranked dataset recommendations tailored for machine learning.

Inputs: task (required), modality, max_size_mb, min_size_mb, +1 more. Returns: result

generate_data_cardA

Produce a concise, structured AI-friendly summary ("data card") of a dataset.

Extracts modality, file formats, license, citations, intended use, and limitations.

Parameters

record_id : int The Zenodo record ID.

Returns

dict Structured data card.

Inputs: record_id (required).

get_recordB

Retrieve complete metadata for a Zenodo record.

Parameters

record_id : int The numeric Zenodo record ID.

Returns

dict Full record metadata including abstract, authors, keywords, license, funding, communities, files, related identifiers, and version info.

Inputs: record_id (required).

inspect_licenseA

Analyze the properties of a license.

Provide either record_id to inspect the record's license, or license_id directly.

Parameters

record_id : int, optional Zenodo record ID to inspect. license_id : str, optional SPDX license identifier (e.g. "MIT").

Returns

dict License info properties (commercial use, open access, attribution, etc.).

Inputs: record_id, license_id.

latest_versionA

Get the latest version and full version timeline of a record.

Parameters

record_id : int Any version's record ID — the tool finds all versions automatically.

Returns

dict Latest version summary, list of all versions with dates and DOIs, and total version count.

Inputs: record_id (required).

list_filesA

List all files in a Zenodo record with metadata and download URLs.

The agent receives URLs and can use them as needed. No files are written to disk by this tool.

Parameters

record_id : int The numeric Zenodo record ID.

Returns

list[dict] List of files with filename, size, type, checksum, and download URL.

Inputs: record_id (required). Returns: result

recommend_datasetA

Provide ranked dataset recommendations for a natural language request.

Finds datasets, processes metadata details, and scores them on completeness, popularity, and documentation.

Parameters

query : str Natural language prompt (e.g. "I need an image dataset for object detection"). page : int Page of results. size : int Number of recommendations.

Returns

list[dict] List of dataset recommendations with matching reasons.

Inputs: query (required), page, size. Returns: result

resolve_doiA

Resolve a DOI to its Zenodo record metadata.

Supports full DOIs (10.5281/zenodo.1234567), DOI URLs (https://doi.org/10.5281/zenodo.1234567), and Zenodo-specific DOI formats.

Parameters

doi : str The DOI to resolve.

Returns

dict Record summary with title, DOI, creators, date, type, license, and URL. Raises an error if the DOI is invalid or not found on Zenodo.

Inputs: doi (required).

search_by_communityA

Search for records within a specific Zenodo community.

Parameters

community : str Community ID (e.g. "zenodo", "openaire", "cern"). query : str, optional Additional search query to filter within the community. sort : str Sort order: "bestmatch" or "mostrecent". page : int Page number. size : int Results per page.

Returns

list[dict] List of matching record summaries.

Inputs: community (required), page, size, sort, +1 more. Returns: result

search_by_funderA

Search for records funded by a specific organization.

Parameters

funder : str Funder name (e.g. "NSF", "European Commission", "NIH"). query : str, optional Additional search query. sort : str Sort order. page : int Page number. size : int Results per page.

Returns

list[dict] List of matching record summaries.

Inputs: funder (required), page, size, sort, +1 more. Returns: result

search_by_licenseA

Find records under a specific license.

Parameters

license : str License identifier (e.g. "MIT", "Apache-2.0", "CC-BY-4.0", "cc0-1.0"). query : str, optional Additional search query parameters. sort : str Sort order. page : int Page number. size : int Results per page.

Returns

list[dict] List of matching record summaries.

Inputs: license (required), page, size, sort, +1 more. Returns: result

search_recordsA

Search Zenodo records with rich filtering.

Parameters

query : str Free-text search query (supports Elasticsearch syntax). communities : str, optional Filter by community ID (e.g. "zenodo", "openaire"). creators : str, optional Filter by creator name. license : str, optional Filter by license (e.g. "MIT", "CC-BY-4.0"). keywords : str, optional Filter by keyword. resource_type : str, optional Filter by type: dataset, publication, software, image, video, lesson, poster, presentation. access_right : str, optional Filter by access: open, closed, embargoed, restricted. date_from : str, optional Start date (YYYY-MM-DD). date_to : str, optional End date (YYYY-MM-DD). sort : str Sort order: "bestmatch" (default) or "mostrecent". page : int Page number (default 1). size : int Results per page (default 10, max 100).

Returns

list[dict] List of record summaries with title, DOI, creators, date, type, license, and URL.

Inputs: query (required), page, size, sort, +8 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but there is slight overlap between search_records and the specialized search_by_* tools, and between recommend_dataset and find_training_datasets. However, detailed parameters and descriptions mitigate confusion.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern in snake_case, such as build_research_bundle, cite_record, or search_by_community. No mixing of conventions or irregular names.

    Tool Count4/5

    18 tools is on the higher end but appropriate for the broad domain of Zenodo record analysis and discovery. Each tool serves a distinct function; the count does not feel excessive.

    Completeness3/5

    The tool surface covers search, retrieval, citation, comparison, and analysis, but lacks write operations (create, update, delete). For a purely analytical server this might be acceptable, but it limits full lifecycle support.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      A comprehensive MCP server for interacting with Zenodo records, enabling search, retrieval, citation generation, and file downloads.
      5
      6
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Comprehensive MCP server for academic research workflows, enabling paper searching across multiple sources, manuscript processing with citation placeholders, search caching, and citation export.
      11
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server for academic literature research that integrates Scopus, CrossRef, OpenAlex, and Unpaywall to search documents, get abstracts, author profiles, citing papers, and open-access PDF links.
      9
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A unified MCP server for academic paper discovery, citation exploration, and research intelligence workflows over multiple scientific knowledge sources.
      7
      1
      MIT