Coin MCP Server
A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data. This server enables AI-powered applications to retrieve cryptocurrency listings, quotes, and detailed information about various coins.
What is Coin MCP Server?
Coin MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server that provides access to coinmarketcap's cryptocurrency data. this server enables ai-powered applications to retrieve cryptocurrency listings, quotes, and detailed informa...
A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data. This server enables AI-powered applications to retrieve cryptocurrency listings, quotes, and detailed information about various coins.
This server falls under the Finance & Fintech category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol server that provides access to Coin
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx coin-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Coin MCP Server
The Coin MCP Server connects AI assistants to CoinMarketCap's real-time cryptocurrency data API, enabling natural-language queries against live market data. It exposes three focused tools for listing active coins, fetching detailed coin metadata, and retrieving market quotes in multiple currencies. Developers and traders use it to ask questions like 'What are the top 20 coins by market cap?' or 'Give me the current BTC price in EUR' directly inside Claude without leaving the chat interface.
Prerequisites
- Python 3.10+ and the uv package manager installed
- A CoinMarketCap API key — obtain a free Basic key at coinmarketcap.com/api/
- An MCP-compatible client such as Claude Desktop
- Git (if installing from source)
Clone and build the package
Clone the repository and build the Python package using uv, which handles dependency resolution and the editable install in one step.
git clone https://github.com/longmans/coin_api_mcp.git
cd coin_api_mcp
uv build
uv pip install .Obtain a CoinMarketCap API key
Visit coinmarketcap.com/api/ and sign up for a free Basic account. Copy the API key from the dashboard — it will be passed to the server as an environment variable.
Verify the server runs correctly
Run the module directly to confirm it starts without errors. The server outputs nothing on success and waits for MCP JSON-RPC messages on stdin.
COINMARKETCAP_API_KEY=your_api_key_here python -m coin_api_mcpAdd the server to your MCP client config
Open claude_desktop_config.json and add the coin_api entry under mcpServers. The COINMARKETCAP_API_KEY env var is the only required configuration.
{
"mcpServers": {
"coin_api": {
"command": "python",
"args": ["-m", "coin_api_mcp"],
"env": {
"COINMARKETCAP_API_KEY": "your_api_key_here"
}
}
}
}Restart Claude Desktop and test
Quit and reopen Claude Desktop so it picks up the new MCP server entry. Once restarted, the coin_api tools appear in the tool list and you can start asking crypto questions.
Coin MCP Server Examples
Client configuration
Full claude_desktop_config.json snippet for the Coin MCP Server using the Python module runner and COINMARKETCAP_API_KEY environment variable.
{
"mcpServers": {
"coin_api": {
"command": "python",
"args": ["-m", "coin_api_mcp"],
"env": {
"COINMARKETCAP_API_KEY": "your_api_key_here"
}
}
}
}Prompts to try
Example natural-language prompts that exercise each of the three tools — listing coins, getting coin info, and fetching quotes.
- "List the top 10 cryptocurrencies by market cap right now"
- "Get detailed information about Solana including its description and website"
- "What is the current price of ETH, BTC, and BNB in USD and EUR?"
- "Show me the top 5 gainers sorted by 24-hour percent change"
- "Fetch market quotes for coin IDs 1 and 1027 in GBP"Troubleshooting Coin MCP Server
Server exits immediately with '401 Unauthorized' error
Your COINMARKETCAP_API_KEY is missing or invalid. Double-check the value in claude_desktop_config.json and ensure there are no leading/trailing spaces. You can test the key directly: curl -H 'X-CMC_PRO_API_KEY: your_key' 'https://pro-api.coinmarketcap.com/v1/cryptocurrency/listings/latest?limit=1'
Module not found error when running python -m coin_api_mcp
The package was not installed into the active Python environment. Run 'uv pip install .' again from the coin_api_mcp directory, or specify the full path to the Python binary in the config: use the output of 'which python' or 'which python3' as the command value.
Claude Desktop shows the server as disconnected after restart
Check the MCP server logs at ~/Library/Logs/Claude/ (macOS). Common causes are a wrong Python path in the command field or a JSON syntax error in claude_desktop_config.json. Validate the JSON with: python3 -m json.tool ~/Library/Application\ Support/Claude/claude_desktop_config.json
Frequently Asked Questions about Coin MCP Server
What is Coin MCP Server?
Coin MCP Server is a Model Context Protocol (MCP) server that model context protocol server that provides access to coinmarketcap's cryptocurrency data. this server enables ai-powered applications to retrieve cryptocurrency listings, quotes, and detailed information about various coins. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Coin MCP Server?
Follow the installation instructions on the Coin MCP Server GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Coin MCP Server?
Coin MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Coin MCP Server free to use?
Yes, Coin MCP Server is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Coin MCP Server Alternatives — Similar Finance & Fintech Servers
Looking for alternatives to Coin MCP Server? Here are other popular finance & fintech servers you can use with Claude, Cursor, and VS Code.
ValueCell
★ 10.7kValueCell is a community-driven, multi-agent platform for financial applications.
Vibe Trading
★ 8.1k'Vibe-Trading: Your Personal Trading Agent'
Quantdinger
★ 6.2kAI quantitative trading platform for crypto, stocks, and forex with backtesting, live trading, market data, and multi-agent research.vibe-trading ,trading-agents,ai-trader,ai-trading
TradingView
★ 2.8kReal-time crypto & stock screening, advanced technical indicators, Bollinger Bands intelligence, candlestick patterns + native Claude Desktop integration. Multi-exchange (Binance, KuCoin, Bybit+). Open-source AI trading infrastructure.
Financial Datasets
★ 2.1kProvides access to comprehensive financial data including income statements, balance sheets, cash flow statements, stock prices, company news, SEC filings, and cryptocurrency information with built-in financial ratio analysis.
Stripe
★ 1.6kThe Stripe Model Context Protocol server allows you to integrate with Stripe APIs through function calling. This protocol supports various tools to interact with different Stripe services.
Browse More Finance & Fintech MCP Servers
Explore all finance & fintech servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Coin MCP Server in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Coin MCP Server?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.