Skills cmc-mcp
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bryan-cmc/cmc-mcp" ~/.claude/skills/openclaw-skills-cmc-mcp && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/bryan-cmc/cmc-mcp" ~/.openclaw/skills/openclaw-skills-cmc-mcp && rm -rf "$T"
skills/bryan-cmc/cmc-mcp/SKILL.mdCoinMarketCap 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:
returns price, market cap, volume, percent changes (1h, 24h, 7d, 30d, 90d, 1y), circulating supply, and dominanceget_crypto_quotes_latest
For coin background and links:
returns description, website, social links, explorer URLs, tags, and launch dateget_crypto_info
For technical analysis:
returns moving averages (SMA, EMA), MACD, RSI, Fibonacci levels, and pivot pointsget_crypto_technical_analysis
For recent news:
returns headlines, descriptions, content, URLs, and publish datesget_crypto_latest_news
For holder and distribution data:
returns address counts by holding value, whale vs others distribution, and holder time breakdowns (traders, cruisers, holders)get_crypto_metrics
For concept explanations:
performs semantic search on crypto concepts, whitepapers, and FAQssearch_crypto_info
For overall market health:
returns total market cap, fear/greed index, altcoin season index, BTC/ETH dominance, volume, and ETF flowsget_global_metrics_latest
For derivatives and leverage data:
returns open interest, funding rates, liquidations, and futures vs perpetuals breakdownget_global_crypto_derivatives_metrics
For total market cap technical analysis:
returns TA indicators for the entire crypto market capget_crypto_marketcap_technical_analysis
For trending themes:
returns hot narratives with market cap, volume, performance, and top coins in each narrativetrending_crypto_narratives
For upcoming catalysts:
returns scheduled events like Fed meetings, regulatory deadlines, and major announcementsget_upcoming_macro_events
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,
is critical. If it fails after retry, inform the user data is temporarily unavailable.get_crypto_quotes_latest - For background queries,
failure means note "Project info unavailable" and provide what you can from other toolsget_crypto_info
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