Provide real-time cryptocurrency price data and market analysis.
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Supports both STDIO and Streamable HTTP transports.
COINCAP_API_KEY is required (free tier available at pro.coincap.io/dashboard)Add this configuration to your Claude Desktop config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.json{
"mcpServers": {
"mcp-crypto-price": {
"command": "npx",
"args": ["-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}If your MCP client requires launching via cmd.exe on Windows:
{
"mcpServers": {
"mcp-crypto-price": {
"command": "cmd",
"args": ["/c", "npx", "-y", "mcp-crypto-price"],
"env": {
"COINCAP_API_KEY": "YOUR_API_KEY_HERE"
}
}
}
}You can run the server over HTTP for environments that support MCP over HTTP streaming.
npm run dev# Build (outputs to dist/)
npm run build
# Start the HTTP server
npm run start:http# Build (outputs to dist/)
npm run build
# Start the STDIO server
npm run start:stdioThe server listens on port 3000 by default (override with PORT). For clients that connect over HTTP (e.g. Smithery, Claude.ai), pass your API key as a query parameter:
http://localhost:3000/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE
For remote deployments:
https://mcp-crypto-price.codemonkeyinnovations.com/mcp?COINCAP_API_KEY=YOUR_API_KEY_HERE
This server uses the CoinCap v3 API, which requires an API key. A free tier is available.
COINCAP_API_KEY environment variable (see Usage examples above)COINCAP_API_KEY query parameter in the connection URL (e.g. /mcp?COINCAP_API_KEY=your_key)Without a valid API key, all tools will return an error with instructions on how to obtain one.
This MCP server works directly via npx (configs above) and does not require Smithery.
If you do use the Smithery CLI, authenticate with smithery auth login or by setting SMITHERY_API_KEY in your environment. Recent versions of the Smithery CLI do not support passing API keys via --key (or older --profile patterns).
Launch Claude Desktop to start using the crypto analysis tools.
This repository requires Verified (cryptographically signed) commits. CI also includes a job (Verify commit signatures) that fails PRs with unsigned commits.
# Generate a new ed25519 SSH key (no passphrase makes CI easier)
ssh-keygen -t ed25519 -C "CI signing key for mcp-crypto-price" -f ~/.ssh/id_ed25519 -N ''
# Your keys will be at:
# Private: ~/.ssh/id_ed25519
# Public : ~/.ssh/id_ed25519.pubgit config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true
# Example signed commit
git commit -S -m 'feat: add something'~/.ssh/id_ed25519.pubGets current price and 24h stats for any cryptocurrency, including:
Provides detailed market analysis including:
Analyzes historical price data with:
Lists top cryptocurrencies ranked by market cap, including:
This project was inspired by Alex Andru's coincap-mcp project.
This project is licensed under the MIT License