Back to MCP directory
publicPublicdnsLocal runtime

Coincap

该项目提供了一个无需API密钥即可查询Coincap加密货币数据的MCP服务,支持通过Claude桌面客户端快速获取比特币等加密货币价格、市值等信息。

article

README

🚀 Coincap MCP

Coincap MCP允许你通过Coincap的公共API查询加密货币信息,无需API密钥或注册即可使用,为加密货币信息查询提供了便捷途径。

🚀 快速开始

配置Claude Desktop

要在Claude Desktop上配置这个服务,需将以下配置添加到Claude Desktop配置文件中:

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

使用Smithery自动安装

可通过Smithery自动安装Coincap,命令如下:

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

先决条件

  • Node.js 18+
  • npx

完成上述操作后,启动Claude Desktop即可开始使用!

💻 使用示例

示例提示语

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

✨ 主要特性

工具集

比特币价格工具

可获取比特币的具体价格,这是Coincap API调用的一个简单示例。

获取加密货币价格工具

能获取任何加密货币在Coincap API上的价格,该工具很好地展示了如何获取工具调用所需的必需参数数据。

列出资产

可获取Coincap API上所有可用加密货币资产的列表。

🛠️ 本地构建开发

若要在本地构建,需在配置文件中进行如下设置:

  • 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"
    }
  }
}

🔧 技术细节

开发步骤

安装依赖

npm install

构建服务

npm run build

使用热重载进行开发

npm run watch

📄 许可证

该项目采用MIT许可证,有关详细信息,请参阅LICENSE文件。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client