mcpField
C
Coinmarketcap

Coinmarketcap

Local
github.com/shinzo-labsFinance51Updated 48w ago

About Coinmarketcap

Coinmarketcap is an MCP server that wraps the CoinMarketCap API for clients needing cryptocurrency, exchange, and blockchain-related market data. It covers multiple data categories, with some tools available only at higher subscription levels.

Key features

  1. 01Query cryptocurrency quotes and metadata
  2. 02Retrieve exchange and DEX information
  3. 03Access global metrics and index data
  4. 04Use historical and OHLCV data by subscription level
  5. 05Validate parameters with Zod

Use cases

  1. 01Track cryptocurrency prices and market trends
  2. 02Look up exchanges, DEXes, and trading pairs
  3. 03Analyze historical quotes and OHLCV data

MCP support

The server exposes CoinMarketCap API tools to MCP clients for cryptocurrency, exchange, DEX, global metrics, and other data. It can be configured locally or as a remote server.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"coinmarketcap": {
"command": "npx",
"args": [
"-y",
"@shinzolabs/coinmarketcap-mcp"
],
"env": {
"COINMARKETCAP_API_KEY": "<COINMARKETCAP_API_KEY>",
"SUBSCRIPTION_LEVEL": "<SUBSCRIPTION_LEVEL>"
}
}
}
}
Run commandnpx -y @shinzolabs/coinmarketcap-mcp
Environment variables to set
COINMARKETCAP_API_KEYSecret
SUBSCRIPTION_LEVEL

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@shinzolabs/coinmarketcap-mcp

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

CoinMarketCap MCP Server

NPM Version Stars Forks Smithery Calls NPM Downloads

A Model Context Protocol (MCP) server implementation for the CoinMarketCap API, providing a standardized interface for accessing cryptocurrency market data, exchange information, and other blockchain-related metrics.

README image

Features

  • Complete coverage of the CoinMarketCap API
  • Fetch data on the latest crypto trends, market movements, and global market metrics
  • Access to detailed OHLCV data with Standard subscription or higher
  • Type-safe parameter validation with Zod

Prerequisites

If you don't have an API key, first sign up to receive a free Basic key here.

Client Configuration

There are several options to configure your MCP client with the server. For hosted/remote server setup, use Smithery's CLI with a Smithery API Key. For local installation, use npx or build from source. Each of these options is explained below.

Smithery Remote Server (Recommended)

To add a remote server to your MCP client config.json, run the following command from Smithery CLI:

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

Enter your COINMARKETCAP_API_KEY and SUBSCRIPTION_LEVEL (see options below) when prompted.

Smithery SDK

If you are developing your own agent application, you can use the boilerplate code here.

NPX Local Install

To install the server locally 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" // See options below
      }
    }
  }
}
Build from Source
  1. Download the repo:
git clone https://github.com/shinzo-labs/coinmarketcap-mcp.git
  1. Install packages (inside cloned repo):
pnpm i
  1. Add the following to your MCP client config.json:
{
  "mcpServers": {
    "coinmarketcap": {
      "command": "node",
      "args": [
        "/path/to/coinmarketcap-mcp/index.js"
      ],
      "env": {
        "COINMARKETCAP_API_KEY": "your-key-here",
        "SUBSCRIPTION_LEVEL": "Basic" // See options below
      }
    }
  }
}

Config Variables

VariableDescriptionRequired?Default
COINMARKETCAP_API_KEYAPI Key from CoinMarketCap.comYes
SUBSCRIPTION_LEVELBasic, Hobbyist, Startup, Standard, Professional, or EnterpriseNoBasic
PORTPort for Streamable HTTP transport methodNo3000
TELEMETRY_ENABLEDEnable telemetryNotrue

Supported Tools

Subscription Level: Basic (and above)
Cryptocurrency
  • cryptoCurrencyMap: Get mapping of all cryptocurrencies
  • getCryptoMetadata: Get metadata for one or more cryptocurrencies
  • allCryptocurrencyListings: Get latest market quote for 1-5000 cryptocurrencies
  • cryptoQuotesLatest: Get latest market quote for 1 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
