Mrbaeksang/korea-stock-analyzer-mcp
If you are the rightful owner of korea-stock-analyzer-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that provides comprehensive Korean stock market analysis using strategies from 6 legendary investors.
Korea Stock Analyzer MCP Server
๐บ๐ธ English
A comprehensive Korean stock market analysis tool using strategies from 6 legendary investors.
๐ฏ Two Ways to Use
-
Local MCP Server (Claude Desktop)
- Real-time KOSPI/KOSDAQ data via pykrx
- Python-based accurate Korean market data
-
HTTP API Endpoint (Kakao PlayMCP, Web Services)
- Vercel serverless deployment
- Real-time data via Yahoo Finance API
- Available directly in KakaoTalk
Features
- ๐ Real-time Stock & Financial Analysis - PER, PBR, ROE, EPS
- ๐ Technical Indicators - RSI, MACD, Bollinger Bands, Moving Averages
- ๐ฐ DCF Valuation - Fair value calculation
- ๐ฐ News & Sentiment Analysis - Latest news monitoring
- ๐ข Institutional/Foreign Flow - Smart money tracking
- ๐ Peer Comparison - Industry competitor analysis
- ๐ฏ 6 Investment Master Strategies - Proven investment methodologies
Quick Start
Choose your preferred installation method:
Option 1: NPX (Simplest)
npx @mrbaeksang/korea-stock-analyzer-mcp
Option 2: Claude Desktop
Add to claude_desktop_config.json
:
{
"mcpServers": {
"korea-stock-analyzer": {
"command": "npx",
"args": ["-y", "@mrbaeksang/korea-stock-analyzer-mcp"]
}
}
}
Option 3: Remote MCP (Serverless)
{
"mcpServers": {
"korea-stock-analyzer": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://korea-stock-analyzer-mcp.vercel.app/api/mcp"]
}
}
}
Available Tools
- get_financial_data - PER, PBR, EPS, ROE, dividend yield
- get_technical_indicators - MA, RSI, MACD, 52-week high/low
- calculate_dcf - Intrinsic value calculation
- search_news - Latest news and sentiment
- get_supply_demand - Institutional/foreign investor analysis
- compare_peers - Industry peer comparison
- analyze_equity - Complete analysis with all strategies
Example Usage
"Analyze Samsung Electronics stock"
"Calculate DCF for SK Hynix"
"Compare NAVER with Kakao"
Investment Strategies
- ๐ฉ Warren Buffett - Owner Earnings, ROE focus
- ๐ Peter Lynch - PEGY Ratio analysis
- ๐ผ Benjamin Graham - Graham Number valuation
- ๐ฏ Joel Greenblatt - Magic Formula ranking
- ๐ Philip Fisher - 15-Point growth checklist
- ๐ John Templeton - Maximum pessimism approach
๐ฐ๐ท ํ๊ตญ์ด
ํ๊ตญ ์ฃผ์ ์์ฅ ์ ๋ฌธ ๋ถ์ ๋๊ตฌ์ ๋๋ค. ์๋ฐ ๋ฒํ, ํผํฐ ๋ฆฐ์น ๋ฑ 6๋ช ์ ์ ์ค์ ์ธ ํฌ์์๋ค์ ์ ๋ต์ ํ์ฉํฉ๋๋ค.
๐ฏ ๋ ๊ฐ์ง ์ฌ์ฉ ๋ฐฉ์
-
๋ก์ปฌ MCP ์๋ฒ (Claude Desktop)
- pykrx๋ฅผ ํตํ ์ค์๊ฐ KOSPI/KOSDAQ ๋ฐ์ดํฐ
- Python ๊ธฐ๋ฐ ์ ํํ ํ๊ตญ ์์ฅ ๋ฐ์ดํฐ
-
HTTP API ์๋ํฌ์ธํธ (Kakao PlayMCP, ์น ์๋น์ค)
- Vercel ์๋ฒ๋ฆฌ์ค ๋ฐฐํฌ
- Yahoo Finance API๋ฅผ ํตํ ์ค์๊ฐ ๋ฐ์ดํฐ
- ์นด์นด์คํก์์ ๋ฐ๋ก ์ฌ์ฉ ๊ฐ๋ฅ
์ฃผ์ ๊ธฐ๋ฅ
- ๐ ์ค์๊ฐ ์ฃผ๊ฐ ๋ฐ ์ฌ๋ฌด์ ํ ๋ถ์ - PER, PBR, ROE, EPS
- ๐ ๊ธฐ์ ์ ์งํ ๊ณ์ฐ - RSI, MACD, ๋ณผ๋ฆฐ์ ๋ฐด๋, ์ด๋ํ๊ท ์
- ๐ฐ DCF ๋ฐธ๋ฅ์์ด์ - ์ ์ ์ฃผ๊ฐ ๊ณ์ฐ
- ๐ฐ ๋ด์ค ๋ฐ ๊ฐ์ฑ ๋ถ์ - ์ต์ ๋ด์ค ๋ชจ๋ํฐ๋ง
- ๐ข ์ธ๊ตญ์ธ/๊ธฐ๊ด ์๊ธ ๋ํฅ - ์ค๋งํธ๋จธ๋ ์ถ์
- ๐ ๋์ข ์ ๊ณ ๋น๊ต ๋ถ์ - ๊ฒฝ์์ฌ ๋๋น ํ๊ฐ
- ๐ฏ 6๋ช ์ ํฌ์ ๋๊ฐ ์ ๋ต - ๊ฒ์ฆ๋ ํฌ์ ๋ฐฉ๋ฒ๋ก
์ค์น ๋ฐฉ๋ฒ
๐ ๋ฐฉ๋ฒ 1: NPX ์คํ (๊ฐ์ฅ ๊ฐ๋จ)
# ์ฆ์ ์คํ - ์ค์น ๋ถํ์
npx @mrbaeksang/korea-stock-analyzer-mcp
๐ฆ ๋ฐฉ๋ฒ 2: NPM ๊ธ๋ก๋ฒ ์ค์น
# ๊ธ๋ก๋ฒ ์ค์น
npm install -g @mrbaeksang/korea-stock-analyzer-mcp
# ์คํ
korea-stock-analyzer
๐ค ๋ฐฉ๋ฒ 3: Claude Desktop ์ค์
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"korea-stock-analyzer": {
"command": "npx",
"args": ["-y", "@mrbaeksang/korea-stock-analyzer-mcp"]
}
}
}
๐ ๏ธ ๋ฐฉ๋ฒ 4: Claude Code (์๋ ์ค์ )
claude mcp add korea-stock -- npx -y @mrbaeksang/korea-stock-analyzer-mcp
๐ ๋ฐฉ๋ฒ 5: Remote MCP URL (์๋ฒ๋ฆฌ์ค)
{
"mcpServers": {
"korea-stock-analyzer": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://korea-stock-analyzer-mcp.vercel.app/api/mcp"
]
}
}
}
๐ฌ ๋ฐฉ๋ฒ 6: ์นด์นด์ค PlayMCP ๐
์นด์นด์คํก AI ์ฑํ ์์ ๋ฐ๋ก ์ฌ์ฉ! PlayMCP์์ "ํ๊ตญ์ฃผ์ AI ๋ถ์๊ฐ"๋ฅผ ๊ฒ์ํ์ธ์.
๐ง ๋ฐฉ๋ฒ 7: Smithery ์๋ ์ค์น
npx -y @smithery/cli install korea-stock-analyzer --client claude
์ฌ์ฉ ๊ฐ๋ฅํ ๋๊ตฌ
- get_financial_data - PER, PBR, EPS, ROE, ๋ฐฐ๋น์์ต๋ฅ ์กฐํ
- get_technical_indicators - ์ด๋ํ๊ท , RSI, MACD, 52์ฃผ ์ต๊ณ /์ต์
- calculate_dcf - DCF ๊ธฐ๋ฐ ์ ์ ๊ฐ์น ๊ณ์ฐ
- search_news - ์ต์ ๋ด์ค ๋ฐ ๊ฐ์ฑ ๋ถ์
- get_supply_demand - ๊ธฐ๊ด/์ธ๊ตญ์ธ ์๊ธ ๋ถ์
- compare_peers - ๋์ข ์ ๊ณ ๋น๊ต ๋ถ์
- analyze_equity - ๋ชจ๋ ์ ๋ต์ ํ์ฉํ ์ข ํฉ ๋ถ์
์ฌ์ฉ ์์
"์ผ์ฑ์ ์ ์ฃผ์ ๋ถ์ํด์ค"
"SKํ์ด๋์ค DCF ๊ณ์ฐํด์ค"
"๋ค์ด๋ฒ์ ์นด์นด์ค ๋น๊ตํด์ค"
"ํ๋์ฐจ ์๊ธ ๋ถ์ ๋ณด์ฌ์ค"
"LGํํ ๊ธฐ์ ์ ์งํ ํ์ธ"
ํฌ์ ์ ๋ต
- ๐ฉ ์๋ฐ ๋ฒํ - ์ค๋ ์ด๋์ค, ๋์ ROE ์ค์ฌ
- ๐ ํผํฐ ๋ฆฐ์น - PEGY ๋น์จ ๋ถ์
- ๐ผ ๋ฒค์ ๋ฏผ ๊ทธ๋ ์ด์ - ๊ทธ๋ ์ด์ ์์น ๊ธฐ๋ฐ ํ๊ฐ
- ๐ฏ ์กฐ์ ๊ทธ๋ฆฐ๋ธ๋ผํธ - ๋งค์ง ํฌ๋ฎฌ๋ฌ ์์
- ๐ ํ๋ฆฝ ํผ์ - 15๊ฐ์ง ์ฑ์ฅ์ฑ ์ฒดํฌ๋ฆฌ์คํธ
- ๐ ์กด ํ ํํด - ์ต๋ ๋น๊ด ์์ ํฌ์
์์ค์ฝ๋์์ ๋น๋
# ์ ์ฅ์ ๋ณต์
git clone https://github.com/Mrbaeksang/korea-stock-analyzer-mcp.git
cd korea-stock-analyzer-mcp
# ์์กด์ฑ ์ค์น
npm install
# ๋น๋
npm run build
# ์คํ
npm start
์๊ตฌ์ฌํญ
- Node.js 18 ์ด์
- Python 3.9 ์ด์ (์๋ ์ฒ๋ฆฌ๋จ)
- Claude Desktop (MCP ํตํฉ์ฉ)
Python ์์กด์ฑ
์๋ฒ๊ฐ ์๋์ผ๋ก ํ์ํ Python ํจํค์ง๋ฅผ ์ค์นํฉ๋๋ค:
pykrx
- ํ๊ตญ ์ฃผ์ ์์ฅ ๋ฐ์ดํฐpandas
- ๋ฐ์ดํฐ ์ฒ๋ฆฌnumpy
- ์์น ๊ณ์ฐ
๊ฐ๋ฐ
# ์์กด์ฑ ์ค์น
npm install
# ๊ฐ๋ฐ ๋ชจ๋ ์คํ
npm run dev
# ํ๋ก๋์
๋น๋
npm run build
# ํ
์คํธ ์คํ
npm test
ํ๋ก์ ํธ ๊ตฌ์กฐ
โโโ src/
โ โโโ server.ts # ๋ฉ์ธ MCP ์๋ฒ
โ โโโ services/ # ํต์ฌ ์๋น์ค
โ โ โโโ financial-data.ts # ์ฌ๋ฌด ๋ฐ์ดํฐ
โ โ โโโ market-data.ts # ์์ฅ ๋ฐ์ดํฐ
โ โ โโโ supply-demand.ts # ์๊ธ ๋ถ์
โ โ โโโ python-executor.ts # Python ์คํ
โ โโโ analyzers/ # ํฌ์ ์ ๋ต
โ โโโ buffett.ts # ๋ฒํ ์ ๋ต
โ โโโ lynch.ts # ๋ฆฐ์น ์ ๋ต
โ โโโ graham.ts # ๊ทธ๋ ์ด์ ์ ๋ต
โ โโโ greenblatt.ts # ๊ทธ๋ฆฐ๋ธ๋ผํธ ์ ๋ต
โ โโโ fisher.ts # ํผ์
์ ๋ต
โ โโโ templeton.ts # ํ
ํํด ์ ๋ต
๊ธฐ์ฌํ๊ธฐ
๊ธฐ์ฌ๋ฅผ ํ์ํฉ๋๋ค! Pull Request๋ฅผ ๋ณด๋ด์ฃผ์ธ์.
๋ผ์ด์ ์ค
MIT ๋ผ์ด์ ์ค - ์์ธํ ๋ด์ฉ์ ํ์ผ์ ์ฐธ์กฐํ์ธ์.
๊ฐ์ฌ์ ๋ง
- pykrx - ํ๊ตญ ์ฃผ์ ์์ฅ ๋ฐ์ดํฐ
- Anthropic - Model Context Protocol
- ์ ์ค์ ์ธ ํฌ์์๋ค์ ํฌ์ ์ ๋ต
์ง์
- ๐ ์ด์ ๋ฆฌํฌํธ
- ๐ฌ ํ ๋ก
- โญ ์ ์ฉํ๋ค๋ฉด ์คํ๋ฅผ ๋๋ฌ์ฃผ์ธ์!
๋ฉด์ฑ ์กฐํญ
์ด ๋๊ตฌ๋ ๊ต์ก ๋ฐ ์ฐ๊ตฌ ๋ชฉ์ ์ผ๋ก๋ง ์ฌ์ฉํ์ธ์. ํฌ์ ์กฐ์ธ์ด ์๋๋๋ค. ํฌ์ ๊ฒฐ์ ์ ๋ฐ๋์ ๋ณธ์ธ์ ํ๋จ์ผ๋ก ๊ฒฐ์ ํ์ธ์.
Made with โค๏ธ for Korean stock investors using Claude Desktop