MCP server for cryptocurrency data
## CoinMarketCap MCP Server: Crypto Rankings The **CoinMarketCap MCP Server** integrates CoinMarketCap's cryptocurrency data platform into Google Antigravity, enabling developers to access market rankings, prices, and exchange data through AI-assisted crypto analysis. ### Why CoinMarketCap MCP? - **Industry Standard**: Most visited crypto data site - **Accurate Data**: Aggregated from 300+ exchanges - **Historical Data**: Years of historical price data - **Exchange Rankings**: Verified exchange volume data - **Global Metrics**: Total market cap and dominance ### Key Features #### 1. Market Rankings ```javascript // Get latest listings const listings = await cmc.getLatestListings({ start: 1, limit: 100, convert: "USD", sort: "market_cap" }); // Get specific coin const bitcoin = await cmc.getQuotes({ symbol: "BTC", convert: "USD" }); console.log("Price:", bitcoin.quote.USD.price); console.log("Market Cap:", bitcoin.quote.USD.market_cap); // Get global metrics const global = await cmc.getGlobalMetrics({ convert: "USD" }); console.log("Total Market Cap:", global.quote.USD.total_market_cap); console.log("BTC Dominance:", global.btc_dominance); ``` #### 2. Historical and Exchange Data ```javascript // Get historical quotes const historical = await cmc.getHistoricalQuotes({ symbol: "ETH", time_start: "2024-01-01", time_end: "2024-12-31", interval: "daily" }); // Get exchange rankings const exchanges = await cmc.getExchangeMap({ sort: "volume_24h" }); // Get exchange info const binance = await cmc.getExchangeInfo({ slug: "binance" }); // Get price conversion const converted = await cmc.priceConversion({ amount: 1, symbol: "BTC", convert: "EUR" }); ``` ### Configuration ```json { "mcpServers": { "coinmarketcap": { "command": "npx", "args": ["-y", "@anthropic/mcp-coinmarketcap"], "env": { "CMC_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Market Research**: Research crypto markets and trends. **Price Tracking**: Track crypto prices across exchanges. **Portfolio Valuation**: Calculate portfolio values with accurate data. The CoinMarketCap MCP Server brings crypto rankings to your workflow.
{
"mcpServers": {
"coinmarketcap": {
"mcpServers": {
"coinmarketcap": {
"env": {
"CMC_API_KEY": "YOUR_CMC_API_KEY"
},
"args": [
"-y",
"coinmarketcap-mcp"
],
"command": "npx"
}
}
}
}
}