CryptoPriceTracker-MCP

CryptoPriceTracker-MCP

Enables LLM agents to fetch real-time cryptocurrency prices using the CoinGecko API, supporting multiple cryptocurrencies and fiat currencies.

Category
Visit Server

README

MCP Crypto Price Tracker Server

A Model Context Protocol (MCP) server that enables LLM-based AI agents to access real-time cryptocurrency price information. Designed for seamless integration with LLMs and AI agents using the MCP protocol and the CoinGecko API.


Features

  • Exposes cryptocurrency price tracking tools for LLM agents via MCP:
    • get_crypto_price: Get current price of any cryptocurrency in any supported currency
  • Uses the CoinGecko API for accurate, real-time cryptocurrency data
  • Supports all major cryptocurrencies (Bitcoin, Ethereum, etc.)
  • Supports multiple fiat currencies (USD, EUR, INR, etc.) and crypto conversions
  • Asynchronous HTTP requests for non-blocking performance
  • Simple integration with Claude, MCP clients, or other LLM-based agents

Quickstart

1. Install & Run

Run the MCP Crypto Price Tracker Server using uvx:

uvx --from git+https://github.com/deerajd/CryptoPriceTracker-MCP.git mcp-server

2. Integrate with Your LLM Agent

Add the following to your tool configuration (for Claude, MCP clients, etc.):

{
  "mcpServers": {
    "CryptoPriceTracker": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/deerajd/CryptoPriceTracker-MCP.git",
        "mcp-server"
      ]
    }
  }
}

This configuration launches the MCP Crypto Price Tracker Server as a subprocess, exposing cryptocurrency price tools to your LLM agent.


3. Usage

From your LLM agent, you can call:

Get Cryptocurrency Price

get_crypto_price(cryptocurrency="bitcoin", currency="usd")     # Bitcoin in USD
get_crypto_price(cryptocurrency="ethereum", currency="inr")    # Ethereum in INR
get_crypto_price(cryptocurrency="cardano", currency="eur")     # Cardano in EUR
get_crypto_price(cryptocurrency="solana")                      # Solana in INR (default)

The server will respond with the current price as a float value. For example:

  • 67234.56 for Bitcoin in USD
  • 178543.78 for Ethereum in INR

API Reference

get_crypto_price(cryptocurrency, currency="inr")

  • Parameters:
    • cryptocurrency (str): The CoinGecko ID of the cryptocurrency (e.g., "bitcoin", "ethereum", "cardano")
    • currency (str, optional): The target currency code (default: "inr"). Supports fiat currencies like "usd", "eur", "inr" and crypto currencies
  • Returns: Current price as a float. Returns 0.0 if price cannot be fetched
  • Coverage: Global cryptocurrency markets via CoinGecko API

Popular Cryptocurrency IDs:

  • bitcoin - Bitcoin (BTC)
  • ethereum - Ethereum (ETH)
  • cardano - Cardano (ADA)
  • solana - Solana (SOL)
  • polygon - Polygon (MATIC)
  • chainlink - Chainlink (LINK)

Supported Currencies:

  • Fiat: usd, eur, inr, jpy, gbp, cad, aud, and many more
  • Crypto: btc, eth, and other major cryptocurrencies

Development

Requirements

  • Python 3.13+
  • httpx for async HTTP requests
  • FastMCP for MCP server implementation
  • requests for HTTP client support
  • CoinGecko API (free tier available)

Project Structure

CryptoPriceTracker/
├── src/
│   └── mcpserver/
│       ├── __init__.py
│       ├── __main__.py          # Entry point
│       └── deployment.py        # Main server implementation
├── pyproject.toml               # Project configuration
└── README.md                    # This file

License

MIT License


Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured