by longmans
Provides access to CoinMarketCap cryptocurrency listings, market quotes, and detailed coin information for AI-powered applications.
Offers AI agents and applications the ability to retrieve up-to-date cryptocurrency data—including paginated listings, price/market‑cap filters, and detailed coin information—directly from CoinMarketCap via a Model Context Protocol (MCP) endpoint.
COINMARKETCAP_API_KEY or pass --api-key on the command line.python -m coin_api_mcp (or through the configured MCP client).listing-coins, get-coin-info, get-coin-quotes) from your AI or script, supplying the required parameters.Q: Do I need a CoinMarketCap account? A: Yes, a valid API key from CoinMarketCap is required.
Q: What is the maximum number of results per request?
A: Up to 5,000 items can be returned using the limit parameter.
Q: Can I retrieve data in currencies other than USD?
A: Yes, use the convert parameter to specify additional fiat or crypto currencies.
Q: How do I set the API key for Claude.app?
A: Add "COINMARKETCAP_API_KEY": "your_key" under the env section of the MCP server configuration in Claude settings.
Q: Is there a way to debug the server? A: Use the MCP inspector provided with the Model Context Protocol tooling.
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.
listing-coins - Fetches a paginated list of all active cryptocurrencies with the latest market data.
start (integer, optional): Offset the start (1-based index) of the paginated list of items to return.limit (integer, optional): Number of results to return (default: 10, max: 5000).price_min (number, optional): Minimum USD price to filter results.price_max (number, optional): Maximum USD price to filter results.market_cap_min (number, optional): Minimum market cap to filter results.market_cap_max (number, optional): Maximum market cap to filter results.convert (string, optional): Calculate market quotes in multiple currencies.sort (string, optional): Field to sort the list of cryptocurrencies by.sort_dir (string, optional): Direction to order cryptocurrencies (asc or desc).get-coin-info - Retrieves detailed information about a specific cryptocurrency.
id (string, optional): One or more comma-separated CoinMarketCap cryptocurrency IDs.slug (string, optional): A comma-separated list of cryptocurrency slugs.symbol (string, optional): One or more comma-separated cryptocurrency symbols.get-coin-quotes - Fetches the latest market quotes for one or more cryptocurrencies.
id (string, optional): One or more comma-separated cryptocurrency CoinMarketCap IDs.slug (string, optional): A comma-separated list of cryptocurrency slugs.symbol (string, optional): One or more comma-separated cryptocurrency symbols.To install Cryptocurrency Data for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install coin-api-mcp --client claude
Clone this repository and build and install the program with your default Python interpreter (recommended).
git clone https://github.com/longmans/coin_api_mcp.git
cd coin_api_mcp
uv build
uv pip install .
After installation, you can run it as a script using:
python -m coin_api_mcp
The server requires a CoinMarketCap API key to function. You can obtain one from CoinMarketCap's website. The API key can be provided in two ways:
export COINMARKETCAP_API_KEY=your_api_key_here
python -m coin_api_mcp --api-key=your_api_key_here
Add to your Claude settings:
"mcpServers": {
"coin_api": {
"command": "python",
"args": ["-m", "coin_api_mcp"]
},
"env": {
"COINMARKETCAP_API_KEY": "your_api_key_here"
}
}
If you see any issue, you may want to use the full path for the Python interpreter you are using. You can do a which python to find out the exact path if needed.
Remember to set the COINMARKETCAP_API_KEY environment variable or provide it via the --api-key argument.
You can use the MCP inspector to debug the server
We encourage contributions to help expand and improve Coin MCP Server. Whether you want to add new search capabilities, enhance existing functionality, or improve documentation, your input is valuable.
For examples of other MCP servers and implementation patterns, see: https://github.com/modelcontextprotocol/servers
Pull requests are welcome! Feel free to contribute new ideas, bug fixes, or enhancements to make Coin MCP Server even more powerful and useful.
Coin MCP Server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Please log in to share your review and rating for this MCP.
{
"mcpServers": {
"coin-api-mcp": {
"command": "npx",
"args": [
"-y",
"coin-api-mcp"
],
"env": {
"COINMARKETCAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}claude mcp add coin-api-mcp npx -y coin-api-mcpExplore related MCPs that share similar capabilities and solve comparable challenges
by stripe
Integrates Stripe's APIs into LLM‑driven agent workflows via Python and TypeScript libraries, exposing tool definitions compatible with Model Context Protocol for seamless function calling.
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.