Fetches real-time market sentiment data from CNN's Fear & Greed Index for the US stock market, providing current scores, historical comparisons, and detailed market indicators including market momentum, stock price strength, volatility, and more.
Provides structured output in Markdown format for better readability of Fear & Greed Index data and related market indicators.
MCP Server Fear & Greed Index
A Model Context Protocol (MCP) server that provides access to the CNN Fear & Greed Index for the US stock market. This server fetches real-time market sentiment data and presents it in both structuredContent
and text content
.
Features
- Real-time Fear & Greed Index: Get the current market sentiment score (0-100)
- Historical Comparisons: View previous close, week, month, and year data
- Detailed Market Indicators: Access individual component scores including:
- Market Momentum (S&P 500 & S&P 125)
- Stock Price Strength & Breadth
- Put/Call Options Ratio
- Market Volatility (VIX)
- Junk Bond Demand
- Safe Haven Demand
- Flexible Output: Choose between structured markdown or raw JSON format
Requirements
- Node.js 18 or newer
- VS Code, Cursor, Windsurf, Claude Desktop or any other MCP client
Getting Started
Local (Stdio)
First, install the Fear & Greed MCP server with your client. A typical configuration looks like this:
You can also install the mcp-server-fear-greed MCP server using the VS Code CLI:
After installation, the Fear & Greed MCP server will be available for use with your GitHub Copilot agent in VS Code.
Go to Cursor Settings
-> MCP
-> Add new MCP Server
. Name to your liking, npx mcp-server-fear-greed
. You can also verify config or add command like arguments via clicking Edit
.
Follow Windsurf MCP documentation. Use following configuration:
Follow the MCP install guide, use following configuration:
Remote (SSE / Streamable HTTP)
At the same time, use --port $your_port
arg to start the browser mcp can be converted into SSE and Streamable HTTP Server.
You can use one of the two MCP Server remote endpoint:
- Streamable HTTP(Recommended):
http://127.0.0.1::8089/mcp
- SSE:
http://127.0.0.1::8089/sse
And then in MCP client config, set the url
to the SSE endpoint:
url
to the Streamable HTTP:
In-memory call
If your MCP Client is developed based on JavaScript / TypeScript, you can directly use in-process calls to avoid requiring your users to install the command-line interface to use Fear & Greed MCP.
API Reference
Tool: get_fear_greed_index
Fetches the current Fear & Greed Index and related market indicators.
Parameters
format
(optional): Output format"structured"
(default): Returns formatted markdown with organized data"json"
: Returns raw JSON data
Example Usage
Response Structure
The tool returns data in the following structure:
Fear & Greed Index Ratings
The index uses the following rating scale:
- 0-25: Extreme Fear
- 26-45: Fear
- 46-55: Neutral
- 56-75: Greed
- 76-100: Extreme Greed
Development
Access http://127.0.0.1:6274/:
Error Handling
The server includes comprehensive error handling:
- Network request failures are caught and reported
- Invalid API responses are handled gracefully
- Missing data fields are filled with sensible defaults
- All errors include descriptive messages
This server cannot be installed
A Model Context Protocol server that provides real-time CNN Fear & Greed Index data for the US stock market, including current sentiment scores and historical comparisons.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server that provides tools to search and retrieve economic data series from the Federal Reserve Economic Data (FRED) API.Last updated -25566TypeScript
- AsecurityAlicenseAqualityA mcp server that provides real-time and historical Crypto Fear & Greed Index data.Last updated -333PythonMIT License
- -securityFlicense-qualityProvides real-time access to global stock market data including current prices, historical charts, and company financial information through a Model Context Protocol (MCP) server for AI assistants.Last updated -TypeScript
- AsecurityAlicenseAqualityA Model Context Protocol server providing tools for querying A-share stock market data, including historical prices, financial reports, market indices, and macroeconomic indicators.Last updated -28320PythonMIT License