CoinMarketCap MCP
平台与服务by shinzo-labs
Access the complete CoinMarketCap API with 20+ basic endpoints and 50+ total, including cryptocurrency market data, exchange information, and other blockchain-related metrics. Sign up here for a free API key: https://pro.coinmarketcap.com/signup/?plan=0
什么是 CoinMarketCap MCP?
Access the complete CoinMarketCap API with 20+ basic endpoints and 50+ total, including cryptocurrency market data, exchange information, and other blockchain-related metrics.
Sign up here for a free API key: https://pro.coinmarketcap.com/signup/?plan=0
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.
<p align="center"><img height="512" src=https://github.com/user-attachments/assets/4b2d5f1c-2868-4b9b-8be3-b8ad02b4d331></p>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
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
常见问题
CoinMarketCap MCP 是什么?
Access the complete CoinMarketCap API with 20+ basic endpoints and 50+ total, including cryptocurrency market data, exchange information, and other blockchain-related metrics. Sign up here for a free API key: https://pro.coinmarketcap.com/signup/?plan=0
相关 Skills
Slack动图
by anthropics
面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。
✎ 帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。
MCP构建
by anthropics
聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。
✎ 想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。
接口测试套件
by alirezarezvani
扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。
✎ 帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。
相关 MCP Server
Slack 消息
编辑精选by Anthropic
Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。
✎ 这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。
by netdata
io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。
✎ 这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。
by d4vinci
Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。
✎ 这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。