IDE Setup

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 to get your API key.

  2. 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.

  3. Add the CoinMarketCap MCP server

    In the mcp.json file, add:

    JSONCode
    { "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.

  4. 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:

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

This adds skills for market reports, crypto research, and API integration.

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"