crypto-mcp

Lapeno01/crypto-mcp

3.2

If you are the rightful owner of crypto-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Model Context Protocol (MCP) server for cryptocurrency price tracking and market data using the CoinMarketCap API.

Tools
3
Resources
0
Prompts
0

Crypto MCP Server

A Model Context Protocol (MCP) server for cryptocurrency price tracking and market data using the CoinMarketCap API.

Quick Start

Setup

  1. Create conda environment:

    conda create -n crypto-mcp python=3.11 -y
    conda activate crypto-mcp
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Configure API key: Create a .env file:

    CMC_API_KEY=your_api_key_here
    

    Get your free API key from coinmarketcap.com/api

Run

conda activate crypto-mcp
python -m src.server

Test

python test_server.py

Tools

  • get_crypto_price - Get prices for cryptocurrencies (use symbols like BTC, ETH)
  • get_market_data - Get comprehensive market data for a cryptocurrency
  • get_top_cryptocurrencies - Get top cryptocurrencies by market cap

License

MIT