Skip to main content
Glama
Mrbaeksang

Korea Stock Analyzer MCP Server

by Mrbaeksang

Korea Stock Analyzer MCP Server

English | ํ•œ๊ตญ์–ด


๐Ÿ‡บ๐Ÿ‡ธ English

A comprehensive Korean stock market analysis tool using strategies from 6 legendary investors.

๐ŸŽฏ Two Ways to Use

  1. Local MCP Server (Claude Desktop)

    • Real-time KOSPI/KOSDAQ data via pykrx

    • Python-based accurate Korean market data

  2. 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

  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


Related MCP server: MCP News Collector

๐Ÿ‡ฐ๐Ÿ‡ท ํ•œ๊ตญ์–ด

ํ•œ๊ตญ ์ฃผ์‹ ์‹œ์žฅ ์ „๋ฌธ ๋ถ„์„ ๋„๊ตฌ์ž…๋‹ˆ๋‹ค. ์›Œ๋Ÿฐ ๋ฒ„ํ•, ํ”ผํ„ฐ ๋ฆฐ์น˜ ๋“ฑ 6๋ช…์˜ ์ „์„ค์ ์ธ ํˆฌ์ž์ž๋“ค์˜ ์ „๋žต์„ ํ™œ์šฉํ•ฉ๋‹ˆ๋‹ค.

๐ŸŽฏ ๋‘ ๊ฐ€์ง€ ์‚ฌ์šฉ ๋ฐฉ์‹

  1. ๋กœ์ปฌ MCP ์„œ๋ฒ„ (Claude Desktop)

    • pykrx๋ฅผ ํ†ตํ•œ ์‹ค์‹œ๊ฐ„ KOSPI/KOSDAQ ๋ฐ์ดํ„ฐ

    • Python ๊ธฐ๋ฐ˜ ์ •ํ™•ํ•œ ํ•œ๊ตญ ์‹œ์žฅ ๋ฐ์ดํ„ฐ

  2. 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

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

  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

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mrbaeksang/korea-stock-analyzer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server