zenodo-mcp

zenodo-mcp

An MCP server for discovering, retrieving, citing, and evaluating scientific records from the Zenodo repository.

Category
访问服务器

README

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

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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选