Crypto Price MCP Server

Crypto Price MCP Server

A Model Context Protocol server that provides real-time cryptocurrency price fetching capabilities using the CoinGecko API. It enables LLMs to retrieve and process the latest price for any coin by its name or symbol.

Category
Visit Server

README

MCP Server

A Model Context Protocol server that provides crypto price fetching capabilities. This server enables LLMs to retrieve and process the latest price for any coin by its name or symbol. This server was created for demo and practice purposes only and has limited capabilities.

Rate Limits: This server utilizes CoinGecko's free Demo API plan which has a rate limit of approximately 30 calls per minute.

Available Tools

  • get_crypto_price_by_name - Fetches the current price for a coin by coin name.
    • coin_name (string, required): The name of the coin (e.g. Bitcoin)
  • get_crypto_price_by_symbol - Fetches the current price for a coin by coin symbol.
    • coin_symbol (string, required): The symbol of the coin (e.g. BTC)

Setup

Prerequisites

  • Python 3.8+
  • uv package manager

Installation

  1. Clone the repository:
git clone <your-repo-url>
cd <your-repo-name>
  1. Install dependencies with uv:
uv sync

Testing with MCP Inspector

The MCP Inspector allows you to test your server locally before integrating with Claude.

  1. Install the MCP Inspector:
npm install -g @modelcontextprotocol/inspector
  1. Run your server with the inspector:
npx @modelcontextprotocol/inspector uv run server.py
  1. Open the web interface that appears (usually http://localhost:5173)

  2. Test the tools:

    • Try get_crypto_price_by_name with coin_name: "Bitcoin"
    • Try get_crypto_price_by_symbol with coin_symbol: "BTC"

Claude Desktop Integration

1. Find Your Config File

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json

2. Add Server Configuration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "crypto-price-server": {
      "command": "uv",
      "args": ["run", "/absolute/path/to/your/server.py"],
      "cwd": "/absolute/path/to/your/project/directory"
    }
  }
}

Replace the paths with your actual project paths.

3. Restart Claude Desktop

Close and reopen Claude Desktop completely.

4. Test in Claude

Ask Claude something like:

  • "What's the current price of Bitcoin?"
  • "Can you get the price of ETH using the crypto tools?"
  • "Use the crypto price tool to check the price of Solana"

Troubleshooting

Server won't start:

  • Make sure you're in the project directory
  • Try uv run server.py directly to see error messages

Claude can't find the server:

  • Double-check the absolute paths in your config
  • Make sure there are no typos in the JSON
  • Restart Claude Desktop after making changes

Tools return errors:

  • Check your internet connection
  • You may have hit the CoinGecko rate limit (wait a minute and try again)

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
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
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
Qdrant Server

Qdrant Server

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

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
E2B

E2B

Using MCP to run code via e2b.

Official
Featured