
一个MCP(模型上下文协议)工具,利用专为Claude Desktop设计的CoinGecko应用程序API提供加密货币市场数据。
概览
一个MCP(模型上下文协议)工具,利用专为Claude Desktop设计的CoinGecko应用程序API提供加密货币市场数据。 关于如何设置和使用该工具的详细指南,请查看我们的Medium教程:教程:使用Claude Desktop配合Crypto Trader MCP工具获取实时加密货币数据 - 实时加密货币价格数据 - 加密货币的详细市场信息 - 历史价格图表 - 加密货币搜索功能 - 趋势加密货币跟踪 - 全球市场统计 1. 确保你安装的是 Python 3.10 或更高版本 1. 在 Claude Desktop 中配置你的 MCP 设置,将以下内容添加到你的 MCP 配置中: 2. 用你 main.py 文件的完整路径替换路径 3.运行服务器的方法: 4. 在使用Claude Desktop时保持服务器运行 获取实时加密货币价格信息:
概述(AI 翻译)
一个MCP(模型上下文协议)工具,利用专为Claude Desktop设计的CoinGecko应用程序API提供加密货币市场数据。
教程
关于如何设置和使用该工具,请查看我们的Medium教程: 教程:使用 Claude Desktop 配合 Crypto Trader MCP 工具获取实时加密货币数据
特色
- 实时加密货币价格数据
- 加密货币的详细市场信息
- 历史价格图表
- 加密货币搜索功能
- 热门加密货币跟踪
- 全球市场统计
布置
-
确保你安装的是 Python 3.10 或更高版本
-
安装依赖:
与 Claude Desktop 的集成
-
在 Claude Desktop 中配置你的 MCP 设置,将以下内容添加到你的 MCP 配置中:
-
用你 main.py 文件的完整路径替换路径
-
运行服务器的方式:
-
在使用Claude Desktop时保持服务器运行
可用工具
1.get_crypto_price
获取实时加密货币价格信息:
2.get_crypto_market_data
获取加密货币的详细市场信息:
3.get_crypto_historical_data
获取加密货币的历史价格数据:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Crypto Trader MCP Tool for Claude Desktop
An MCP (Model Context Protocol) tool that provides cryptocurrency market data using the CoinGecko API, specifically designed for Claude Desktop.
Tutorial
For a detailed guide on setting up and using this tool, check out our Medium tutorial: Tutorial: Using Claude Desktop with Crypto Trader MCP Tool to Get Real-Time Cryptocurrency Data
Features
- Real-time cryptocurrency price data
- Detailed market information for cryptocurrencies
- Historical price charts
- Cryptocurrency search functionality
- Trending cryptocurrencies tracking
- Global market statistics
Setup
-
Ensure you have Python 3.10 or higher installed
-
Install dependencies:
pip install -r requirements.txt
Integration with Claude Desktop
- Configure your MCP settings in Claude Desktop by adding the following to your MCP configuration:
{
"mcpServers": {
"crypto-trader": {
"command": "py",
"args": ["-3.13", "C:\\Path\\To\\Your\\Crypto-Trader-MCP-ClaudeDesktop\\main.py"]
}
}
}
- Replace the path with the full path to your main.py file
- Run the server using:
py -3.13 main.py
- Keep the server running while using Claude Desktop
Available Tools
1. get_crypto_price
Get real-time cryptocurrency price information:
{
"symbol": "BTC",
"name": "bitcoin",
"price": 65423.12,
"change_24h": 2.5,
"volume_24h": 28345678901,
"market_cap": 1234567890123,
"timestamp": "2025-03-15T10:30:00"
}
2. get_crypto_market_data
Get detailed market information for a cryptocurrency:
{
"symbol": "ETH",
"name": "Ethereum",
"market_cap_rank": 2,
"current_price": 3521.48,
"market_cap": 423456789012,
"total_volume": 15834567890,
"high_24h": 3580.25,
"low_24h": 3475.62,
"price_change_24h": 45.86,
"price_change_percentage_24h": 1.32,
"circulating_supply": 120283456,
"total_supply": 120283456,
"max_supply": null,
"ath": 4878.26,
"ath_date": "2021-11-10T14:24:11.849Z",
"atl": 0.432979,
"atl_date": "2015-10-20T00:00:00.000Z"
}
3. get_crypto_historical_data
Get historical price data for a cryptocurrency:
{
"symbol": "BTC",
"name": "bitcoin",
"days": 30,
"prices": [
{
"date": "2025-02-15T00:00:00",
"price": 62150.23
},
{
"date": "2025-02-16T00:00:00",
"price": 63421.15
}
// ... more data points
]
}
4. search_crypto
Search for cryptocurrencies:
{
"results": [
{
"id": "bitcoin",
"symbol": "BTC",
"name": "Bitcoin"
},
{
"id": "bitcoin-cash",
"symbol": "BCH",
"name": "Bitcoin Cash"
}
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"crypto-trader": {
"command": "py",
"args": ["-3.13", "C:\\Path\\To\\Your\\Crypto-Trader-MCP-ClaudeDesktop\\main.py"]
}
}
}