- Home
- MCP servers
- Cryptocurrency Market Data
Cryptocurrency Market Data
- python
4
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"mcp-mirror-nayshins_mcp-server-ccxt": {
"command": "python",
"args": [
"/path/to/crypto_server.py"
]
}
}
}You can run a dedicated MCP server that streams real-time and historical cryptocurrency market data from major exchanges, enabling you to fetch current prices, market summaries, OHLCV data, and trading volumes for your AI workflows. This server uses a lightweight, flexible interface so you can query prices, market trends, and historical data from your preferred MCP client in real time.
How to use
To use this MCP server, start the local Python process that serves market data and connect your MCP client to the provided stdio configuration. The server supports real-time prices, market summaries, top-volume pairs, OHLCV history, and price-change calculations across multiple exchanges.
How to install
Prerequisites you need before installing the MCP server are Python 3.9 or higher and a Python package manager.
# Using uv (recommended)
uv pip install mcp ccxt
# Using pip
pip install mcp ccxt
Additional configuration and usage notes
Run the server locally and connect your MCP client using a stdio configuration. The following command starts the server process from your working directory:
python crypto_server.py
Connecting your MCP client (stdio)
Create or edit your MCP client configuration to point to the local server using a stdio-based connection. The example shows how to reference the server executable directly.
{
"mcpServers": {
"crypto": {
"command": "python",
"args": ["/path/to/crypto_server.py"]
}
}
}
Using the server with Claude Desktop
If you use Claude Desktop, place the server entry in your Claude configuration so Claude can call the MCP tools directly. The configuration below demonstrates how to reference the Python process for the crypto server.
{
"mcpServers": {
"crypto": {
"command": "python",
"args": ["/path/to/crypto_server.py"]
}
}
}
Available tools
get-price
Get the current price for a given trading pair from the specified exchange.
get-market-summary
Fetch a detailed market summary including bid/ask spreads for a trading pair.
get-top-volumes
List the top trading pairs by trading volume across supported exchanges.
list-exchanges
Return a list of all exchanges supported by the server.
get-historical-ohlcv
Retrieve historical OHLCV (candlestick) data for a trading pair and timeframe.
get-price-change
Calculate price changes over a defined time window for a trading pair.
get-volume-history
Track and return trading volume history for a trading pair over a period.