Skip to main content
Glama
szcharlesji

CoinMarketCap MCP Server

by szcharlesji

Crypto MCP

A Model Context Protocol (MCP) server that provides Claude AI with real-time access to cryptocurrency data from the CoinMarketCap API.

Features

This server provides the following tools to Claude:

  • get-cryptocurrency-listings: Get the latest cryptocurrency market data

  • get-cryptocurrency-quotes: Retrieve quotes for specific cryptocurrencies

  • get-cryptocurrency-map: Fetch the mapping of cryptocurrencies to CoinMarketCap IDs

  • get-cryptocurrency-info: Get detailed metadata for specific cryptocurrencies

  • get-global-metrics: Access global cryptocurrency market metrics

  • get-exchange-listings: Get information about cryptocurrency exchanges

Related MCP server: CoinMarketCap Universal MCP Server

Prerequisites

Integration with Claude Desktop

To integrate this MCP server with Claude Desktop:

  1. Locate the Claude Desktop configuration file:

    • On macOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

  2. Add the following configuration to the file:

{
    "mcpServers": {
        "cmc": {
            "command": "npx",
            "args": ["crypto-mcp"],
            "env": {
                "COINMARKET_API_KEY": "your-api-key-here"
            }
        }
    }
}

Manual Installation

  1. Clone this repository

  2. Install dependencies:

# Using npm
npm install

# Using bun
bun install
  1. Build the TypeScript code:

# Using npm
npm run build

# Using bun
bun run build

Usage in Claude

Once configured, you can ask Claude to perform various cryptocurrency-related tasks:

  • "Show me the top 10 cryptocurrencies by market cap"

  • "What's the current price of Bitcoin and Ethereum?"

  • "What are the global cryptocurrency market metrics today?"

  • "Tell me about the Binance exchange"

Screenshots

Top Cryptocurrencies

Top Cryptocurrencies

Cryptocurrency Metadata

Cryptocurrency Metadata

Market Metrics

Market Metrics

Development

This project uses TypeScript and the Model Context Protocol SDK to build a server that communicates with Claude AI.

To modify the available tools or add new endpoints, edit the src/index.ts file and rebuild the project.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides comprehensive access to CoinMarketCap's cryptocurrency data including listings, quotes, market metrics, and the Fear & Greed Index directly within the Cursor environment.
    239 npm
    2
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides access to cryptocurrency market data, exchange information, and blockchain metrics through the CoinMarketCap API. Supports price quotes, historical data, trending tokens, global metrics, and DEX information across different subscription tiers.
    26
    36 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides cryptocurrency market data (top coins by market cap) and fiat currency exchange rates.
    3 npm
    MIT