# CoinMarketCap MCP for Cursor

Use the CoinMarketCap MCP server in Cursor to give your AI assistant access to live crypto prices, market data, technical analysis, and more — directly in your editor.

## Setup

1. **Get your API key**

   Sign up or log in at [pro.coinmarketcap.com](https://pro.coinmarketcap.com/login) to get your API key.

1. **Open MCP settings**

   Use `Cmd + Shift + P` (macOS) or `Ctrl + Shift + P` (Windows/Linux) to open the command palette. Search for **"Open MCP settings"** and select it.

1. **Add the CoinMarketCap MCP server**

   In the `mcp.json` file, add:

   ```json
   {
     "mcpServers": {
       "cmc-mcp": {
         "url": "https://mcp.coinmarketcap.com/mcp",
         "headers": {
           "X-CMC-MCP-API-KEY": "your-api-key"
         }
       }
     }
   }
   ```

   Replace `your-api-key` with your actual CoinMarketCap API key.

1. **Verify the connection**

   In Cursor's chat, ask: **"What tools do you have available?"**

   You should see CoinMarketCap tools listed, such as `search_cryptos`, `get_crypto_quotes_latest`, and `get_global_metrics_latest`.

## Install Skills (optional)

Install CoinMarketCap skills to give Cursor structured workflows for market analysis and token research:

```bash
npx skills add https://github.com/coinmarketcap-official/skills-for-ai-agents-by-CoinMarketCap
```

This adds skills for [market reports](/ai-agent-hub/skills/market-report), [crypto research](/ai-agent-hub/skills/crypto-research), and [API integration](/ai-agent-hub/skills/cmc-api-crypto).

## What you can do

Once connected, ask Cursor things like:

- "What's the current price of Bitcoin?"
- "Give me a market report"
- "Research Solana — fundamentals, holders, technicals"
- "Compare BTC, ETH, and SOL performance"
- "What are the trending crypto narratives right now?"
- "Write a function to fetch the top 100 coins by market cap using the CMC API"
