Cryptocurrency MCP Server
Click on "Install 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 MCP Serverget ticker for BTC/USDT"
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 MCP Server
Python-based Model Context Protocol server for real-time and historical cryptocurrency data from 100+ exchanges via CCXT.
Features
4 MCP Tools: Real-time tickers, historical OHLCV, market listings, order books
100+ Exchanges: Binance, Coinbase, Kraken, and more via CCXT
Smart Caching: TTL-based caching for performance
Error Handling: Custom exception hierarchy
Full Tests: Comprehensive pytest coverage
Related MCP server: CCXT MCP Server
Setup
cd crypto-mcp-server
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txtUsage
Run Server:
python -m crypto_mcp_serverRun Tests:
pip install -r requirements-dev.txt
pytest tests/ -vMCP Inspector (optional)
You can install the MCP inspector globally with npm and run it against the package. This is useful for inspecting the MCP endpoints and payloads.
npm install -g @modelcontextprotocol/inspector
mcp-inspector python -m crypto_mcp_serverMCP Tools
get_ticker
Get real-time price data.
{"symbol": "BTC/USDT"}get_ohlcv
Get historical candlestick data.
{"symbol": "BTC/USDT", "timeframe": "1d", "limit": 100}get_markets
List all available markets.
{}get_order_book
Get order book depth.
{"symbol": "BTC/USDT", "limit": 20}Configuration
Optional .env file:
CACHE_TTL=60
DEFAULT_EXCHANGE=binance
LOG_LEVEL=INFOProject Structure
crypto-mcp-server/
├── crypto_mcp_server/ # Core server
│ ├── server.py # MCP implementation
│ ├── data_fetcher.py # CCXT integration
│ ├── cache.py # Caching layer
│ └── exceptions.py # Error handling
├── tests/ # Test suite
├── requirements.txt # 3 dependencies
└── test_mcp_tools.py # Integration testDependencies
Core (3):
mcp - MCP server framework
ccxt - Exchange integration
python-dotenv - Configuration
Dev (2):
pytest - Testing
pytest-asyncio - Async tests
Implementation
Architecture: Modular design with separated concerns
Async/Await: Full async support
Caching: In-memory TTL cache
Testing: Unit + integration tests
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Diya28-mehra/crypto_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server