Skip to main content
Glama
MCP Crypto Price Monitor

MCP Crypto Price Monitor

by Isallkun

MCP Crypto Price Monitor

A Model Context Protocol (MCP) server for monitoring cryptocurrency prices and market data using the CoinGecko API. This server allows LLMs to retrieve real-time data, historical charts, and global market statistics directly through the MCP interface.

Features

  • Real-time Prices: Get current prices in multiple currencies (USD, IDR, etc.).

  • Top Coins: List top cryptocurrencies by market capitalization.

  • Detailed Insights: Access market ranking, All-Time High (ATH), All-Time Low (ATL), and supply data.

  • Price History: Retrieve OHLC (Open, High, Low, Close) historical data for analysis.

  • Global Market Stats: Monitor total market cap, BTC/ETH dominance, and active markets.

  • Coin Search: Find cryptocurrencies by name or symbol.

  • Comparison Tool: Compare multiple coins side-by-side.

Related MCP server: crypto-prices-mcp

Installation

Prerequisites

  • Python 3.13 or higher

  • uv (recommended) or pip

Setup

  1. Clone this repository:

    git clone https://github.com/your-username/mcp-crypto.git
    cd mcp-crypto
  2. Install dependencies:

    uv sync
    # or
    pip install httpx mcp[cli] python-dotenv

Usage

Running the Server

You can run the server locally for testing:

uv run main.py

Integration with Claude Desktop

To use this server with Claude Desktop, add the following configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "crypto-monitor": {
      "command": "uv",
      "args": ["--directory", "D:/Project/mcp-crypto", "run", "main.py"]
    }
  }
}

(Make sure to replace D:/Project/mcp-crypto with your actual absolute path)

Available Tools

Tool

Description

get_price

Get current price of one or more coins in specific currencies.

get_coin_detail

Get full market data, ATH, ATL, and description for a specific coin.

get_top_coins

List the top N cryptocurrencies by market cap.

search_coin

Search for a coin by its name or symbol.

get_global_market

Get global metrics like total market cap and BTC dominance.

get_price_history

Get OHLC historical data for a specified number of days.

compare_coins

Compare multiple coins side-by-side in a single view.

Data Source

Data is provided by the CoinGecko API. This server uses the free tier, which does not require an API key but has rate limits.

License

MIT License

Available Tools

7 tools
compare_coinsB

Bandingkan beberapa koin secara side-by-side.

Args: coins: Daftar koin dipisah koma (contoh: "btc,eth,sol,bnb") currency: Mata uang untuk perbandingan (default: "usd")

Returns: Perbandingan koin-koin yang diminta

Inputs: coins (required), currency. Returns: result

get_coin_detailB

Dapatkan detail lengkap sebuah koin termasuk info pasar, ATH, ATL, dll.

Args: coin: Nama atau simbol koin (contoh: "bitcoin" atau "btc")

Returns: Detail lengkap koin

Inputs: coin (required).

get_global_marketB

Dapatkan data pasar crypto global (total market cap, dominasi BTC, dll).

Returns: Data pasar crypto global

Inputs: no named parameters.

get_priceB

Dapatkan harga crypto saat ini.

Args: coins: Nama atau simbol koin, pisahkan dengan koma (contoh: "bitcoin,ethereum" atau "btc,eth,sol") currencies: Mata uang target, pisahkan dengan koma (contoh: "usd,idr"). Default: usd,idr

Returns: Harga koin dalam mata uang yang diminta

Inputs: coins (required), currencies.

get_price_historyA

Dapatkan riwayat harga koin dalam beberapa hari terakhir.

Args: coin: Nama atau simbol koin (contoh: "bitcoin" atau "btc") days: Jumlah hari ke belakang (1-365, default: 7) currency: Mata uang target (default: "usd")

Returns: Riwayat harga OHLC (Open, High, Low, Close)

Inputs: coin (required), days, currency.

get_top_coinsA

Dapatkan daftar koin teratas berdasarkan market cap.

Args: limit: Jumlah koin yang ditampilkan (1-250, default: 10) currency: Mata uang untuk harga (default: "usd")

Returns: List koin teratas dengan harga dan data pasar

Inputs: limit, currency. Returns: result

search_coinB

Cari koin berdasarkan nama atau simbol.

Args: query: Kata kunci pencarian (contoh: "bitcoin", "pepe", "layer2")

Returns: List koin yang cocok dengan hasil pencarian

Inputs: query (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool has a distinct primary purpose: current price, history, detail, rankings, search, global stats, and comparison. There is mild overlap since get_price, get_coin_detail, and compare_coins all return price data for coins, so an agent may occasionally pick the wrong one, but the descriptions clarify the differences well.

    Naming Consistency5/5

    All names use snake_case with a consistent verb_noun pattern (get_price, get_price_history, get_coin_detail, get_top_coins, get_global_market, search_coin, compare_coins). The verb variations (get/search/compare) are semantically meaningful rather than arbitrary.

    Tool Count5/5

    Seven tools is a well-scoped set for a crypto price monitor, with each tool covering a distinct and necessary capability. No tool feels redundant or out of place.

    Completeness4/5

    The surface covers the core lifecycle: search, current price, history, detail, rankings, global market, and comparison. Minor gaps exist such as trending coins or exchange/market-pair data, but agents can work around these using the existing tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects AI agents to real-time cryptocurrency market data from CoinGecko API, enabling price lookups, coin details, market rankings, search, and trending crypto queries through natural language.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides live and historical cryptocurrency prices, trending coins, and global market data via CoinGecko API, enabling AI agents to fetch real-time and historical crypto information.
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables LLM agents to fetch real-time cryptocurrency prices using the CoinGecko API, supporting multiple cryptocurrencies and fiat currencies.
      1
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time cryptocurrency data from CoinGecko, including prices, market data, historical data, and coin search.
      ISC