返回 MCP 目录
public公开dns本地运行

CoinCap实时数据集成平台

Coincap MCP 是一个用于查询加密货币信息的服务器,允许用户通过 Coincap 的公共 API 获取数据,而无需 API 密钥或注册。它支持多种功能,如查询比特币价格、获取任何加密货币的价格以及列出所有可用的加密货币资产。该服务器可通过 Smithery 自动安装,支持 Node.js 18+ 和 npx,适用于 MacOS 和 Windows 系统。开发人员可以在本地构建和运行服务器,支持自动重建功能。项目采用 MIT 许可证,适用于需要快速获取加密货币数据的应用场景。

article

README

Coincap MCP

smithery badge

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.

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端