Skip to main content

一个基于MCP的加密货币价格查询服务器

Project description

Crypto MCP

License

这是一个基于Model Context Protocol (MCP)的加密货币价格查询服务器。它提供了各种工具来获取虚拟币价格、市场趋势、详细信息和K线数据。

目录

安装

通过pip安装

pip install crypto_mcp

手动安装

克隆仓库并安装依赖:

git clone https://github.com/telegramtool/crypto_mcp.git
cd crypto_mcp
pip install -r requirements.txt

使用方法

直接运行

安装后,可以直接使用以下命令运行MCP服务器:

crypto_mcp

在Claude桌面应用中配置

将以下配置添加到Claude桌面客户端的配置文件中:

{
  "mcpServers": {
    "crypto": {
      "command": "crypto_mcp",
      "args": [],
      "env": {}
    }
  }
}

在Cursor中配置

将以下配置添加到~/.cursor/mcp.json文件中:

{
  "mcpServers": {
    "crypto": {
      "command": "crypto_mcp",
      "args": [],
      "env": {}
    }
  }
}

在Windsurf中配置

将以下配置添加到./codeium/windsurf/model_config.json文件中:

{
  "mcpServers": {
    "crypto-price": {
      "command": "crypto_mcp",
      "args": [],
      "env": {}
    }
  }
}

工具

  • get_coin_price - 获取指定虚拟币的当前价格
  • get_trending_coins - 获取当前热门虚拟币列表
  • get_coin_detail - 获取虚拟币的详细信息
  • get_global_market_data - 获取全球加密货币市场数据
  • search_coins - 搜索虚拟币
  • get_common_coins_prices - 获取常见虚拟币的价格信息
  • get_k_line_data - 获取虚拟币的K线数据

资源

许可证

此项目采用MIT许可证。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crypto_mcp-0.1.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crypto_mcp-0.1.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file crypto_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: crypto_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for crypto_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c483bb16c5c78c64caca3c86f7f50a4bb98860c12a59c781dc24aa36db9cf036
MD5 6e4e14e21afb9322fd1c2e629796d5fd
BLAKE2b-256 8965c6575d4e29e158ce2583ec852f58f61f91b4fec11db61fe476884e0c0b07

See more details on using hashes here.

File details

Details for the file crypto_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: crypto_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for crypto_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c252996bb30ff06577cc3783e94f19d60b7e23c028bcb3d9e8ec0c896fb9a39b
MD5 592812951519cd230a8d6723849f9329
BLAKE2b-256 dca3f5f8e03907ac30639bb569195da5ce820a9c67330384e1e0a4c237810120

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page