Access Cryptocurrency Market Data
An MCP server for CoinMarketCap's full API - crypto/exchange/DEX/index data, tiered by subscription level from Basic through Enterprise.
Maintainer of this project? Claim this page to edit the listing.
1.4.5Add to Favorites
Why it matters
Integrate with the CoinMarketCap API to access comprehensive cryptocurrency market data, exchange information, and blockchain metrics. Standardize access to real-time and historical financial data for analysis and application development.
Outcomes
What it gets done
Retrieve cryptocurrency mappings and metadata.
Fetch latest market quotes and listings for cryptocurrencies.
Access global cryptocurrency metrics and category information.
Obtain data on exchanges, DEXs, and perform price conversions.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-coinmarketcap | bash Capabilities
Tools your agent gets
Get mapping of all cryptocurrencies
Get metadata for one or more cryptocurrencies
Get latest market quotes for 1-5000 cryptocurrencies
Get latest market quotes for one or more cryptocurrencies
Get list of all cryptocurrency categories
Get metadata about a cryptocurrency category
Get mapping of all exchanges
Get metadata for one or more exchanges
Overview
CoinMarketCap MCP Server
An MCP server wrapping the full CoinMarketCap API - cryptocurrency, exchange, DEX, index, and blockchain data - with tools unlocked progressively by CoinMarketCap subscription tier. Use when an AI assistant needs live or historical cryptocurrency market, exchange, DEX, or blockchain data through CoinMarketCap.
What it does
Wraps the complete CoinMarketCap API in a standardized MCP interface for accessing cryptocurrency market data, exchange information, and blockchain metrics, with parameters validated via Zod for type safety. Tool availability is tiered directly to CoinMarketCap subscription level. The Basic tier already covers a broad surface: cryptocurrency mapping, metadata, latest listings and quotes for up to 5000 coins, categories; exchange mapping, metadata, and asset listings; decentralized exchange info, DEX listings, network lists, spot pairs, pair quotes, and both latest and historical OHLCV data for pairs; global market metrics; the CMC 100 Index latest and historical values; price conversion between any two currencies; a Postman collection generator; fiat currency mapping; API key usage status; and the Fear and Greed Index, latest and historical. Higher tiers unlock progressively more: Hobbyist adds airdrop listings and historical crypto, exchange, and global-metrics quotes; Startup adds newly-listed cryptocurrencies, trending gainers and losers, trending-by-search-volume, most-visited coins, and both latest and historical OHLCV for any cryptocurrency directly; Standard adds market pairs, exchange listings and quotes, news, content, and community trending topics and tokens; and Enterprise adds blockchain-level statistics.
When to use - and when NOT to
Use it when an AI assistant needs live or historical cryptocurrency market data, exchange or DEX information, or blockchain metrics through CoinMarketCap. A free Basic API key is required at minimum, obtained through CoinMarketCap's own signup. The recommended setup path is Smithery's hosted remote server, installed with a single CLI command and configured with the API key and subscription level when prompted; local alternatives are an npx-based install with the key and subscription level as environment variables, or a from-source build - clone the repo, pnpm i, then point the client at the built index.js. Four config variables control behavior: the required COINMARKETCAP_API_KEY, an optional SUBSCRIPTION_LEVEL (Basic through Enterprise, defaulting to Basic), an optional PORT for the Streamable HTTP transport, and TELEMETRY_ENABLED, which defaults to true and sends limited anonymous telemetry with no personally identifiable information collected.
Capabilities
The full CoinMarketCap API surface, tiered by subscription level from Basic (mapping, metadata, latest quotes, DEX data, global metrics, Fear and Greed Index) up through Enterprise (blockchain statistics), covering cryptocurrencies, exchanges, DEXes, content, and community trends.
How to install
Install via Smithery's CLI for a hosted remote server (npx -y @smithery/cli install @shinzo-labs/coinmarketcap-mcp), or locally via npx with the key and subscription level as environment variables:
{
"mcpServers": {
"coinmarketcap": {
"command": "npx",
"args": [
"@shinzolabs/coinmarketcap-mcp"
],
"env": {
"COINMARKETCAP_API_KEY": "your-key-here",
"SUBSCRIPTION_LEVEL": "Basic"
}
}
}
}
or by building from source and pointing the client at the compiled entry point instead.
Who it's for
Crypto-focused agents and analysts who need programmatic access to CoinMarketCap's market, exchange, DEX, and blockchain data, scaled to whatever subscription tier their API key already has. The project is MIT-licensed.
Source README
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.
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
- Download the repo:
git clone https://github.com/shinzo-labs/coinmarketcap-mcp.git
- Install packages (inside cloned repo):
pnpm i
- 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
| 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 |
TELEMETRY_ENABLED |
Enable telemetry | No | true |
Supported Tools
Subscription Level: Basic (and above)
Cryptocurrency
cryptoCurrencyMap: Get mapping of all cryptocurrenciesgetCryptoMetadata: Get metadata for one or more cryptocurrenciesallCryptocurrencyListings: Get latest market quote for 1-5000 cryptocurrenciescryptoQuotesLatest: Get latest market quote for 1 or more cryptocurrenciescryptoCategories: Get list of all cryptocurrency categoriescryptoCategory: Get metadata about a cryptocurrency category
Exchange
exchangeMap: Get mapping of all exchangesexchangeInfo: Get metadata for one or more exchangesexchangeAssets: Get list of all assets available on an exchange
DEX
dexInfo: Get metadata for one or more decentralised exchangesdexListingsLatest: Get latest market data for all DEXesdexNetworksList: Get list of all networks with unique IDsdexSpotPairsLatest: Get latest market data for all active DEX spot pairsdexPairsQuotesLatest: Get latest market quotes for spot pairsdexPairsOhlcvLatest: Get latest OHLCV data for spot pairsdexPairsOhlcvHistorical: Get historical OHLCV data for spot pairsdexPairsTradeLatest: Get latest trades for spot pairs
Global Metrics
globalMetricsLatest: Get latest global cryptocurrency metrics
Index
cmc100IndexLatest: Get latest CoinMarketCap 100 Index value and constituentscmc100IndexHistorical: Get historical CoinMarketCap 100 Index values
Tools
priceConversion: Convert an amount of one cryptocurrency or fiat currency into anothergetPostmanCollection: Get Postman collection for the API
Other
fiatMap: Get mapping of all fiat currencieskeyInfo: Get API key usage and statusfearAndGreedLatest: Get latest Fear & Greed IndexfearAndGreedHistorical: Get historical Fear & Greed Index values
Subscription Level: Hobbyist (and above)
Cryptocurrency
cryptoAirdrops: Get list of all cryptocurrency airdropscryptoAirdrop: Get metadata about a specific airdrophistoricalCryptocurrencyListings: Get historical market quotes for any cryptocurrencycryptoQuotesHistorical: Get historical market quotes for any cryptocurrencycryptoQuotesHistoricalV3: 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 cryptocurrenciescryptoTrendingGainersLosers: Get biggest gainers and losers in a given time periodcryptoTrendingLatest: Get top cryptocurrencies by search volumecryptoTrendingMostVisited: Get most visited cryptocurrenciescryptoOhlcvLatest: Get latest OHLCV market data for any cryptocurrencycryptoOhlcvHistorical: Get historical OHLCV market data for any cryptocurrencycryptoPricePerformanceStatsLatest: 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 exchangesexchangeMarketPairsLatest: Get latest market pairs for any exchangeexchangeQuotesLatest: Get latest market quotes for one or more exchanges
Content
contentLatest: Get latest cryptocurrency news and contentcontentPostsTop: Get top cryptocurrency postscontentPostsLatest: Get latest cryptocurrency postscontentPostsComments: Get comments for a specific post
Community
communityTrendingTopic: Get trending topics in the cryptocurrency communitycommunityTrendingToken: Get trending tokens in the cryptocurrency community
Subscription Level: Enterprise (and above)
Blockchain
blockchainStatisticsLatest: Get latest statistics for one or more blockchains
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.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.