The Crypto Price & Market Analysis MCP Server provides comprehensive cryptocurrency analysis using the CoinCap API, offering:
Get current price and 24h stats: Retrieve current price, 24-hour price change, trading volume, market cap, and rank for any cryptocurrency.
Get detailed market analysis: Analyze top exchanges by volume, price variations, volume distribution, and VWAP.
Get historical price analysis: Access customizable historical price data (5min to 1 day intervals) for up to 30 days, including trend analysis, volatility metrics, and high/low price ranges.
Requires a cryptocurrency symbol for all analysis types. For historical analysis, you can specify the number of days (default 7) and interval (default h1).
Provides real-time price data, 24-hour stats, market analysis, and historical price trends for Bitcoin and other cryptocurrencies through the CoinCap API.
Allows installation and execution of the MCP server using npm packages, with download statistics tracked through NPM.
Displays badge information about npm downloads using the Shields.io service.
Crypto Price & Market Analysis MCP Server
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.
What's New
Streamable HTTP transport added (while keeping STDIO compatibility)
Release workflow signs commits via SSH for Verified releases
Smithery CLI scripts to build and run the HTTP server
Related MCP server: mcp-coincap-jj
Usage
Add this configuration to your Claude Desktop config file:
MacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%/Claude/claude_desktop_config.json
Run as Streamable HTTP server
You can run the server over HTTP for environments that support MCP over HTTP streaming.
Dev server (recommended during development):
Build and run the HTTP server:
Build and run the STDIO server:
The dev/build commands will print the server address to the console. Use that URL in clients that support MCP over HTTP (for example, Smithery). You can optionally provide an API key via COINCAP_API_KEY for higher rate limits.
Optional: CoinCap API Key
For higher rate limits, add an API key to your configuration:
Important Note: CoinCap is sunsetting their v2 API. This MCP supports both v2 and v3 APIs:
If you provide a
COINCAP_API_KEY, it will attempt to use the v3 API first, falling back to v2 if necessaryWithout an API key, it will use the v2 API (which will eventually be discontinued)
It's recommended to obtain an API key from pro.coincap.io/dashboard as the v2 API will be completely deactivated in the future
Launch Claude Desktop to start using the crypto analysis tools.
Verified commits & SSH signing
This repository requires Verified (cryptographically signed) commits. CI also includes a job (Verify commit signatures) that fails PRs with unsigned commits.
Create an SSH signing key (once)
Enable SSH signing locally (optional but recommended)
Configure GitHub to verify your signatures
Add your public key as an SSH Signing Key in your GitHub account:
GitHub → Settings → SSH and GPG keys → New SSH key
Key type: Signing Key (SSH)
Paste contents of
~/.ssh/id_ed25519.pub
Tools
get-crypto-price
Gets current price and 24h stats for any cryptocurrency, including:
Current price in USD
24-hour price change
Trading volume
Market cap
Market rank
get-market-analysis
Provides detailed market analysis including:
Top 5 exchanges by volume
Price variations across exchanges
Volume distribution analysis
VWAP (Volume Weighted Average Price)
get-historical-analysis
Analyzes historical price data with:
Customizable time intervals (5min to 1 day)
Support for up to 30 days of historical data
Price trend analysis
Volatility metrics
High/low price ranges
Sample Prompts
"What's the current price of Bitcoin?"
"Show me market analysis for ETH"
"Give me the 7-day price history for DOGE"
"What are the top exchanges trading BTC?"
"Show me the price trends for SOL with 1-hour intervals"
Project Inspiration
This project was inspired by Alex Andru's coincap-mcp project.
License
This project is licensed under the MIT License