coinmarket-mcp-server
by: anjor
coinmarket mcp server
📌Overview
Purpose: To provide a reliable server interface for accessing Coinmarket API endpoints related to cryptocurrency data.
Overview: The Coinmarket MCP Server serves as a backend solution for integrating various Coinmarket API functionalities, such as retrieving currency listings and token quotes. It offers a structured approach for developers to access cryptocurrency information seamlessly.
Key Features:
-
Custom URI Scheme: Implements a unique
coinmarket://
URI scheme which allows for easy access to individual notes related to cryptocurrencies, enhancing user experience and navigation. -
Currency Listings Tool: The
get-currency-listings
tool fetches the latest cryptocurrency listings, helping users stay updated with current market trends. -
Quote Retrieval Tool: The
get-quotes
tool retrieves current quotes for specific tokens using either the currency slug or symbol, allowing for flexible data querying.
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 listingsget-quotes
: Get quotes for tokens- Takes "slug" (example: bitcoin) or "symbol" (example: BTC) as optional string argument
Configuration
Requires Coinmarket API key.
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development/Unpublished Servers Configuration
"mcpServers": {
"coinmarket_service": {
"command": "uv",
"args": [
"--directory",
"/Users/anjor/repos/anjor/coinmarket_service",
"run",
"coinmarket_service"
],
"env": {
"COINMARKET_API_KEY": "<insert api key>"
}
}
}