what is Crypto MCP?
Crypto MCP is a cryptocurrency price query server based on the Model Context Protocol (MCP). It provides various tools to obtain virtual currency prices, market trends, detailed information, and K-line data.
how to use Crypto MCP?
To use Crypto MCP, you can install it via pip or Smithery, and configure it in your system to start querying cryptocurrency data.
key features of Crypto MCP?
- Access to real-time cryptocurrency prices
- Market trend analysis tools
- Detailed information retrieval for various cryptocurrencies
- K-line data for market analysis
use cases of Crypto MCP?
- Tracking the current prices of cryptocurrencies.
- Analyzing market trends for investment decisions.
- Retrieving detailed information about specific cryptocurrencies.
- Accessing historical K-line data for technical analysis.
FAQ from Crypto MCP?
- What cryptocurrencies can I query?
You can query a wide range of cryptocurrencies supported by the APIs integrated into Crypto MCP.
- Is Crypto MCP free to use?
Yes! Crypto MCP is open-source and free to use under the MIT license.
- How do I install Crypto MCP?
You can install it using pip or through Smithery as described in the installation section.
Crypto MCP
这是一个基于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许可证。