๐ฆ
yummy-research-mcp
Exposes overseas and domestic macro/market statistics as MCP tools, including market sentiment and valuation indices like CNN Fear & Greed and KOSPI Buffett Index.
0 installs
Trust: 34 โ Low
Blockchain
Ask AI about yummy-research-mcp
Powered by Claude ยท Grounded in docs
I know everything about yummy-research-mcp. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
yummy-research-mcp
ํด์ธยท๊ตญ๋ด ๊ฑฐ์/์์ฅ ํต๊ณ๋ฅผ ๋๊ตฌ๋ก ๋ ธ์ถํ๋ MCP server. ์ฒซ ๋ฒ์งธ ๋ฐ์ดํฐ ์ ์ ์์ฅ ์ฌ๋ฆฌ/๋ฐธ๋ฅ์์ด์ ์งํ์ง๋ง, ํฅํ KRXยทDARTยทํ๊ตญ์ํ ECOSยทFRED ๋ฑ์ ๊ฐ์ ํจํด์ผ๋ก ์ถ๊ฐํ๋๋ก ์ค๊ณ.
ํ์ฌ ๋๊ตฌ
| name | ์ค๋ช |
|---|---|
get_cnn_fear_greed | CNN Fear & Greed Index (US) โ ํ์ฌ๊ฐ + ์ผ๋ณ ํ์คํ ๋ฆฌ |
get_kospi_fear_greed | ์ธ๋ฑ์๊ณ ์ฝ์คํผ ๊ณตํฌํ์์ง์ (idxDetail=24501, ์ผ๊ฐ) |
get_kospi_buffett | ์ฝ์คํผ ๋ฒํ์ง์ = ์๊ฐ์ด์ก(20104,D) / ์ง์ 4Q GDP ํฉ(09140,Q) ร 100 |
get_all_indices | ์ ์ ์ ํ ๋ฒ์ ๋ฐํ |
๊ฐ ๋๊ตฌ๋ { name, source, latest, series, ... } ํํ์ JSON์ ๋ฐํ.
๊ฐ๋ฐ ํ๊ฒฝ
uv ๊ธฐ๋ฐ.
cd ~/workspace/yummy-research-mcp
uv sync # ์์กด์ฑ ์ค์น (.venv ์๋ ์์ฑ)
uv run yummy-research-mcp # MCP stdio ์๋ฒ ์คํ
uv run python -m yummy_research_mcp.sources.cnn # ๋จ๋
ํ์น ๋๋ฒ๊น
uv run pytest # ๋ผ์ด๋ธ ์๋ํฌ์ธํธ ์ค๋ชจํฌ ํ
์คํธ
Claude Code / Claude Desktop ๋ฑ๋ก
{
"mcpServers": {
"yummy-research": {
"command": "uv",
"args": [
"--directory",
"/Users/yeom/workspace/yummy-research-mcp",
"run",
"yummy-research-mcp"
]
}
}
}
์ ๋ฐ์ดํฐ ์์ค ์ถ๊ฐ
src/yummy_research_mcp/sources/<source>.py์ ํ์ฒ ์์ฑ โ ์์ ํจ์, JSON-์ง๋ ฌํ ๊ฐ๋ฅํ dict ๋ฐํ.src/yummy_research_mcp/server.py์TOOLS๋ ์ง์คํธ๋ฆฌ์Tool+ ์ฝ๋ฌ๋ธ ์ถ๊ฐ.tests/์ ๋ผ์ด๋ธ ์ค๋ชจํฌ ํ ์คํธ ์ถ๊ฐ.
๋๋ ํ ๋ฆฌ
src/yummy_research_mcp/
__init__.py
http.py # ๊ณตํต urllib ๋ํผ (browser-like UA / Accept-Language)
server.py # MCP stdio ์๋ฒ + ๋๊ตฌ ๋ ์ง์คํธ๋ฆฌ
sources/
cnn.py # CNN Fear & Greed (production.dataviz.cnn.io)
indexergo.py # indexergo.com (์ธ๋ผ์ธ ECharts JSON ํ์ฑ)
tests/
test_fetchers.py
๋ฐ์ดํฐ ์์ค ๋ฉ๋ชจ
- CNN F&G:
production.dataviz.cnn.io/index/fearandgreed/graphdataJSON API. ๋ธ๋ผ์ฐ์ UA +Origin: edition.cnn.com+Refererํ์ (์์ผ๋ฉด 418). - indexergo: ํ์ด์ง ์ธ๋ผ์ธ ECharts
optionJSON์์ ์ฒซseries.data๋ฅผ ๊ท ํ ๊ดํธ ์ค์บ์ผ๋ก ์ถ์ถ. ์ฌ์ดํธ์/ajaxMakeChartPOST ์๋ํฌ์ธํธ๋ณด๋ค ์ ์ HTML ํ์ฑ์ด ์์ ์ ์ด๋ผ ๊ทธ์ชฝ ์ฑํ.
