Skip to main content

Providing real-time and historical Crypto Fear & Greed Index data

Project description

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.

GitHub GitHub last commit Python

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

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?"
  • "Show me the Crypto Fear & Greed Index trend for the last 30 days."

Claude will automatically call the appropriate tools and provide responses.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

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

mseep_crypto_feargreed_mcp-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_crypto_feargreed_mcp-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mseep_crypto_feargreed_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mseep_crypto_feargreed_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b1f2e526ab05a7ae79ba41f62e9784a3ebdebdb5aaed8789543202a93a7320a5
MD5 107c6ef234e23c580330acb16cff19fa
BLAKE2b-256 8930295bcfb726fe2bce7d310426b92c0c7604bf97289f054964d4d3b29ceedd

See more details on using hashes here.

File details

Details for the file mseep_crypto_feargreed_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_crypto_feargreed_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f7fc44b669e99c832bcc4dfd25301a4c2cbe57b24ec16a8d226de039f132ccdb
MD5 c103f2a9a1de2c02f72a4e6e397b80be
BLAKE2b-256 21d489b6c18b2df1ff40c7c8913da8842e065b897d907c52c26ff93e57d88e60

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page