crypto mcp beta
FastMCP implementation providing API access to DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence for crypto data retrieval without requiring users to manage individual API keys.
FastMCP implementation providing API access to DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence for crypto data retrieval without requiring users to manage individual API keys.
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.
uv
package managerClone the repository:
git clone https://github.com/0xReisearch/crypto-mcp-beta
cd crypto-mcp-beta
Install uv (if not already installed):
curl -LsSf https://astral.sh/uv/install.sh | sh
Create and activate a virtual environment with uv:
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venvScriptsactivate # On Windows
Install dependencies from pyproject.toml:
uv pip install .
Set up your environment variables:
cp .env_example .env
Edit .env
with your API keys:
DEFILLAMA_API_KEY=your_defillama_api_key
CG_API_KEY=your_coingecko_api_key
ARKHAM_API_KEY=your_arkham_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
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"
]
}
}
}
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:
MIT License
Copyright (c) 2025
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Made with ❤️ by Rei Network