Korea Stock Analyzer MCP Server

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.

Category
Visit Server

README

Korea Stock Analyzer MCP Server

English | ํ•œ๊ตญ์–ด


<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

  1. get_financial_data - PER, PBR, EPS, ROE, dividend yield
  2. get_technical_indicators - MA, RSI, MACD, 52-week high/low
  3. calculate_dcf - Intrinsic value calculation
  4. search_news - Latest news and sentiment
  5. get_supply_demand - Institutional/foreign investor analysis
  6. compare_peers - Industry peer comparison
  7. 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

์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ๋„๊ตฌ

  1. get_financial_data - PER, PBR, EPS, ROE, ๋ฐฐ๋‹น์ˆ˜์ต๋ฅ  ์กฐํšŒ
  2. get_technical_indicators - ์ด๋™ํ‰๊ท , RSI, MACD, 52์ฃผ ์ตœ๊ณ /์ตœ์ €
  3. calculate_dcf - DCF ๊ธฐ๋ฐ˜ ์ ์ •๊ฐ€์น˜ ๊ณ„์‚ฐ
  4. search_news - ์ตœ์‹  ๋‰ด์Šค ๋ฐ ๊ฐ์„ฑ ๋ถ„์„
  5. get_supply_demand - ๊ธฐ๊ด€/์™ธ๊ตญ์ธ ์ˆ˜๊ธ‰ ๋ถ„์„
  6. compare_peers - ๋™์ข…์—…๊ณ„ ๋น„๊ต ๋ถ„์„
  7. 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

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.

Official
Featured
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

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.

Official
Featured
Python
graphlit-mcp-server

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.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured