Skip to main content
Glama

crypto_fear_greed

Retrieve the Crypto Fear & Greed Index to gauge market sentiment for informed cryptocurrency investment decisions.

Instructions

Get the current Crypto Fear & Greed Index

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler implementation for the 'crypto_fear_greed' tool.
    server.tool("crypto_fear_greed", "Get the current Crypto Fear & Greed Index", {}, async () => {
      const data = await safeFetch("https://api.alternative.me/fng/?limit=1");
      const fg = data.data[0];
      const label = fg.value_classification;
      return { content: [{ type: "text", text: `**Fear & Greed Index**: ${fg.value}/100 (${label})\nTimestamp: ${new Date(fg.timestamp * 1000).toISOString().split("T")[0]}` }] };
    });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ElromEvedElElyon/claw-mcp-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server