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

What does this server do?

Allows you to query crypto information from coincap's public API - no API keys or registration required.

🚀 Quick Start

To get started, add this 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"]
    }
  }
}

Installing via Smithery

To install Coincap for Claude Desktop automatically via Smithery:

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

Prerequisites

  • Node.js 18+
  • npx

Then, launch Claude Desktop and you're ready to go!

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

Gets price for Bitcoin specifically, a simple example of a primitive API call tool.

Get Crypto Price Tool

Gets price for any cryptocurrency available on coincap API. Demonstrates how to get mandatory parameter data for your tool calls.

List Assets

Gets a list of all crypto assets available in coincap API.

Development - Local Build

To build it locally, configure:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json

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

Development

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.