Skip to main content
Glama

REI Crypto MCP Server

by 0xReisearch

REI Crypto MCP 服务器 - 测试版

Rei Network 各单位使用的内部 MCP 服务器的 FastMCP 实现。您可以在 app.reisearch.box 上直接使用它们,无需提供 API 密钥,也可以与其他自行部署的 MCP 客户端一起使用。

所有功能都处于测试阶段。预计会在没有任何预警的情况下添加或更改内容。

当前 MCP 服务器:

  • DefiLlama Pro API

  • CoinGecko Pro API

  • 阿卡姆情报 API

  • 艾尔法人工智能 API

  • Codex API

Codex 目前仅用于根据名称搜索合约地址。更深入的实现将在不久的将来推出。Codex 使用 GraphQL 作为其查询系统。如果您需要更严格的过滤,请编辑查询以硬编码某些参数。

Related MCP server: FastMCP

先决条件

  • Python 3.12

  • uv包管理器

  • 您计划使用的服务的 API 密钥

安装

  1. 克隆存储库:

git clone https://github.com/0xReisearch/crypto-mcp-beta cd crypto-mcp-beta
  1. 安装 uv(如果尚未安装):

curl -LsSf https://astral.sh/uv/install.sh | sh
  1. 使用 uv 创建并激活虚拟环境:

uv venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On Windows
  1. 从 pyproject.toml 安装依赖项:

uv pip install .
  1. 设置环境变量:

cp .env_example .env

使用您的 API 密钥编辑.env

ARKHAM_API_KEY=<YOUR ARKHAM_API_KEY> CG_API_KEY=<YOUR_CG_API_KEY> DEFILLAMA_API_KEY=<YOUR_DEFILLAMA_API_KEY> CODEX_API_KEY=<YOUR_CODEX_API_KEY> ELFA_API_KEY=<YOUR_ELFA_API_KEY>

运行服务器

您可以单独运行每个服务器:

# Run DefiLlama server uv run defillama_server.py # Run CoinGecko server uv run cg_server.py # Run Arkham server uv run arkham_server.py # Run Codex server uv run codex_server.py # Run Elfa AI server uv run elfa_server.py

配置 Claude 桌面

要将这些服务器与 Claude Desktop 一起使用,您需要配置claude_desktop_config.json文件。此文件通常位于:

  • Windows: %APPDATA%/claude-desktop/claude_desktop_config.json

  • macOS: ~/Library/Application Support/claude-desktop/claude_desktop_config.json

  • Linux: ~/.config/claude-desktop/claude_desktop_config.json

示例配置:

{ "mcpServers": { "arkham": { "command": "ssh", "args": [ "user@your-host", "cd /path/to/crypto_mcp && /path/to/uv run arkham_server.py" ] }, "coingecko": { "command": "ssh", "args": [ "user@your-host", "cd /path/to/crypto_mcp && /path/to/uv run cg_server.py" ] }, "defillama": { "command": "ssh", "args": [ "user@your-host", "cd /path/to/crypto_mcp && /path/to/uv run defillama_server.py" ] }, "codex": { "command": "ssh", "args": [ "user@your-host", "cd /path/to/crypto_mcp && /path/to/uv run codex_server.py" ] }, "elfa": { "command": "ssh", "args": [ "user@your-host", "cd /path/to/crypto_mcp && /path/to/uv run elfa_server.py" ] } } }

替换以下内容:

  • user@your-host :您的 SSH 用户名和主机

  • /path/to/crypto_mcp :克隆此存储库的绝对路径

  • /path/to/uv :uv 安装的绝对路径(在 Unix 系统上通常位于~/.local/bin/uv中)

API 文档

反馈

如果您遇到任何问题或有改进建议:

  1. 对于错误报告或功能请求,请在此存储库中打开一个问题

  2. 对于一般反馈或问题,您可以在存储库讨论中发表评论

Rei Network倾情打造

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/0xReisearch/crypto-mcp-beta'

If you have feedback or need assistance with the MCP directory API, please join our Discord server