Coin MCP Server

v1.0.0Finance & Fintechstable

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.

coin-mcp-servermcpai-integration
Share:
37
Stars
0
Downloads
0
Weekly
0/5

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

Retrieve cryptocurrency data from CoinMarketCap including listings, quotes, and detailed coin information.
longmans

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMar 23, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx coin-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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

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.

3

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_mcp
4

Add 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"
      }
    }
  }
}
5

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.

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.

Quick Config Preview

{ "mcpServers": { "coin-mcp-server": { "command": "npx", "args": ["-y", "coin-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides