0C

0xreisearch/crypto-mcp-beta

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

10 stars 4 forks 质量 65 趋势 18MIT

FastMCP implementation of the in-house MCP servers used by Units of the Rei Network. You can use them without providing API keys at app.reisearch.

概览

FastMCP implementation of the in-house MCP servers used by Units of the Rei Network. You can use them without providing API keys at app.reisearch.box or you can use them with other MCP clients deploying them yourself. Everything is to be considered still in beta. Expect things to be added or changed with no warnings. - DefiLlama Pro API - CoinGecko Pro API - Arkham Intelligence API - Elfa AI API - Codex API Codex at the moment is just used for searching a contract address from the name. Deeper implementation will come in the near future. Codex uses GraphQL for it's query system. Edit the query to hardcode some parameters in case you need stricter filtering. - Python 3.12 - uv package manager - API keys for the services you plan to use 2. Install uv (if not already installed): 3. Create and activate a virtual environment with uv: 4. Install dependencies from pyproject.toml:

README

以下为原文 README 节选,完整内容请查看原文。

REI Crypto MCP Server - Beta

FastMCP implementation of the in-house MCP servers used by Units of the Rei Network. You can use them without providing API keys at app.reisearch.box or you can use them with other MCP clients deploying them yourself.

Everything is to be considered still in beta. Expect things to be added or changed with no warnings.

Current MCP servers:

  • DefiLlama Pro API
  • CoinGecko Pro API
  • Arkham Intelligence API
  • Elfa AI API
  • Codex API

Codex at the moment is just used for searching a contract address from the name. Deeper implementation will come in the near future. Codex uses GraphQL for it’s query system. Edit the query to hardcode some parameters in case you need stricter filtering.

Prerequisites

  • Python 3.12
  • uv package manager
  • API keys for the services you plan to use

Installation

  1. Clone the repository:
git clone https://github.com/0xReisearch/crypto-mcp-beta
cd crypto-mcp-beta
  1. Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Create and activate a virtual environment with uv:
uv venv
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate  # On Windows
  1. Install dependencies from pyproject.toml:
uv pip install .
  1. Set up your environment variables:
cp .env_example .env

Edit .env with your API keys:

ARKHAM_API_KEY=
CG_API_KEY=
DEFILLAMA_API_KEY=
CODEX_API_KEY=
ELFA_API_KEY=

Running the Servers

You can run each server individually:

# 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

Configuring Claude Desktop

To use these servers with Claude Desktop, you need to configure the claude_desktop_config.json file. This file is typically located in:

  • 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

Example configuration:

{
    "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",
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "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" ] } } }