CoinMarketCap MCP server

Integrates with CoinMarketCap API to provide tiered access to cryptocurrency market data, exchange information, and blockchain metrics for financial analysis and crypto-related applications.
Back to servers
Provider
Shinzo Labs
Release date
Mar 21, 2025
Language
TypeScript
Stats
15 stars

The CoinMarketCap MCP server provides a standardized interface for accessing cryptocurrency market data, exchange information, and blockchain-related metrics through the Model Context Protocol (MCP). It offers comprehensive coverage of the CoinMarketCap API with type-safe parameter validation.

Installation Options

Using Smithery Remote Server (Recommended)

Install the server to your MCP client configuration using Smithery CLI:

npx -y @smithery/cli install @shinzo-labs/coinmarketcap-mcp

You'll be prompted to enter your COINMARKETCAP_API_KEY and SUBSCRIPTION_LEVEL.

Local Installation with NPX

Add the following to your MCP client config.json:

{
  "mcpServers": {
    "coinmarketcap": {
      "command": "npx",
      "args": [
        "@shinzolabs/coinmarketcap-mcp"
      ],
      "env": {
        "COINMARKETCAP_API_KEY": "your-key-here",
        "SUBSCRIPTION_LEVEL": "Basic" 
      }
    }
  }
}

Building from Source

  1. Clone the repository:

    git clone https://github.com/shinzo-labs/coinmarketcap-mcp.git
    
  2. Install dependencies:

    pnpm i
    
  3. Configure your MCP client:

    {
      "mcpServers": {
        "coinmarketcap": {
          "command": "node",
          "args": [
            "/path/to/coinmarketcap-mcp/index.js"
          ],
          "env": {
            "COINMARKETCAP_API_KEY": "your-key-here",
            "SUBSCRIPTION_LEVEL": "Basic"
          }
        }
      }
    }
    

Configuration Variables

Variable Description Required? Default
COINMARKETCAP_API_KEY API Key from CoinMarketCap.com Yes
SUBSCRIPTION_LEVEL Basic, Hobbyist, Startup, Standard, Professional, or Enterprise No Basic
PORT Port for Streamable HTTP transport method No 3000

Available Tools

Basic Subscription Level Tools

Cryptocurrency

  • cryptoCurrencyMap: Get mapping of all cryptocurrencies
  • getCryptoMetadata: Get metadata for one or more cryptocurrencies
  • allCryptocurrencyListings: Get latest market quote for cryptocurrencies
  • cryptoQuotesLatest: Get latest market quote for one or more cryptocurrencies
  • cryptoCategories: Get list of all cryptocurrency categories
  • cryptoCategory: Get metadata about a cryptocurrency category

Exchange

  • exchangeMap: Get mapping of all exchanges
  • exchangeInfo: Get metadata for one or more exchanges
  • exchangeAssets: Get list of all assets available on an exchange

Global Metrics

  • globalMetricsLatest: Get latest global cryptocurrency metrics

Tools

  • priceConversion: Convert amounts between cryptocurrencies or fiat currencies
  • getPostmanCollection: Get Postman collection for the API

Higher Subscription Level Tools

The server supports additional functionality based on your CoinMarketCap subscription level:

Hobbyist Level

  • Historical cryptocurrency market quotes
  • Historical exchange quotes
  • Historical global metrics

Startup Level

  • New cryptocurrency listings
  • Trending gainers and losers
  • OHLCV market data
  • Price performance statistics

Standard Level

  • Market pairs data
  • Exchange quotes
  • Content and news
  • Community data

Enterprise Level

  • Blockchain statistics

Prerequisites

If you don't have an API key, sign up for a free Basic key at CoinMarketCap.

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later