Korea Stock Analyzer MCP Server
Provides comprehensive Korean stock market analysis using investment strategies from 6 legendary investors including Warren Buffett and Peter Lynch. Offers real-time KOSPI/KOSDAQ data, technical indicators, DCF valuations, and buy/hold/sell recommendations through natural language queries.
README
Korea Stock Analyzer MCP Server
<a name="english"></a>
๐บ๐ธ English
A Model Context Protocol (MCP) server that provides comprehensive Korean stock market analysis using strategies from 6 legendary investors.
Features
- ๐ Real-time Korean stock data - Direct access to KOSPI/KOSDAQ data via pykrx
- ๐ฏ 6 Investment Strategies - Analysis based on proven methodologies
- ๐ 7 Powerful Tools - Complete toolkit for stock analysis
- ๐ Zero Configuration - Works out of the box
- ๐ฐ๐ท Korean Market Focused - Optimized for Korean equity analysis
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
<a name="korean"></a>
๐ฐ๐ท ํ๊ตญ์ด
6๋ช ์ ์ ์ค์ ์ธ ํฌ์์๋ค์ ์ ๋ต์ ํ์ฉํ ํ๊ตญ ์ฃผ์ ์์ฅ ์ข ํฉ ๋ถ์ MCP ์๋ฒ์ ๋๋ค.
์ฃผ์ ๊ธฐ๋ฅ
- ๐ ์ค์๊ฐ ํ๊ตญ ์ฃผ์ ๋ฐ์ดํฐ - pykrx๋ฅผ ํตํ KOSPI/KOSDAQ ์ง์ ์ ๊ทผ
- ๐ฏ 6๊ฐ์ง ํฌ์ ์ ๋ต - ๊ฒ์ฆ๋ ํฌ์ ๋ฐฉ๋ฒ๋ก ๊ธฐ๋ฐ ๋ถ์
- ๐ 7๊ฐ์ ๊ฐ๋ ฅํ ๋๊ตฌ - ์ฃผ์ ๋ถ์์ ์ํ ์๋ฒฝํ ํดํท
- ๐ ์ค์ ๋ถํ์ - ์ฆ์ ์ฌ์ฉ ๊ฐ๋ฅ
- ๐ฐ๐ท ํ๊ตญ ์์ฅ ํนํ - ํ๊ตญ ์ฃผ์ ๋ถ์์ ์ต์ ํ
์ค์น ๋ฐฉ๋ฒ
๐ ๋ฐฉ๋ฒ 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 ๋ผ์ด์ ์ค - ์์ธํ ๋ด์ฉ์ LICENSE ํ์ผ์ ์ฐธ์กฐํ์ธ์.
๊ฐ์ฌ์ ๋ง
- pykrx - ํ๊ตญ ์ฃผ์ ์์ฅ ๋ฐ์ดํฐ
- Anthropic - Model Context Protocol
- ์ ์ค์ ์ธ ํฌ์์๋ค์ ํฌ์ ์ ๋ต
์ง์
- ๐ ์ด์ ๋ฆฌํฌํธ
- ๐ฌ ํ ๋ก
- โญ ์ ์ฉํ๋ค๋ฉด ์คํ๋ฅผ ๋๋ฌ์ฃผ์ธ์!
๋ฉด์ฑ ์กฐํญ
์ด ๋๊ตฌ๋ ๊ต์ก ๋ฐ ์ฐ๊ตฌ ๋ชฉ์ ์ผ๋ก๋ง ์ฌ์ฉํ์ธ์. ํฌ์ ์กฐ์ธ์ด ์๋๋๋ค. ํฌ์ ๊ฒฐ์ ์ ๋ฐ๋์ ๋ณธ์ธ์ ํ๋จ์ผ๋ก ๊ฒฐ์ ํ์ธ์.
Made with โค๏ธ for Korean stock investors using Claude Desktop
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.