Skip to main content

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

Metadata

Release files for orange-crypto-feargreed-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orange-crypto-feargreed-mcp 0.1.0
File Size Uploaded
orange_crypto_feargreed_mcp-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orange-crypto-feargreed-mcp 0.1.0
File Interpreter ABI Platform
orange_crypto_feargreed_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / orange_crypto_feargreed_mcp-0.1.0.tar.gz

Download URL orange_crypto_feargreed_mcp-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce7d7d27651bff33ad4446c54d2b049531a3f37bb33df26fccac142067c95d29
BLAKE2b-256 checksum
How to use checksums
3df1e561830eb4dc5f78638477220a389f3cedcb6d1d9472e024a684f12c0119
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / orange_crypto_feargreed_mcp-0.1.0-py3-none-any.whl

Download URL orange_crypto_feargreed_mcp-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5780869ee372ce3996b6105a73cc41afe99d10c2c1f4439b29cd8bb667b68d1
BLAKE2b-256 checksum
How to use checksums
3dcf71cbbbfe5f0af55d437b51705af244c6762205fd7e84262a572072ca0c5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page