Skip to main content

Crypto MCP

License

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

目录

安装

通过pip安装

pip install crypto_mcp

安装 via Smithery [推荐]

要安装 Crypto MCP for Claude Desktop 自动通过 Smithery, 执行以下命令:

npx -y @smithery/cli install @telegramtool/crypto_mcp --client claude

内含多种安装方式

内含多种安装方式

手动安装

克隆仓库并安装依赖:

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

使用方法

在Cursor中配置

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

PIP安装:

{
    "mcpServers": {
        "crypto_mcp": {
            "command": "uv",
            "args": [
                "run",
                "-m",
                "crypto_mcp"]
        }
    }
}

Smithery安装:

{
  "mcpServers": {
    "crypto_mcp": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y",
        "@smithery/cli@latest",
        "run",
        "@telegramtool/crypto_mcp",
        "--config",
        "{}"
      ]
    }
  }
}

工具

CoinGecko和Bitget API工具

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

Coinglass API工具

  • coinglass_get_coin_info - 获取虚拟币的合约市场信息
  • coinglass_get_kline_data - 获取虚拟币合约的K线数据
  • coinglass_get_position_info - 获取虚拟币合约的持仓信息
  • coinglass_get_trade_volume - 获取虚拟币合约的成交量信息
  • coinglass_get_trade_amount - 获取虚拟币的成交额信息
  • coinglass_get_exchange_position - 获取虚拟币在各交易所的持仓分布

资源

许可证

此项目采用MIT许可证。

Metadata

Release files for crypto-mcp 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crypto-mcp 0.1.6
File Size Uploaded Provenance Actions
crypto_mcp-0.1.6.tar.gz 17.8 kB Without provenance Details for crypto_mcp-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crypto-mcp 0.1.6
File Interpreter ABI Platform Actions
crypto_mcp-0.1.6-py3-none-any.whl Python 3 none any Details for crypto_mcp-0.1.6-py3-none-any.whl

Total release size: 34.5 kB

Release files / crypto_mcp-0.1.6.tar.gz

Download URL crypto_mcp-0.1.6.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9c98f03399147ab6128a0219a7409079a8dd8340011b796cfeaf8f7d1f2b179c
BLAKE2b-256 checksum
How to use checksums
4e9546254423d3eb8235ded5247088ef7b20bc4c9dd3dcd0193c91c2097fc201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Release files / crypto_mcp-0.1.6-py3-none-any.whl

Download URL crypto_mcp-0.1.6-py3-none-any.whl
Size 16.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ade2025b5f3c287f2e76484269373f06973332a10a2c4bf0b4cb2d45816d9d0
BLAKE2b-256 checksum
How to use checksums
cb792aaca0d004ad5115433c0eb2023a648d9876a6e67d78f733c06fcf346f4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.0

Security for crypto-mcp 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page