# mcp-server-fear-greed [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ycjcl868/mcp-server-fear-greed  
**GitHub Stars:** 4  
**npm Downloads (last month):** 205  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-server-fear-greed

## Description
A Model Context Protocol (MCP) server that provides access to the CNN Fear & Greed Index for the US stock market.

## Tools
Capabilities this server exposes over MCP:

- **get_fear_greed_index** — Get US stock market Fear & Greed Index data. Returns comprehensive market sentiment analysis including the main composite index and 7 individual indicators (market momentum, stock price strength/breadth, options sentiment, volatility, safe haven demand, junk bond demand). Each indicator includes score (0-100), rating, and timestamp. See schema for detailed field descriptions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-server-fear-greed": {
    "command": "npx",
    "args": ["-y","mcp-server-fear-greed"]
  }
}
```

## Documentation

## What mcp-server-fear-greed does

The mcp-server-fear-greed MCP server connects an MCP client to CNN’s Fear & Greed Index for the US stock market. Its single tool, `get_fear_greed_index`, fetches the current index and related market indicators. The returned index includes a score from 0 to 100, a sentiment rating, a timestamp, and comparisons with the previous close, week, month, and year.

The response also includes component measurements for market momentum based on the S&P 500 and S&P 125, stock price strength, stock price breadth, the put/call options ratio, VIX-based volatility, junk bond demand, and safe-haven demand. Each component can include its own score, rating, and timestamp.

## How it works

Call `get_fear_greed_index` without arguments for the default structured response. The optional `format` parameter accepts `structured` or `json`. Structured output is formatted as organized markdown, while JSON returns the underlying data in a machine-readable form. The server presents results through MCP text content and `structuredContent`.

CNN data is fetched when the tool is called, so the server is intended for current sentiment checks rather than a locally maintained historical database. Ratings map scores to five bands: extreme fear from 0–25, fear from 26–45, neutral from 46–55, greed from 56–75, and extreme greed from 76–100.

## Setup and configuration

The mcp-server-fear-greed MCP server requires Node.js 18 or newer. A standard local setup runs the package through `npx` with the `mcp-server-fear-greed@latest` argument and connects the client over stdio.

For remote use, start the package with a port argument such as `--port 8089`. The server then provides a Streamable HTTP endpoint at `/mcp` and an SSE endpoint at `/sse`. Clients that support the relevant transport can use either endpoint; the documentation recommends Streamable HTTP.

JavaScript and TypeScript applications can also import `createServer` and connect through the MCP SDK’s `InMemoryTransport`, avoiding a separate command-line installation for end users. No environment variables are documented as required.

## Tools and capabilities

The mcp-server-fear-greed MCP server exposes one tool:

- `get_fear_greed_index`: Retrieves the current Fear & Greed Index and its related market indicators.
- `format`: An optional argument selecting structured markdown output or raw JSON.
- Sentiment context: Provides current, previous-close, one-week, one-month, and one-year values.
- Component detail: Reports momentum, breadth, strength, options, volatility, junk-bond, and safe-haven indicators.

The tool can be called from an MCP client or directly through an in-memory JavaScript or TypeScript connection.

## Limitations and notes

This package covers the CNN Fear & Greed Index for the US stock market. The documented functionality does not include trading, order placement, portfolio management, individual stock quotes, or a general market-data query interface.

The returned values depend on the upstream network request and CNN response. Its documented historical comparisons are fixed reference points in the current response rather than a user-selectable time-series query.

_Full upstream README: https://allmcps.com/mcp/mcp-server-fear-greed/readme_

