Crypto_mcp

Crypto_mcp

🚀 加密货币 MCP 服务器

这是一个基于模型上下文协议(MCP)的加密货币价格查询服务器,提供了多种工具,可用于获取虚拟币价格、市场趋势、详细信息和K线数据,为用户提供全面的加密货币市场数据支持。

🚀 快速开始

本服务器提供了便捷的安装和使用方式,让你能快速开启加密货币数据查询之旅。

📦 安装指南

通过 pip 安装

pip install crypto_mcp

使用 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 许可证。 MIT 许可证

  • 0 关注
  • 0 收藏,12 浏览
  • system 提出于 2025-09-26 02:18

相似服务问题

相关AI产品