官方说明e, description and text/plain mimetype Tools The server implements two tools: get-currency-listings: Get the latest currency listings get-quotes: Get quotes for tokens Takes "slug" (example: bitcoin) or "symbol" (example: BTC) as optional string argument Configuration Requires coinmarket API key.
配置模板(请按你的客户端调整)
claude mcp add coinmarket-mcp-server -- npx -y coinmarket-mcp-server
Coinmarket MCP Server Components Resources The server implements a few of the Coinmarket API endpoints - Custom coinmarket:// URI scheme for accessing individual notes - Each note resource has a name, description and text/plain mimetype Tools The server implements two tools: - get-currency-listings: Get the latest currency listings - get-quotes: Get quotes for tokens - Takes "slug" (example: bitcoin) or "symbol" (example: BTC) as optional string argument Configuration Requires coinmarket API key. Quickstart Prerequisites - Python 3.12 or higher - uv package manager Install Install uv if you haven't already: Claude Desktop On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json Development/Unpublished Servers Configuration Docker You can also run the server using Docker: For Claude Desktop configuration with Docker: Troubleshooting "spawn uv ENOENT" Error If you see this error, it means uv is not installed or not in your PATH: 1. **Install uv** following the instructions above 2. **Restart your terminal/Claude Desktop** after installation 3. **Verify installation**: Run uv --version in terminal 4. **Update PATH**: Make sure uv is in your system PATH Configuration Issues - Replace /path/to/coinmarket_service with the actual path to your cloned repository - Ensure your COINMARKET_API_KEY is valid - The path should point to the root directory containing pyproject.toml