一个基于MCP的加密货币的行情查询服务器
Project description
Crypto MCP
这是一个基于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.4.tar.gz
(16.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crypto_mcp-0.1.4.tar.gz.
File metadata
- Download URL: crypto_mcp-0.1.4.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0e71bac833d5ca0bfe0505c02105fe4723375d2a6c0350e4f984d2eff733aad
|
|
| MD5 |
c4f757940b2bee35a268944c096a1b6d
|
|
| BLAKE2b-256 |
74edf7fa17bbd3e15c3956210001fd18e6e089c0821d4b1939b41cac1a724f78
|
File details
Details for the file crypto_mcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: crypto_mcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
082d384dd13cda817f5639286dcbc5c718c8ecc02252d2a2fb2083c7ca686c53
|
|
| MD5 |
26e1de2ba1d0a4bacd39262b9db5afe5
|
|
| BLAKE2b-256 |
ff292f3d5d8ad4619cdb0f1630e4df252cc3ffca4fc77a77b0600720c637db13
|