The Crypto Fear & Greed Index MCP Server provides real-time and historical Crypto Fear & Greed Index data powered by Alternative.me. It's designed to integrate seamlessly with MCP-compatible clients, including Claude Desktop, allowing you to access and analyze market sentiment data with ease.
To install automatically via Smithery:
npx -y @smithery/cli install @kukapay/crypto-feargreed-mcp --client claude
git clone https://github.com/kukapay/crypto-feargreed-mcp.git
cd crypto-feargreed-mcp
mcp install main.py --name "CryptoFearGreed"
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"
]
}
}
fng://current
- Current Fear & Greed Indexfng://history/{days}
- Historical data for specified number of daysget_current_fng_tool()
- Current index (same as fng://current
)get_historical_fng_tool(days: int)
- Historical data (same as fng://history/{days}
)analyze_fng_trend(days: int)
- Provides trend analysis over specified daysinterpret_fng
- Generates a prompt for interpreting index valuesAfter installation, you can ask Claude questions like:
Claude will automatically call the appropriate tools and provide responses with the current value, classification, and trend analysis.
Crypto Fear & Greed Index (as of 2025-03-15 00:00:00 UTC):
Value: 45
Classification: Fear
Historical Crypto Fear & Greed Index:
2025-03-15 00:00:00 UTC: 45 (Fear)
2025-03-14 00:00:00 UTC: 48 (Fear)
...
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
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "crypto-feargreed-mcp" '{"command":"uv","args":["--directory","/your/path/to/crypto-feargreed-mcp","run","main.py"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"crypto-feargreed-mcp": {
"command": "uv",
"args": [
"--directory",
"/your/path/to/crypto-feargreed-mcp",
"run",
"main.py"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"crypto-feargreed-mcp": {
"command": "uv",
"args": [
"--directory",
"/your/path/to/crypto-feargreed-mcp",
"run",
"main.py"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect