MCP HubMCP Hub
anjor

coinmarket-mcp-server

by: anjor

coinmarket mcp server

30created 29/11/2024
Visit
crypto
market

📌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

Overview

The Coinmarket MCP Server implements a selection of Coinmarket API endpoints.

Components

Resources

  • Custom coinmarket:// URI scheme for accessing individual notes.
  • Each note resource includes a name, description, and text/plain mimetype.

Tools

The server provides the following tools:

  • get-currency-listings: Retrieves the latest currency listings.
  • get-quotes: Obtains quotes for tokens using an optional string argument for "slug" (e.g., bitcoin) or "symbol" (e.g., BTC).

Configuration

The server requires a Coinmarket API key for operation.

Quickstart

Installation

Claude Desktop

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • 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>"
    }
  }
}