CoinMarketCap MCP Skill
You have access to CoinMarketCap data through MCP tools. Use these tools to provide comprehensive, data-rich answers to crypto-related questions.
Prerequisites
Before using CMC tools, verify the MCP connection is working. If tools fail or return connection errors, ask the user to set up the MCP connection:
{
"mcpServers": {
"cmc-mcp": {
"url": "https://mcp.coinmarketcap.com/mcp",
"headers": {
"X-CMC-MCP-API-KEY": "your-api-key"
}
}
}
}
Get your API key from https://pro.coinmarketcap.com/login
Core Principle
Err on the side of fetching more data. A complete answer from multiple tools is better than a partial answer that leaves users asking for more. When in doubt, call additional tools to gather comprehensive data.
Workflow
1. Always Search First
When a user mentions a cryptocurrency by name or symbol, search for it first to get the ID:
User: "How is Solana doing?"
→ Call search_cryptos with query "solana"
→ Get ID (e.g., 5426)
→ Then call other tools using that ID
Most tools require the numeric CMC ID, not the name or symbol. The search tool returns: id, name, symbol, slug, and rank.
2. Batch Requests When Useful
When dealing with multiple coins, batch the requests:
User: "Compare BTC, ETH, and SOL"
→ Search for each to get IDs: 1, 1027, 5426
→ Call get_crypto_quotes_latest with id="1,1027,5426"
This is more efficient than separate calls and allows for direct comparison in the response.
3. Match Tools to Query Type
For price and market data:
get_crypto_quotes_latest returns price, market cap, volume, percent changes (1h, 24h, 7d, 30d, 90d, 1y), circulating supply, and dominance
For coin background and links:
get_crypto_info returns description, website, social links, explorer URLs, tags, and launch date
For technical analysis:
get_crypto_technical_analysis returns moving averages (SMA, EMA), MACD, RSI, Fibonacci levels, and pivot points
For recent news:
get_crypto_latest_news returns headlines, descriptions, content, URLs, and publish dates
For holder and distribution data:
get_crypto_metrics returns address counts by holding value, whale vs others distribution, and holder time breakdowns (traders, cruisers, holders)
For concept explanations:
search_crypto_info performs semantic search on crypto concepts, whitepapers, and FAQs
For overall market health:
get_global_metrics_latest returns total market cap, fear/greed index, altcoin season index, BTC/ETH dominance, volume, and ETF flows
For derivatives and leverage data:
get_global_crypto_derivatives_metrics returns open interest, funding rates, liquidations, and futures vs perpetuals breakdown
For total market cap technical analysis:
get_crypto_marketcap_technical_analysis returns TA indicators for the entire crypto market cap
For trending themes:
trending_crypto_narratives returns hot narratives with market cap, volume, performance, and top coins in each narrative
For upcoming catalysts:
get_upcoming_macro_events returns scheduled events like Fed meetings, regulatory deadlines, and major announcements
Error Handling
If search returns no results:
- Report that the coin was not found
- Ask the user to clarify or check the spelling
- Suggest alternatives if the query might be ambiguous
If a tool fails or times out:
- Retry once for transient errors
- If still failing, note which data is unavailable and proceed with other tools
- For price queries,
get_crypto_quotes_latest is critical. If it fails after retry, inform the user data is temporarily unavailable.
- For background queries,
get_crypto_info failure means note "Project info unavailable" and provide what you can from other tools
If rate limited (429 error):
- Inform the user the API is rate limited
- Suggest waiting a moment before retrying
- Consider if fewer tool calls could answer the question
Adapting to User Sophistication
Read context cues from the user's query:
- Casual questions ("how's bitcoin doing?") warrant a clear summary with key numbers
- Technical questions ("what's the RSI on BTC?") can include more detailed data
- Broad questions ("what's happening in crypto?") benefit from market-wide tools like global metrics and trending narratives
1---
2name: cmc-mcp
3description: |
4 Fetches cryptocurrency market data, prices, technical analysis, news, and trends using the CoinMarketCap MCP.
5 Use for ANY question involving cryptocurrencies, tokens, or blockchain markets, even if the user doesn't explicitly ask for data. This includes price checks, portfolio questions, market analysis, coin comparisons, holder metrics, technical indicators, and news.
6 Trigger: "bitcoin", "ETH", "crypto", "token price", "market cap", "how is [coin] doing", "/cmc-mcp"
7license: MIT
8compatibility: ">=1.0.0"
9homepage: https://github.com/coinmarketcap/skills-for-ai-agents-by-CoinMarketCap
10source: https://github.com/coinmarketcap/skills-for-ai-agents-by-CoinMarketCap
11user-invocable: true
12requires-credentials:
13 - name: X-CMC-MCP-API-KEY
14 description: CoinMarketCap API key for MCP access
15 obtain-from: https://pro.coinmarketcap.com/login
16 storage: MCP server configuration (mcpServers in settings)
17allowed-tools:
18 - mcp__cmc-mcp__search_cryptos
19 - mcp__cmc-mcp__get_crypto_quotes_latest
20 - mcp__cmc-mcp__get_crypto_info
21 - mcp__cmc-mcp__get_crypto_metrics
22 - mcp__cmc-mcp__get_crypto_technical_analysis
23 - mcp__cmc-mcp__get_crypto_latest_news
24 - mcp__cmc-mcp__search_crypto_info
25 - mcp__cmc-mcp__get_global_metrics_latest
26 - mcp__cmc-mcp__get_global_crypto_derivatives_metrics
27 - mcp__cmc-mcp__get_crypto_marketcap_technical_analysis
28 - mcp__cmc-mcp__trending_crypto_narratives
29 - mcp__cmc-mcp__get_upcoming_macro_events
30metadata:
31 source: https://skillmd.com/skills/modbender/cmc-mcp
32---
33
34# CoinMarketCap MCP Skill
35
36You have access to CoinMarketCap data through MCP tools. Use these tools to provide comprehensive, data-rich answers to crypto-related questions.
37
38## Prerequisites
39
40Before using CMC tools, verify the MCP connection is working. If tools fail or return connection errors, ask the user to set up the MCP connection:
41
42```json
43{
44 "mcpServers": {
45 "cmc-mcp": {
46 "url": "https://mcp.coinmarketcap.com/mcp",
47 "headers": {
48 "X-CMC-MCP-API-KEY": "your-api-key"
49 }
50 }
51 }
52}
53```
54
55Get your API key from https://pro.coinmarketcap.com/login
56
57## Core Principle
58
59Err on the side of fetching more data. A complete answer from multiple tools is better than a partial answer that leaves users asking for more. When in doubt, call additional tools to gather comprehensive data.
60
61## Workflow
62
63### 1. Always Search First
64
65When a user mentions a cryptocurrency by name or symbol, search for it first to get the ID:
66
67```
68User: "How is Solana doing?"
69→ Call search_cryptos with query "solana"
70→ Get ID (e.g., 5426)
71→ Then call other tools using that ID
72```
73
74Most tools require the numeric CMC ID, not the name or symbol. The search tool returns: id, name, symbol, slug, and rank.
75
76### 2. Batch Requests When Useful
77
78When dealing with multiple coins, batch the requests:
79
80```
81User: "Compare BTC, ETH, and SOL"
82→ Search for each to get IDs: 1, 1027, 5426
83→ Call get_crypto_quotes_latest with id="1,1027,5426"
84```
85
86This is more efficient than separate calls and allows for direct comparison in the response.
87
88### 3. Match Tools to Query Type
89
90**For price and market data:**
91- `get_crypto_quotes_latest` returns price, market cap, volume, percent changes (1h, 24h, 7d, 30d, 90d, 1y), circulating supply, and dominance
92
93**For coin background and links:**
94- `get_crypto_info` returns description, website, social links, explorer URLs, tags, and launch date
95
96**For technical analysis:**
97- `get_crypto_technical_analysis` returns moving averages (SMA, EMA), MACD, RSI, Fibonacci levels, and pivot points
98
99**For recent news:**
100- `get_crypto_latest_news` returns headlines, descriptions, content, URLs, and publish dates
101
102**For holder and distribution data:**
103- `get_crypto_metrics` returns address counts by holding value, whale vs others distribution, and holder time breakdowns (traders, cruisers, holders)
104
105**For concept explanations:**
106- `search_crypto_info` performs semantic search on crypto concepts, whitepapers, and FAQs
107
108**For overall market health:**
109- `get_global_metrics_latest` returns total market cap, fear/greed index, altcoin season index, BTC/ETH dominance, volume, and ETF flows
110
111**For derivatives and leverage data:**
112- `get_global_crypto_derivatives_metrics` returns open interest, funding rates, liquidations, and futures vs perpetuals breakdown
113
114**For total market cap technical analysis:**
115- `get_crypto_marketcap_technical_analysis` returns TA indicators for the entire crypto market cap
116
117**For trending themes:**
118- `trending_crypto_narratives` returns hot narratives with market cap, volume, performance, and top coins in each narrative
119
120**For upcoming catalysts:**
121- `get_upcoming_macro_events` returns scheduled events like Fed meetings, regulatory deadlines, and major announcements
122
123## Error Handling
124
125**If search returns no results:**
1261. Report that the coin was not found
1272. Ask the user to clarify or check the spelling
1283. Suggest alternatives if the query might be ambiguous
129
130**If a tool fails or times out:**
1311. Retry once for transient errors
1322. If still failing, note which data is unavailable and proceed with other tools
1333. For price queries, `get_crypto_quotes_latest` is critical. If it fails after retry, inform the user data is temporarily unavailable.
1344. For background queries, `get_crypto_info` failure means note "Project info unavailable" and provide what you can from other tools
135
136**If rate limited (429 error):**
1371. Inform the user the API is rate limited
1382. Suggest waiting a moment before retrying
1393. Consider if fewer tool calls could answer the question
140
141## Adapting to User Sophistication
142
143Read context cues from the user's query:
144- Casual questions ("how's bitcoin doing?") warrant a clear summary with key numbers
145- Technical questions ("what's the RSI on BTC?") can include more detailed data
146- Broad questions ("what's happening in crypto?") benefit from market-wide tools like global metrics and trending narratives