REI加密货币分析
STDIOREI网络加密API的MCP服务器实现
REI网络加密API的MCP服务器实现
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.
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.
uv
package managergit clone https://github.com/0xReisearch/crypto-mcp-beta cd crypto-mcp-beta
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On Windows
uv pip install .
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>
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
To use these servers with Claude Desktop, you need to configure the claude_desktop_config.json
file. This file is typically located in:
%APPDATA%/claude-desktop/claude_desktop_config.json
~/Library/Application Support/claude-desktop/claude_desktop_config.json
~/.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)If you encounter any issues or have suggestions for improvements:
Made with ❤️ by Rei Network