RootData MCP Server
Query cryptocurrency and blockchain project data from the RootData API.
RootData MCP Server
Introduction
这是一个基于 Model Context Protocol (MCP) 的服务器,用于集成 RootData API,提供加密货币和区块链项目的数据查询功能。
它允许 Claude 和其他 AI 助手通过 MCP 接口直接获取项目信息、机构详情和搜索结果。
Available Tools
本服务器提供以下 MCP 工具:
- search: 根据关键词搜索项目/VC/人物的简要信息
- get_project: 根据项目 ID 获取项目的详细信息
- get_organization: 根据机构 ID 获取风投机构的详细信息
Setup
Prerequisites
- Python 3.10 或更高版本
- uv 包管理器(推荐)
Installation
- 克隆此仓库:
git clone https://github.com/jincai/rootdata-mcp-server
cd rootdata-mcp-server
- 如果你还没有安装 uv,可以安装它:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
curl -LsSf https://astral.sh/uv/install.ps1 | powershell
- 安装依赖:
# 创建虚拟环境并激活
uv venv
source .venv/bin/activate # Windows 上: .venv\Scripts\activate
# 安装依赖
uv add "mcp[cli]" httpx python-dotenv
- 设置环境变量:
# 创建 .env 文件存储 API 密钥
cp .env.example .env
# 在 .env 文件中设置 API 密钥
ROOTDATA_API_KEY=your-rootdata-api-key
- 运行服务器:
uv run server.py
Connecting to Claude Desktop
-
安装 Claude Desktop(如果你还没有安装)
-
创建或编辑 Claude Desktop 配置文件:
# macOS
mkdir -p ~/Library/Application\ Support/Claude/
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
- 添加以下配置:
{
"mcpServers": {
"rootdata": {
"command": "/path/to/uv",
"args": [
"--directory",
"/absolute/path/to/rootdata-mcp-server",
"run",
"server.py"
]
}
}
}
将 /path/to/uv 替换为 which uv 的结果,将 /absolute/path/to/rootdata-mcp-server 替换为此项目的绝对路径。
-
重启 Claude Desktop
-
现在你应该能在 Claude Desktop 的工具菜单(锤子图标)中看到 RootData 工具
-
尝试向 Claude 提问,例如:
- "搜索以太坊相关的项目"
- "获取项目 ID 为 12 的详细信息"
- "查询机构 ID 为 219 的风投机构信息"
License
MIT
関連サーバー
Astro MCP
A modular server providing unified access to multiple astronomical datasets, including astroquery services and DESI data sources.
SQL Server for MySQL, PostgreSQL, and SQLite
A server for making queries to MySQL, PostgreSQL, and SQLite databases.
MCP PostgreSQL Server
A server that enables AI models to interact with PostgreSQL databases through a standardized interface.
Fantasy Premier League
Access Fantasy Premier League (FPL) data and tools, including player information, team details, and gameweek data.
OData MCP Bridge (Go)
A Go bridge providing universal access to OData v2 services through MCP tools, with support for multiple authentication methods.
Outreach.io by CData
A read-only MCP server for querying live data from Outreach.io using the CData JDBC Driver.
Couchbase
Interact with the data stored in Couchbase clusters using natural language.
IQ.wiki
Access data and information from IQ.wiki, the world's largest crypto and blockchain encyclopedia.
CouchDB MCP Server
A server for interacting with CouchDB databases.
MCP Postgres Query Server
An MCP server for querying a PostgreSQL database in read-only mode.