
Crypto Fear & Greed Index MCP Server

2025.03.28
15
Python加密货币市场分析投资决策支持市场情绪监控金融服务
Crypto Fear & Greed Index MCP Server 是一个提供实时和历史加密货币恐惧与贪婪指数数据的服务,由Alternative.me提供支持。该服务通过暴露资源和工具,方便地获取和分析恐惧与贪婪指数,易于集成到MCP兼容的客户端中,包括Claude Desktop。
View on GitHub
Overview
基本能力
产品定位
Crypto Fear & Greed Index MCP Server 专注于提供加密货币市场的情绪指标数据,帮助用户理解市场情绪变化。
核心功能
- 当前指数:获取最新的恐惧与贪婪指数值及其分类。
- 历史数据:获取指定天数的历史指数值。
- 趋势分析:通过统计如平均值和趋势方向分析时间趋势。
- 工具支持:包括所有资源的工具版本,以兼容仅支持工具的MCP客户端。
- 提示生成:提供解释指数值的提示模板。
适用场景
- 加密货币市场分析
- 投资决策支持
- 市场情绪监控
工具列表
get_current_fng_tool() -> str
:获取当前指数,等同于fng://current
。get_historical_fng_tool(days: int) -> str
:获取历史指数数据,等同于fng://history/{days}
。analyze_fng_trend(days: int) -> str
:指数趋势分析。
常见问题解答
- 如何安装?参考安装教程部分。
- 数据来源?由Alternative.me Fear & Greed Index API提供。
使用教程
使用依赖
- Python 3.10+
安装教程
- 克隆仓库:
git clone https://github.com/kukapay/crypto-feargreed-mcp.git
cd crypto-feargreed-mcp
- 为Claude Desktop安装:
mcp install main.py --name "CryptoFearGreed"
然后在Claude Desktop配置中启用。
- 对于其他客户端,添加服务器条目到配置文件:
"mcpServers": {
"crypto-feargreed-mcp": {
"command": "uv",
"args": [
"--directory", "/your/path/to/crypto-feargreed-mcp",
"run",
"main.py"
]
}
}
调试方式
安装完成后,可以询问: - "What's the current Crypto Fear & Greed Index?" - "Show me the Crypto Fear & Greed Index trend for the last 30 days." Claude将自动调用适当的工具并提供响应。