The REI Crypto MCP Server provides an interface to access comprehensive crypto-related APIs for data analysis across multiple sectors:
DeFi Data: Access TVL, protocol details, historical liquidity, emissions, token breakdowns, and categories
Stablecoins: Retrieve dominance metrics, circulating amounts, historical market cap, and chain distributions
Yields: Get yield pools, historical APY, borrow costs, perpetuals funding rates, and LSD rates
Bridges: View bridge volumes, transactions, summaries, and daily statistics
Derivatives: Query volumes, summaries, and historical data for derivative protocols
Prices: Fetch current and historical token prices, charts, and percentage changes
DEX: Analyze volumes and historical data for decentralized exchanges and options protocols
ETFs: Access metrics, historical AUM, and overviews for BTC and ETH ETFs
Protocol Fees: Get summaries of protocol fees and revenue with historical data
User Data: Retrieve active users and user-specific data by protocol
Miscellaneous: Access data for oracles, hacks, raises, treasuries, entities, and blockchain blocks
Handles environment variable management for storing API keys for the various crypto services.
Provides access to the in-house MCP servers used by Units of the Rei Network through a GitHub repository.
Used by the Codex API integration for its query system, allowing for contract address searches and parameter filtering.
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.
Related MCP server: FastMCP
Prerequisites
Python 3.12
uvpackage managerAPI keys for the services you plan to use
Installation
Clone the repository:
Install uv (if not already installed):
Create and activate a virtual environment with uv:
Install dependencies from pyproject.toml:
Set up your environment variables:
Edit .env with your API keys:
Running the Servers
You can run each server individually:
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.jsonmacOS:
~/Library/Application Support/claude-desktop/claude_desktop_config.jsonLinux:
~/.config/claude-desktop/claude_desktop_config.json
Example configuration:
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/uvon Unix systems)
API Documentation
Elfa AI Api Documentation - Contact Elfa directly for api access.
Arkham Intelligence - You need to contact Arkham directly for api access.
Feedback
If you encounter any issues or have suggestions for improvements:
For bug reports or feature requests, please open an issue in this repository
For general feedback or questions, you can leave a comment in the repository discussions
Made with ❤️ by Rei Network