CoinGecko Price MCP Server

CoinGecko Price MCP Server

Provides cryptocurrency pricing information using the CoinGecko API, enabling users to fetch current prices of any cryptocurrency in their chosen currency.

Category
Visit Server

README

CoinGecko Price MCP Server

A simple Model Context Protocol (MCP) server that provides cryptocurrency pricing information using the CoinGecko API.

Features

  • get_crypto_price: A tool to fetch the current price of a cryptocurrency in a specific currency.
    • Inputs:
      • crypto_id: The CoinGecko ID of the cryptocurrency (e.g., 'bitcoin', 'ethereum').
      • currency: The target currency for the price (e.g., 'usd', 'brl').

Prerequisites

  • Node.js (v18 or higher recommended)
  • npm

Installation

  1. Clone or navigate to the project repository.

  2. Install dependencies:

    npm install
    

Building the Project

Compile the TypeScript code to JavaScript:

npm run build

The compiled output will be in the dist directory.

Usage

Testing Locally with MCP Inspector (The npx Way)

You can test the server interactively using the MCP Inspector. This allows you to inspect tools and resources and make tool calls directly.

  1. Build the project first:

    npm run build
    
  2. Run the inspector using npx, pointing it to your built server script:

    npx @modelcontextprotocol/inspector node dist/index.js
    

    Note: On Windows, use a full path or ensuring valid path syntax if you encounter issues.

  3. Open the URL provided in the terminal (usually http://localhost:5173) to interact with your server.

Running Directly

You can run the server directly (it communicates via Stdio), but it is designed to be used by an MCP client (like Claude Desktop or the Inspector).

npm start

Developing

To run the server in development mode (using tsx):

npm run dev

Setup with Claude Desktop

To use this server with Claude Desktop apps:

  1. Locate your Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the server configuration:

    {
      "mcpServers": {
        "coingecko_price": {
          "command": "node",
          "args": ["/absolute/path/to/mcp_coingecko_price_ts/dist/index.js"]
        }
      }
    }
    

    Remember to run npm run build after making changes to the source code.

  3. You can run this mcp with stdio transport using npx command

    {
     "mcpServers": {
       "coingecko_price": {
         "command": "npx",
         "args": ["-y", "mcp_coingecko_price_ts"]
       }
     }
    }
    

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