MCP.Market

CNN Fear & Greed Index MCP server

by wildsurfer·io.github.wildsurfer/cnnfag·v2.2.0·2 stars

CNN's Fear & Greed index for the US stock market: score, rating, indicators and daily history.

B80/100grade B
What users say
No reviews yet
Be the first
Safety scan
B80/100

full report

Adoption
New

2 stars

Reviews

Write one

Nobody has reviewed CNN Fear & Greed Index yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

CNN Fear & Greed Index tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-11-04 · same rubric, same numbers if you re-run it

no findings
  • –Code scanpackage could not be scannedn/a
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 58 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 80/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How CNN Fear & Greed Index compares

Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
80/100
higher than 65% of 1,761 Finance servers
GitHub stars
2
more than 80% of 946 Finance servers

Install CNN Fear & Greed Index in Claude Code, Cursor or VS Code

claude mcp add cnnfag -- docker run -i --rm ghcr.io/wildsurfer/cnnfag:2.2.0
Add to Cursor

What the publisher says

From the CNN Fear & Greed Index repository's README, as published. We do not edit it. Read it on GitHub

cnn-fear-and-greed-parse

Go package for CNN's Fear & Greed Index, a 0–100 gauge of US stock market sentiment. It returns the current score and rating, the values for the previous close, week, month and year, about a year of daily history, and the seven component indicators (market momentum, stock price strength, stock price breadth, put/call options, market volatility, junk bond demand, safe haven demand), each with its own score, rating and history of raw values. The module also ships a CLI and an MCP server, and has no dependencies outside the Go standard library.

Install

go get github.com/wildsurfer/cnn-fear-and-greed-parse/v2

Usage

package main

import (
	"context"
	"fmt"

	cnnfag "github.com/wildsurfer/cnn-fear-and-greed-parse/v2"
)

func main() {
	result, err := cnnfag.Get(context.Background())
	if err != nil {
		panic(err)
	}

	fmt.Printf("Now: %.0f (%s)\n", result.Score, result.Rating)
	fmt.Printf("One year ago: %.0f\n", result.OneYearAgo)
	fmt.Printf("History: %d daily points since %s\n",
		len(result.History), result.History[0].Date.Format("2006-01-02"))
	fmt.Printf("VIX indicator: %.0f (%s)\n",
		result.MarketVolatility.Score, result.MarketVolatility.Rating)
}

Output:

Now: 64 (greed)
One year ago: 58
History: 250 daily points since 2025-08-11
VIX indicator: 50 (neutral)

An Indicator's History holds the raw underlying series (the S&P 500 level for momentum, the VIX level for volatility, ratios and spreads for the rest), and its Score is CNN's 0–100 normalization. To use your own http.Client (timeout, proxy), replace cnnfag.HTTPClient.

CLI

For cron jobs and shell pipelines, without writing Go:

go install github.com/wildsurfer/cnn-fear-and-greed-parse/v2/cmd/cnnfag@latest
$ cnnfag
64 (greed) as of 2026-08-11T00:00:00Z
previous close 64 · week ago 60 · month ago 47 · year ago 58

$ cnnfag -json | jq .score
64.3714285714286

-json prints the full result, including the daily history. -timeout changes the request timeout (default 15s).

MCP server

cnnfag mcp runs a Model Context Protocol server over stdio, so AI assistants can query the index. It exposes one tool, getfearandgreed, with an optional includehistory argument. Configuration for MCP clients:

{
  "mcpServers": {
    "cnnfag": {
      "command": "cnnfag",
      "args": ["mcp"]
    }
  }
}

The client must be able to find the binary: use the full path (usually ~/go/bin/cnnfag) if your MCP client does not inherit your shell's PATH. Like the rest of the module, the server is built on the standard library only.

The server is also published to the MCP Registry as io.github.wildsurfer/cnnfag, with a container image at ghcr.io/wildsurfer/cnnfag for clients that prefer Docker over a local binary.

How it works

CNN does not offer a documented public API. This package requests the JSON endpoint that the Fear & Greed page itself uses:

https://production.dataviz.cnn.io/index/fearandgreed/graphdata

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Grade history

  • 2026-11-04downgradeA → Bscore 80

CNN Fear & Greed Index: common questions

Is CNN Fear & Greed Index MCP server safe?
Mostly: it is graded B (80/100). Read the CNN Fear & Greed Index safety report
How do I install CNN Fear & Greed Index?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does CNN Fear & Greed Index need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is CNN Fear & Greed Index maintained?
The last commit was 58 days ago (2026-09-07). The latest release is v2.2.0.
What can I use instead of CNN Fear & Greed Index?
Servers from other publishers that do the same job: Alpha Vantage MCP server, Stock Screener MCP server and Tapetide - Indian Stock Market MCP server.
How does CNN Fear & Greed Index compare with other Finance MCP servers?
safety score 80/100 (higher than 65% of 1,761 Finance servers); github stars 2 (more than 80% of 946 Finance servers). Full comparison.

Alternatives to CNN Fear & Greed Index

Same job from other publishers: the closest match first, then the best rated.

  • Alpha Vantage
    Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
    A
  • Stock Screener
    Daily stock screens, RS ratings, market breadth and group rankings for 12 markets. No API keys.
    A
  • Tapetide - Indian Stock Market MCP
    48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
    A
  • Akshare One
    MCP server that provides access to Chinese stock market data using akshare-one
    A
  • Zwldarren Akshare One
    Provide access to Chinese stock market data including historical prices, real-time data, news, and…
    A