Integrations
Provides access to cryptocurrency market data, exchange information, and blockchain metrics through the CoinMarketCap API, including cryptocurrency listings, market quotes, OHLCV data, exchange information, global metrics, and fear and greed indices.
Allows retrieving a Postman collection for the CoinMarketCap API through the getPostmanCollection endpoint.
Uses Zod for type-safe parameter validation when making requests to the CoinMarketCap API.
CoinMarketCap MCP
A Model Context Protocol (MCP) 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:
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
:
Build from Source
- Download the repo:
- Install packages (inside cloned repo):
- Add the following to your MCP client
config.json
:
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 |
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
Contributing
Contributions are welcomed and encouraged! Please read CONTRIBUTING.md for guidelines on issues, contributions, and contact information.
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Access the complete CoinMarketCap API with 20+ basic endpoints and 50+ total tools, including cryptocurrency market data, exchange information, and other blockchain-related metrics.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityReal-time cryptocurrency market data integration using CoinCap's public API, providing access to crypto prices and market information without API keysLast updated -314737TypeScriptMIT License
- -securityAlicense-qualityReal-time access to cryptocurrency data from the CoinMarketCap API.Last updated -266TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface. Updated to use Coin Cap API v3Last updated -337TypeScriptMIT License
- -security-license-qualityProvides comprehensive access to CoinMarketCap's cryptocurrency data including listings, quotes, market metrics, and the Fear & Greed Index directly within the Cursor environment.Last updated -1,2611TypeScript