DEX
  • dexInfo: Get metadata for one or more decentralised exchanges
  • dexListingsLatest: Get latest market data for all DEXes
  • dexNetworksList: Get list of all networks with unique IDs
  • dexSpotPairsLatest: Get latest market data for all active DEX spot pairs
  • dexPairsQuotesLatest: Get latest market quotes for spot pairs
  • dexPairsOhlcvLatest: Get latest OHLCV data for spot pairs
  • dexPairsOhlcvHistorical: Get historical OHLCV data for spot pairs
  • dexPairsTradeLatest: Get latest trades for spot pairs
Global Metrics
  • globalMetricsLatest: Get latest global cryptocurrency metrics
Index
  • cmc100IndexLatest: Get latest CoinMarketCap 100 Index value and constituents
  • cmc100IndexHistorical: Get historical CoinMarketCap 100 Index values
Tools
  • priceConversion: Convert an amount of one cryptocurrency or fiat currency into another
  • getPostmanCollection: Get Postman collection for the API
Other
  • fiatMap: Get mapping of all fiat currencies
  • keyInfo: Get API key usage and status
  • fearAndGreedLatest: Get latest Fear & Greed Index
  • fearAndGreedHistorical: Get historical Fear & Greed Index values
Subscription Level: Hobbyist (and above)
Cryptocurrency
  • cryptoAirdrops: Get list of all cryptocurrency airdrops
  • cryptoAirdrop: Get metadata about a specific airdrop
  • historicalCryptocurrencyListings: Get historical market quotes for any cryptocurrency
  • cryptoQuotesHistorical: Get historical market quotes for any cryptocurrency
  • cryptoQuotesHistoricalV3: Get historical market quotes with advanced time-based intervals
Exchange
  • exchangeQuotesHistorical: Get historical quotes for any exchange
Global Metrics
  • globalMetricsHistorical: Get historical global cryptocurrency metrics
Subscription Level: Startup (and above)
Cryptocurrency
  • newCryptocurrencyListings: Get list of most recently added cryptocurrencies
  • cryptoTrendingGainersLosers: Get biggest gainers and losers in a given time period
  • cryptoTrendingLatest: Get top cryptocurrencies by search volume
  • cryptoTrendingMostVisited: Get most visited cryptocurrencies
  • cryptoOhlcvLatest: Get latest OHLCV market data for any cryptocurrency
  • cryptoOhlcvHistorical: Get historical OHLCV market data for any cryptocurrency
  • cryptoPricePerformanceStatsLatest: Get price performance statistics for any cryptocurrency
Subscription Level: Standard (and above)
Cryptocurrency
  • cryptoMarketPairsLatest: Get latest market pairs for any cryptocurrency
Exchange
  • exchangeListingsLatest: Get latest market data for all exchanges
  • exchangeMarketPairsLatest: Get latest market pairs for any exchange
  • exchangeQuotesLatest: Get latest market quotes for one or more exchanges
Content
  • contentLatest: Get latest cryptocurrency news and content
  • contentPostsTop: Get top cryptocurrency posts
  • contentPostsLatest: Get latest cryptocurrency posts
  • contentPostsComments: Get comments for a specific post
Community
  • communityTrendingTopic: Get trending topics in the cryptocurrency community
  • communityTrendingToken: Get trending tokens in the cryptocurrency community
Subscription Level: Enterprise (and above)
Blockchain
  • blockchainStatisticsLatest: Get latest statistics for one or more blockchains

Contributing

Contributions are welcomed and encouraged! Please read CONTRIBUTING.md for guidelines on issues, contributions, and contact information.

Data Collection and Privacy

Shinzo Labs collects limited anonymous telemetry from this server to help improve our products and services. No personally identifiable information is collected as part of this process. Please review the Privacy Policy for more details on the types of data collected and how to opt-out of this telemetry.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.