Cover image
Try Now
2025-04-04

CoinMarketCap的MCP实施

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

CoinMarketCap MCP

npm version smithery badge

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

Installation

⚠️ NOTE: Due to the large number of endpoints available on this server, it is recommended that you install and setup Heimdall to limit the number of endpoints exposed to your client applications.

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

NPX (Recommended)

Add the following to your MCP client config.json (~/.heimdall/config.json if using Heimdall):

{
  "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"
      }
    }
  }
}

Manual Download

  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 (~/.heimdall/config.json if using Heimdall):
{
  "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

To install for Claude Desktop automatically via Smithery:

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

Supported Endpoints

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. Contact austin@shinzolabs.com with any questions, comments or concerns.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

  • zhaoyunxing92
  • MCP(消息连接器协议)服务

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

    Reviews

    3 (1)
    Avatar
    user_BJaPJVW6
    2025-04-15

    I've been using the MedifinderMCP Server for a few months now and it's been a game-changer. The platform is incredibly user-friendly and has significantly improved our team’s productivity. The tool’s seamless integration capabilities and efficient handling of large data sets are unmatched. Kudos to MediFinderBot for creating this exceptional product! Highly recommend it!