QC

quantgeekdev/coincap-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

93 stars 29 forks 质量 60 趋势 0MIT

quantgeekdev/coincap-mcp 是从 https://github.com/quantgeekdev/coincap-mcp. 导入的 MCP 服务器候选

概览

quantgeekdev/coincap-mcp 是从 https://github.com/quantgeekdev/coincap-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

这个服务器是干什么的?

允许你从 CoinCap 的公开 API 查询加密信息——无需 API 密钥或注册

🚀 快速启动

开始时,将以下配置添加到您的Claude Desktop配置文件中:

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

通过Smithery安装

通过Smithery自动安装Coincap for Claude Desktop:

先决条件

  • Node.js 18+
  • NPX

然后,启动Claude Desktop,你就可以开始使用了!

示例提示

  • 比特币的价格是多少?
  • 有哪些可用的加密资产?
  • 以太坊的市值是多少?

工具

比特币价格工具

专门为比特币获取价格,这是一个原始API调用工具的简单示例

获取加密货币价格工具

获取Coincap API上任何加密货币的价格。这是一个很好的示例,说明如何获取工具调用所需的强制参数数据

列表资产

获取Coincap API中所有可用的加密资产列表

开发 - 本地建设

本地建造:

在 MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json

本页由 AI 翻译,技术细节请以原文为准。

README

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, it’s a simple example of a primitive API call tool

Get Crypto Price Tool

Gets price for any cryptocurrency available on coincap API. It’s a good example of 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:

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

在 GitHub 查看完整 README

安装

npx coincap-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mongodb": { "command": "npx", "args": ["coincap-mcp"] } } }