KC

kukapay/crypto-feargreed-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

52 stars 18 forks 质量 59 趋势 0MIT

kukapay/crypto-feargreed-mcp 是从 https://github.com/kukapay/crypto-feargreed-mcp. 导入的 MCP 候选服务器。

概览

kukapay/crypto-feargreed-mcp 是从 https://github.com/kukapay/crypto-feargreed-mcp. 导入的 MCP 候选服务器。

概述(AI 翻译)

这是一个MCP服务器,提供实时和历史的加密货币恐惧与贪婪指数数据,由 Alternative.me 提供支持。

该服务器提供了获取和分析恐惧与贪婪指数的资源和工具,使其易于集成到兼容MCP的客户端,包括Claude Desktop。

特色

  • 当前索引:检索最新的恐惧与贪婪指数值及分类。
  • 历史数据:获取指定天数的历史索引值。
  • 趋势分析:通过平均值和趋势方向等统计数据分析时间变化的趋势。
  • 仅工具支持:包含所有资源的工具版本,以兼容仅工具的MCP客户端。
  • 提示词生成:提供用于解释索引值的提示模板。

资源

  • fng://current。当前加密货币恐惧与贪婪指数。输出:

  • fng://history/{days}。加密货币恐惧与贪婪指数的历史数据。输出:

工具

  • get_current_fng_tool() -> str。

当前指数。与[[T3]相同。

  • get_historical_fng_tool(days: int) -> str。

历史索引数据。与[[T5]相同]

  • analyze_fng_trend(days: int) -> str。

指数趋势分析。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Crypto Fear & Greed Index MCP Server

A mcp server that provides real-time and historical Crypto Fear & Greed Index data, powered by the Alternative.me.

This server exposes resources and tools for fetching and analyzing the Fear & Greed Index, making it easy to integrate into MCP-compatible clients, including Claude Desktop.

Features

  • Current Index: Retrieve the latest Fear & Greed Index value and classification.
  • Historical Data: Fetch historical index values for a specified number of days.
  • Trend Analysis: Analyze trends over time with statistics like average value and trend direction.
  • Tool-Only Support: Includes tool versions of all resources for compatibility with tool-only MCP clients.
  • Prompt Generation: Provides a prompt template for interpreting index values.

Resources

  • fng://current. Current crypto Fear & Greed Index. Output:
Crypto Fear & Greed Index (as of 2025-03-15 00:00:00 UTC):
Value: 45
Classification: Fear
  • fng://history/{days}. Historical Data of Crypto Fear & Greed Index.Output:
Historical Crypto Fear & Greed Index:
2025-03-15 00:00:00 UTC: 45 (Fear)
2025-03-14 00:00:00 UTC: 48 (Fear)
...

Tools

  • get_current_fng_tool() -> str.

Current Index. Same as fng://current

  • get_historical_fng_tool(days: int) -> str.

Historical Index Data. Same as fng://history/{days}

  • analyze_fng_trend(days: int) -> str.

Index trend Analysis. Output:

Fear & Greed Index Analysis (30 days):
Latest Value: 45 (Fear) at 2025-03-15 00:00:00 UTC
Average Value: 47.3
Trend: falling
Data points analyzed: 30

Prompts

  • interpret_fng

Index Data Interpretation.

Output:

Please interpret this Crypto Fear & Greed Index value and explain what it means for cryptocurrency markets (specifically Bitcoin): 45

Installation

Installing via Smithery

To install Crypto Fear & Greed Index for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @kukapay/crypto-feargreed-mcp --client claude

Clone the repository:

git clone https://github.com/kukapay/crypto-feargreed-mcp.git
cd crypto-feargreed-mcp

Install for Claude Desktop

mcp install main.py --name "CryptoFearGreed"

Then enable it in your Claude Desktop configuration.

For other clients, add a server entry to your configuration file:

"mcpServers": { 
  "crypto-feargreed-mcp": { 
    "command": "uv", 
    "args": [ 
      "--directory", "/your/path/to/crypto-feargreed-mcp", 
      "run", 
      "main.py" 
    ]
  } 
}

Examples

After installation, ask:

  • “What’s the current Crypto Fear & Greed Index?”
在 GitHub 查看完整 README

安装

npx -y @smithery/cli install @kukapay/crypto-feargreed-mcp --client claude
新手?先看 mcpskill.org 教程 →