MCP HubMCP Hub
QuantGeekDev

coincap-mcp

by: QuantGeekDev

A coincap mcp server to access crypto data from coincap API

61created 08/12/2024
Visit
crypto
API

📌Overview

Purpose: Coincap MCP serves as a server that enables users to access cryptocurrency information from Coincap's public API without the need for API keys or registration.

Overview: Coincap MCP provides a seamless way to query real-time data about various cryptocurrencies. It can be easily integrated into the Claude Desktop application, allowing users to retrieve essential information like prices and asset listings effortlessly.

Key Features:

  • Bitcoin Price Tool: This feature retrieves the current price of Bitcoin, demonstrating a straightforward API call to access vital data.

  • Get Crypto Price Tool: Users can obtain the prices of any cryptocurrency listed in the Coincap API, showcasing how to retrieve essential parameters for tools.

  • List Assets: This tool provides a list of all available crypto assets from the Coincap API, facilitating insight into available choices for users.


Coincap MCP

Overview

Coincap MCP allows you to query cryptocurrency information from Coincap's public API without needing API keys or registration.

🚀 Quick Start

Configuration

To get started, add the following configuration to your Claude Desktop config file:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": ["coincap-mcp"]
    }
  }
}

Installation

To install Coincap for Claude Desktop automatically:

npx -y @smithery/cli install coincap-mcp --client claude

Prerequisites

  • Node.js 18+
  • npx

Launch Claude Desktop to begin.

Sample Prompts

  • What is the price of Bitcoin?
  • What are the available crypto assets?
  • What is the market cap of Ethereum?

Tools

  • Bitcoin Price Tool: Fetches the price of Bitcoin.
  • Get Crypto Price Tool: Retrieves the price for any cryptocurrency available on Coincap API.
  • List Assets: Lists all crypto assets available in the Coincap API.

Development

Local Build

To build it locally, update your Claude Desktop config file:

{
  "mcpServers": {
    "coincap-mcp": {
      "command": "/path/to/coincap-mcp/build/index.js"
    }
  }
}

Setup

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

📜 License

This project is licensed under the MIT License. See the LICENSE file for details.