Back to MCP directory
publicPublicdnsLocal runtime

coincap-mcp

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

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