
CoinMarketCap MCP
一个用于 CoinMarketCap API 的模型上下文协议实现,它提供对加密货币市场数据、交易所信息和区块链指标的标准化访问。
Tools
exchangeMap
Returns a mapping of all exchanges to unique CoinMarketCap IDs.
globalMetricsLatest
Returns the latest global cryptocurrency market metrics.
cryptoCategories
Returns information about all coin categories available on CoinMarketCap.
cryptoCategory
Returns information about a single coin category on CoinMarketCap.
cryptoCurrencyMap
Returns a mapping of all cryptocurrencies to unique CoinMarketCap IDs.
getCryptoMetadata
Returns all static metadata for one or more cryptocurrencies including logo, description, and website URLs.
allCryptocurrencyListings
Returns a paginated list of all active cryptocurrencies with latest market data.
cryptoQuotesLatest
Returns the latest market quote for one or more cryptocurrencies.
dexInfo
Returns all static metadata for one or more decentralised exchanges.
dexListingsLatest
Returns a paginated list of all decentralised cryptocurrency exchanges including the latest aggregate market data.
dexNetworksList
Returns a list of all networks to unique CoinMarketCap ids.
dexSpotPairsLatest
Returns a paginated list of all active dex spot pairs with latest market data.
dexPairsQuotesLatest
Returns the latest market quote for 1 or more spot pairs.
dexPairsOhlcvLatest
Returns the latest OHLCV market values for one or more spot pairs for the current UTC day.
dexPairsOhlcvHistorical
Returns historical OHLCV data along with market cap for any spot pairs using time interval parameters.
dexPairsTradeLatest
Returns up to the latest 100 trades for 1 spot pair.
exchangeAssets
Returns the assets/token holdings of an exchange.
exchangeInfo
Returns metadata for one or more exchanges.
cmc100IndexHistorical
Returns an interval of historic CoinMarketCap 100 Index values based on the interval parameter.
cmc100IndexLatest
Returns the lastest CoinMarketCap 100 Index value, constituents, and constituent weights.
fearAndGreedLatest
Returns the latest CMC Crypto Fear and Greed Index value.
fearAndGreedHistorical
Returns historical CMC Crypto Fear and Greed Index values.
fiatMap
Returns a mapping of all supported fiat currencies to unique CoinMarketCap IDs.
getPostmanCollection
Returns a Postman collection for the CoinMarketCap API.
priceConversion
Convert an amount of one cryptocurrency or fiat currency into one or more different currencies.
keyInfo
Returns API key details and usage stats.
README
CoinMarketCap MCP
一个用于 CoinMarketCap API 的 模型上下文协议 (MCP) 实现,提供了一个标准化的接口,用于访问加密货币市场数据、交易所信息和其他区块链相关指标。
特性
- 完整覆盖 CoinMarketCap API
- 获取最新的加密货币趋势、市场动态和全球市场指标数据
- 通过 Standard 或更高级别的订阅访问详细的 OHLCV 数据
- 使用 Zod 进行类型安全的参数验证
安装
⚠️ 注意: 由于此服务器上提供了大量的端点,建议您安装并设置 Heimdall 以限制暴露给客户端应用程序的端点数量。
如果您没有 API 密钥,请先注册以获得免费的 Basic
密钥 此处。
NPX (推荐)
将以下内容添加到您的 MCP 客户端 config.json
中(如果使用 Heimdall,则为 ~/.heimdall/config.json
):
{
"mcpServers": {
"coinmarketcap": {
"command": "npx",
"args": [
"@shinzolabs/coinmarketcap-mcp"
],
"env": {
"COINMARKETCAP_API_KEY": "your-key-here",
"SUBSCRIPTION_LEVEL": "Basic" // "Basic", "Hobbyist", "Startup", "Standard", "Professional", or "Enterprise"
}
}
}
}
手动下载
- 下载仓库:
git clone https://github.com/shinzo-labs/coinmarketcap-mcp.git
- 安装包(在克隆的仓库内):
pnpm i
- 将以下内容添加到您的 MCP 客户端
config.json
中(如果使用 Heimdall,则为~/.heimdall/config.json
):
{
"mcpServers": {
"coinmarketcap": {
"command": "node",
"args": [
"/path/to/coinmarketcap-mcp/index.js"
],
"env": {
"COINMARKETCAP_API_KEY": "your-key-here",
"SUBSCRIPTION_LEVEL": "Basic" // "Basic", "Hobbyist", "Startup", "Standard", "Professional", or "Enterprise"
}
}
}
}
Smithery
要通过 Smithery 为 Claude Desktop 自动安装:
npx -y @smithery/cli install @shinzo-labs/coinmarketcap-mcp --client claude
支持的端点
订阅级别:Basic(及以上)
加密货币
cryptoCurrencyMap
: 获取所有加密货币的映射getCryptoMetadata
: 获取一个或多个加密货币的元数据allCryptocurrencyListings
: 获取 1-5000 种加密货币的最新市场报价cryptoQuotesLatest
: 获取 1 个或多个加密货币的最新市场报价cryptoCategories
: 获取所有加密货币类别的列表cryptoCategory
: 获取有关加密货币类别的元数据
交易所
exchangeMap
: 获取所有交易所的映射exchangeInfo
: 获取一个或多个交易所的元数据exchangeAssets
: 获取交易所上所有可用资产的列表
DEX
dexInfo
: 获取一个或多个去中心化交易所的元数据dexListingsLatest
: 获取所有 DEX 的最新市场数据dexNetworksList
: 获取具有唯一 ID 的所有网络的列表dexSpotPairsLatest
: 获取所有活跃 DEX 现货交易对的最新市场数据dexPairsQuotesLatest
: 获取现货交易对的最新市场报价dexPairsOhlcvLatest
: 获取现货交易对的最新 OHLCV 数据dexPairsOhlcvHistorical
: 获取现货交易对的历史 OHLCV 数据dexPairsTradeLatest
: 获取现货交易对的最新交易
全球指标
globalMetricsLatest
: 获取最新的全球加密货币指标
指数
cmc100IndexLatest
: 获取最新的 CoinMarketCap 100 指数值和成分股cmc100IndexHistorical
: 获取历史 CoinMarketCap 100 指数值
工具
priceConversion
: 将一种加密货币或法定货币的金额转换为另一种getPostmanCollection
: 获取 API 的 Postman 集合
其他
fiatMap
: 获取所有法定货币的映射keyInfo
: 获取 API 密钥使用情况和状态fearAndGreedLatest
: 获取最新的恐慌与贪婪指数fearAndGreedHistorical
: 获取历史恐慌与贪婪指数值
订阅级别:Hobbyist(及以上)
加密货币
cryptoAirdrops
: 获取所有加密货币空投的列表cryptoAirdrop
: 获取有关特定空投的元数据historicalCryptocurrencyListings
: 获取任何加密货币的历史市场报价cryptoQuotesHistorical
: 获取任何加密货币的历史市场报价cryptoQuotesHistoricalV3
: 获取具有高级时间间隔的历史市场报价
交易所
exchangeQuotesHistorical
: 获取任何交易所的历史报价
全球指标
globalMetricsHistorical
: 获取历史全球加密货币指标
订阅级别:Startup(及以上)
加密货币
newCryptocurrencyListings
: 获取最近添加的加密货币列表cryptoTrendingGainersLosers
: 获取给定时间段内涨幅最大和跌幅最大的加密货币cryptoTrendingLatest
: 获取按搜索量排名的热门加密货币cryptoTrendingMostVisited
: 获取访问量最大的加密货币cryptoOhlcvLatest
: 获取任何加密货币的最新 OHLCV 市场数据cryptoOhlcvHistorical
: 获取任何加密货币的历史 OHLCV 市场数据cryptoPricePerformanceStatsLatest
: 获取任何加密货币的价格表现统计数据
订阅级别:Standard(及以上)
加密货币
cryptoMarketPairsLatest
: 获取任何加密货币的最新市场交易对
交易所
exchangeListingsLatest
: 获取所有交易所的最新市场数据exchangeMarketPairsLatest
: 获取任何交易所的最新市场交易对exchangeQuotesLatest
: 获取一个或多个交易所的最新市场报价
内容
contentLatest
: 获取最新的加密货币新闻和内容contentPostsTop
: 获取热门加密货币帖子contentPostsLatest
: 获取最新的加密货币帖子contentPostsComments
: 获取特定帖子的评论
社区
communityTrendingTopic
: 获取加密货币社区中的热门话题communityTrendingToken
: 获取加密货币社区中的热门代币
订阅级别:Enterprise(及以上)
区块链
blockchainStatisticsLatest
: 获取一个或多个区块链的最新统计数据
贡献
欢迎并鼓励贡献。如有任何问题、意见或疑虑,请联系 austin@shinzolabs.com。
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。