icon for mcp server

REI Crypto Analytics

STDIO

FastMCP implementation of in-house MCP servers for the Rei Network crypto APIs.

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=<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>

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

Replace the following:

  • user@your-host: Your SSH username and host
  • /path/to/crypto_mcp: The absolute path to where you cloned this repository
  • /path/to/uv: The absolute path to your uv installation (usually in ~/.local/bin/uv on Unix systems)

API Documentation

Feedback

If you encounter any issues or have suggestions for improvements:

  1. For bug reports or feature requests, please open an issue in this repository
  2. For general feedback or questions, you can leave a comment in the repository discussions

Made with ❤️ by Rei Network

Be the First to Experience MCP Now