Real-time cryptocurrency data via CoinGecko
## CoinGecko Crypto MCP Server: Market Data The **CoinGecko Crypto MCP Server** integrates CoinGecko's cryptocurrency data platform into Google Antigravity, enabling developers to access crypto prices, market data, and DeFi metrics through AI-assisted analysis. ### Why CoinGecko MCP? - **Comprehensive Data**: 10,000+ cryptocurrencies tracked - **DeFi Metrics**: TVL, yield farming, and protocol data - **NFT Data**: Floor prices and collection stats - **Free Tier**: Generous free API access - **No API Key Required**: Public endpoints available ### Key Features #### 1. Price and Market Data ```javascript // Get coin price const price = await coingecko.getPrice({ ids: ["bitcoin", "ethereum"], vs_currencies: ["usd", "eur"], include_market_cap: true, include_24hr_change: true }); // Get coin details const bitcoin = await coingecko.getCoin({ id: "bitcoin", localization: false, market_data: true }); // Get market data const markets = await coingecko.getMarkets({ vs_currency: "usd", order: "market_cap_desc", per_page: 100 }); // Get historical data const history = await coingecko.getMarketHistory({ id: "bitcoin", vs_currency: "usd", days: 30 }); ``` #### 2. DeFi and Trending ```javascript // Get trending coins const trending = await coingecko.getTrending(); // Get global DeFi data const defi = await coingecko.getDefiGlobal(); console.log("DeFi Market Cap:", defi.defi_market_cap); console.log("Total TVL:", defi.trading_volume_24h); // Get exchanges const exchanges = await coingecko.getExchanges({ per_page: 50 }); // Get NFT collection const nft = await coingecko.getNFTCollection({ id: "bored-ape-yacht-club" }); ``` ### Configuration ```json { "mcpServers": { "coingecko": { "command": "npx", "args": ["-y", "@anthropic/mcp-coingecko"], "env": { "COINGECKO_API_KEY": "optional-pro-api-key" } } } } ``` ### Use Cases **Portfolio Tracking**: Track crypto portfolio values in real-time. **Market Analysis**: Analyze crypto market trends and metrics. **DeFi Monitoring**: Monitor DeFi protocols and TVL. The CoinGecko MCP Server brings crypto market data to your workflow.
{
"mcpServers": {
"coingecko": {
"mcpServers": {
"coingecko": {
"args": [
"-y",
"crypto-trader-mcp"
],
"command": "npx"
}
}
}
}
}