Cryptocurrency Market Data MCP Server
The Cryptocurrency Market Data MCP Server provides real-time and historical cryptocurrency market data from major exchanges for LLMs like Claude. With this server, you can:
Get Current Price: Fetch real-time prices for any cryptocurrency trading pair
Market Summary: Retrieve detailed market summaries for specific trading pairs
Top Trading Pairs: List cryptocurrencies with highest trading volumes
Exchange Support: Access data from major exchanges including Binance, Coinbase, Kraken, KuCoin, and others
Historical Analysis: Retrieve OHLCV (candlestick) data with customizable timeframes
Price Change Statistics: Calculate price changes over different time periods
Volume History: Track trading volume history over specified time ranges
Provides real-time cryptocurrency market data from Binance, including current prices, market summaries, and trading pairs
Fetches cryptocurrency market data from Coinbase, allowing access to prices, trading volumes, and market information
Offers integration with KuCoin exchange for cryptocurrency price data, market summaries, and trading information
Connects to OKX cryptocurrency exchange to provide market data, prices, and trading information
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cryptocurrency Market Data MCP Server what's the current price of bitcoin on binance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cryptocurrency Market Data MCP Server
A Model Context Protocol (MCP) server that provides real-time and historical cryptocurrency market data through integration with major exchanges. This server enables LLMs like Claude to fetch current prices, analyze market trends, and access detailed trading information.
Features
Real-time Market Data
Current cryptocurrency prices
Market summaries with bid/ask spreads
Top trading pairs by volume
Multiple exchange support
Historical Analysis
OHLCV (candlestick) data
Price change statistics
Volume history tracking
Customizable timeframes
Exchange Support
Binance
Coinbase
Kraken
KuCoin
HyperLiquid
Huobi
Bitfinex
Bybit
OKX
MEXC
Related MCP server: Crypto MCP Server
Installation
Installing via Smithery
To install Cryptocurrency Market Data Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-ccxt --client claudeInstalling Manually
# Using uv (recommended)
uv pip install mcp ccxt
# Using pip
pip install mcp ccxtUsage
Running the Server
python crypto_server.pyConnecting with Claude Desktop
Open your Claude Desktop configuration at:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the server configuration:
{
"mcpServers": {
"crypto": {
"command": "python",
"args": ["/path/to/crypto_server.py"]
}
}
}Restart Claude Desktop
Available Tools
get-price
Get current price for any trading pair
Example: "What's the current price of BTC/USDT on Binance?"
get-market-summary
Fetch detailed market information
Example: "Show me a market summary for ETH/USDT"
get-top-volumes
List top trading pairs by volume
Example: "What are the top 5 trading pairs on Kraken?"
list-exchanges
Show all supported exchanges
Example: "Which exchanges are supported?"
get-historical-ohlcv
Get historical candlestick data
Example: "Show me the last 7 days of BTC/USDT price data in 1-hour intervals"
get-price-change
Calculate price changes over different timeframes
Example: "What's the 24-hour price change for SOL/USDT?"
get-volume-history
Track trading volume over time
Example: "Show me the trading volume history for ETH/USDT over the last week"
Example Queries
Here are some example questions you can ask Claude once the server is connected:
- What's the current Bitcoin price on Binance?
- Show me the top 5 trading pairs by volume on Coinbase
- How has ETH/USDT performed over the last 24 hours?
- Give me a detailed market summary for SOL/USDT on Kraken
- What's the trading volume history for BNB/USDT over the last week?Technical Details
Dependencies
mcp: Model Context Protocol SDKccxt: Cryptocurrency Exchange Trading LibraryPython 3.9 or higher
Architecture
The server uses:
CCXT's async support for efficient exchange communication
MCP's tool system for LLM integration
Standardized data formatting for consistent outputs
Connection pooling for optimal performance
Error Handling
The server implements robust error handling for:
Invalid trading pairs
Exchange connectivity issues
Rate limiting
Malformed requests
Network timeouts
Development
Running Tests
# To be implemented
pytest tests/Contributing
Fork the repository
Create a feature branch
Make your changes
Submit a pull request
Local Development
# Clone the repository
git clone [repository-url]
cd crypto-mcp-server
# Install dependencies
uv pip install -e .Troubleshooting
Common Issues
Exchange Connection Errors
Check your internet connection
Verify the exchange is operational
Ensure the trading pair exists on the selected exchange
Rate Limiting
Implement delays between requests
Use different exchanges for high-frequency queries
Check exchange-specific rate limits
Data Formatting Issues
Verify trading pair format (e.g., BTC/USDT, not BTCUSDT)
Check timeframe specifications
Ensure numerical parameters are within valid ranges
License
MIT License - See LICENSE file for details
Acknowledgments
CCXT for exchange integrations
Model Context Protocol for the MCP specification
The cryptocurrency exchanges for providing market data APIs
Available Tools
7 toolsget-historical-ohlcvB
Get historical OHLCV (candlestick) data for a trading pair
Inputs: symbol (required), timeframe, days_back, exchange.
get-market-summaryC
Get detailed market summary for a cryptocurrency pair from a specific exchange
Inputs: symbol (required), exchange.
get-priceB
Get current price of a cryptocurrency pair from a specific exchange
Inputs: symbol (required), exchange.
get-price-changeC
Get price change statistics over different time periods
Inputs: symbol (required), exchange.
get-top-volumesB
Get top cryptocurrencies by trading volume from a specific exchange
Inputs: limit, exchange.
get-volume-historyC
Get trading volume history over time
Inputs: symbol (required), days, exchange.
list-exchangesB
List all supported cryptocurrency exchanges
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose with no ambiguity: get-historical-ohlcv for candlestick data, get-market-summary for detailed pair info, get-price for current price, get-price-change for statistics, get-top-volumes for volume rankings, get-volume-history for volume trends, and list-exchanges for exchange listing. The descriptions precisely differentiate their functions, making misselection unlikely.
All tool names follow a consistent verb_noun pattern using kebab-case (e.g., get-historical-ohlcv, list-exchanges). The naming is predictable and readable throughout, with 'get-' or 'list-' prefixes clearly indicating the action, ensuring a uniform and professional appearance.
With 7 tools, the server is well-scoped for cryptocurrency market data, covering key areas like pricing, volume, exchanges, and historical data. Each tool earns its place by addressing specific market analysis needs, avoiding bloat while providing comprehensive coverage for the domain.
The tool set offers strong coverage for cryptocurrency market data, including price, volume, historical data, and exchange info. Minor gaps exist, such as no tools for order book depth, trade history, or market sentiment, but agents can work around these with the provided tools for core market analysis tasks.
Maintenance
Related MCP Connectors
Crypto market data for AI agents: live prices, OHLCV, sentiment, indicators and exchanges.
Unlock the power of real-time cryptocurrency data with our Crypto Price Insights MCP server.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Live crypto + IDX stock market intelligence for AI agents — 19 tools, no API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that exposes Binance cryptocurrency exchange data to LLMs, allowing agents to access real-time prices, order books, and historical market data without requiring API keys.21MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical cryptocurrency market data using ccxt, enabling users to fetch live prices, historical candlestick data, and stream real-time ticker updates across multiple exchanges.14-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides cryptocurrency data tools and resources via an HTTP endpoint. It enables users to fetch real-time market data from Binance, track activity logs, and generate cryptocurrency executive summaries.ISC
- AlicenseAqualityDmaintenanceA comprehensive cryptocurrency market-data MCP server with 49 tools across six data sources, enabling LLMs to answer market questions via natural language.49MIT