Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
제작자가 쓴 설명(영어 원문)
CNN's Fear & Greed index for the US stock market: score, rating, indicators and daily history.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"cnnfag": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/wildsurfer/cnnfag:2.2.0"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add cnnfag -- docker run -i --rm ghcr.io/wildsurfer/cnnfag:2.2.0프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"cnnfag": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/wildsurfer/cnnfag:2.2.0"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"cnnfag": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/wildsurfer/cnnfag:2.2.0"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 wildsurfer 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(2.2.0)은 3개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.
같은 카테고리에는: Finance Toolkit, SolidInvoice, Korea Tax Calculator
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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.
go get github.com/wildsurfer/cnn-fear-and-greed-parse/v2
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.
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).
cnnfag mcp runs a Model Context Protocol server over stdio, so AI assistants can query the index. It exposes one tool, get_fear_and_greed, with an optional include_history 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.
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
The endpoint rejects requests that do not look like they come from a browser, so the package sends browser-like User-Agent and Referer headers. This is the same data source used by the known wrappers in other languages.
A scheduled CI job runs the test suite against the real endpoint once a week, so a change on CNN's side is detected within days.
v2 is a full rewrite: CNN removed the HTML page that v1 parsed, so v1 stopped working and its data model no longer matches what CNN publishes. Update the import path first:
import cnnfag "github.com/wildsurfer/cnn-fear-and-greed-parse/v2"
Then adjust the calls:
| v1 | v2 |
|---|---|
cnnfag.Parse() | cnnfag.Get(ctx), takes a context.Context |
Result.Now.Value (int) | Result.Score (float64) |
Result.Now.Text | Result.Rating |
Result.PreviousClose.Value (int) | Result.PreviousClose (float64) |
Result.OneWeekAgo.Value, .OneMonthAgo.Value, .OneYearAgo.Value | same field names, now plain float64 |
Result.PreviousClose.Text and other past-period labels | removed; CNN's API has no labels for past periods, but every History point carries a rating |
Result.LastUpdateDate | Result.Timestamp, now an exact time from CNN instead of a parsed guess |
Result.ImageURL, Result.GetImageBytes() | removed; the needle image no longer exists |
ErrHTTPNon200 | ErrUnexpectedStatus, check with errors.Is |
ErrEmptyField | ErrEmptyResult |
ErrImgLoadNon200, ErrReadingBytes | removed with the image API |
| — | Result.History is new: about a year of daily scores |
Scores changed from rounded integers to the exact floats CNN serves, so 44 in v1 corresponds to something like 43.71 in v2. Round with %.0f or math.Round if you need the old look.
v1 (2021) parsed the HTML of money.cnn.com/data/fear-and-greed with goquery and could also download the index needle image. CNN removed that page, which broke parsing, and the image no longer exists. v2 (2026) is a rewrite on the JSON endpoint with a smaller API, historical data and zero dependencies. The last v1 release is tagged v1.2.0.
This package is not affiliated with or endorsed by CNN. The Fear & Greed Index and its values belong to CNN (Warner Bros. Discovery). The MIT license covers only the code in this repository and gives you no rights to CNN's data. CNN's Terms of Use permit personal use of site content and restrict commercial exploitation. If you use this data in a product, compliance is your responsibility, and the endpoint can change or disappear at any time.
MIT