Crypto_mcp

by telegramtool

3 stars
349 downloads
Not rated
GitHub

About

Crypto MCP is a cryptocurrency price query server built on the Model Context Protocol (MCP). It provides tools for fetching cryptocurrency prices, market trends, detailed coin information, and K‑line (candlestick) data by integrating with CoinGecko, Bitget, and Coinglass APIs…

Details

Author
telegramtool
GitHub stars
3
Downloads
349
Categories
Finance

- Retrieves current price and trending coins via CoinGecko/Bitget
- Fetches detailed coin information and global market data
- Provides K‑line (candlestick) data for spot and contracts
- Searches for coins and gets common coin prices
- Offers Coinglass API tools: position, volume, and exchange distribution data
- Supports multiple installation methods (pip, Smithery, manual)

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Crypto_mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Crypto MCP can be installed via pip install crypto_mcp or automatically through Smithery using npx -y @smithery/cli install @telegramtool/crypto_mcp --client claude. For manual installation, clone the repository and run pip install -r requirements.txt. To configure it in Cursor, add the appropriate JSON block to ~/.cursor/mcp.json (either for uv run -m crypto_mcp or for the Smithery command).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Crypto MCP

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

目录

安装 使用方法 工具 资源 许可证

安装

通过pip安装

``bash pip install crypto_mcp `

安装 via Smithery [推荐]

要安装 Crypto MCP for Claude Desktop 自动通过 Smithery, 执行以下命令:
`bash npx -y @smithery/cli install @telegramtool/crypto_mcp --client claude ` 内含多种安装方式 内含多种安装方式

手动安装

克隆仓库并安装依赖:
`bash git clone https://github.com/telegramtool/crypto_mcp.git cd crypto_mcp pip install -r requirements.txt `

使用方法

在Cursor中配置

将以下配置添加到
~/.cursor/mcp.json文件中: PIP安装: `json { "mcpServers": { "crypto_mcp": { "command": "uv", "args": [ "run", "-m", "crypto_mcp"] } } } ` Smithery安装: `json { "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` - 获取虚拟币在各交易所的持仓分布

资源

CoinGecko API Bitget API

许可证

此项目采用MIT许可证。
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.