MCP Connector Featured

Analyze Korean Stocks with 6 Master Strategies

MCP server for Korean stock analysis using six legendary investor strategies - financials, technicals, and DCF valuation.

Works with githubvercel

91
Spark score
out of 100
Status Verified Official
Updated 10 months ago
Version 1.0.0
Models
claudeuniversal

Add to Favorites

Why it matters

Leverage proven investment strategies from legendary investors to analyze KOSPI/KOSDAQ stocks, providing comprehensive financial and technical insights.

Outcomes

What it gets done

01

Analyze stock financial data (P/E, P/B, ROE, EPS).

02

Perform technical analysis (MA, RSI, MACD).

03

Calculate intrinsic value using DCF models.

04

Monitor news sentiment and institutional flows.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-korea-stock-analyzer | bash

Capabilities

Tools your agent gets

get_financial_data

Analysis of P/E ratio, P/B ratio, EPS, ROE, dividend yield

get_technical_indicators

Technical analysis: MA, RSI, MACD, 52-week high/low

calculate_dcf

Intrinsic value calculation using DCF model

search_news

Latest news and sentiment analysis

get_supply_demand

Analysis of institutional/foreign investor flows

compare_peers

Industry peer comparison analysis

analyze_equity

Comprehensive analysis with all investment strategies

Overview

Korea Stock Analyzer MCP Server

An MCP server for Korean stock market analysis, combining real-time KOSPI/KOSDAQ financial and technical data with DCF valuation, news sentiment, institutional/foreign flow tracking, and six named investor strategies (Buffett, Lynch, Graham, Greenblatt, Fisher, Templeton). Use when analyzing a Korean-listed stock's financials, valuation, or sentiment for educational/research purposes; not investment advice, and not applicable to non-Korean equities.

What it does

A comprehensive Korean stock market analysis tool applying strategies from six legendary investors, usable either as a local MCP server for Claude Desktop with real-time KOSPI/KOSDAQ data via pykrx, or as an HTTP API endpoint for Kakao PlayMCP and web services, deployed serverless on Vercel with real-time data via the Yahoo Finance API and usable directly inside KakaoTalk. Covers real-time stock and financial analysis (PER, PBR, ROE, EPS), technical indicators (RSI, MACD, Bollinger Bands, moving averages), DCF valuation, news and sentiment monitoring, institutional and foreign investor flow tracking, and peer comparison.

When to use - and when NOT to

Use this when analyzing a Korean-listed stock's financials, technicals, fair value, news sentiment, institutional or foreign investor flows, or peer comparison, or applying one of six named investor strategies to an equity.

Not needed for non-Korean equities, or if you want investment advice rather than an analytical tool - the project's own disclaimer states it's for educational and research purposes only, not investment advice, and investment decisions should always be made on your own judgment.

Capabilities

Seven tools: get_financial_data returns PER, PBR, EPS, ROE, and dividend yield. get_technical_indicators returns moving averages, RSI, MACD, and 52-week high/low. calculate_dcf computes DCF-based intrinsic value. search_news returns latest news and sentiment. get_supply_demand analyzes institutional and foreign investor flow. compare_peers runs industry peer comparison. analyze_equity runs a complete analysis applying all six investor strategies. The six investment-master strategies: Warren Buffett (Owner Earnings, ROE focus), Peter Lynch (PEGY ratio), Benjamin Graham (Graham Number valuation), Joel Greenblatt (Magic Formula ranking), Philip Fisher (15-point growth checklist), and John Templeton (maximum-pessimism approach).

{
  "mcpServers": {
    "korea-stock-analyzer": {
      "command": "npx",
      "args": ["-y", "@mrbaeksang/korea-stock-analyzer-mcp"]
    }
  }
}

How to install

Simplest is npx @mrbaeksang/korea-stock-analyzer-mcp, or add the config above to Claude Desktop's claude_desktop_config.json, located at %APPDATA%\Claude\ on Windows or ~/Library/Application Support/Claude/ on macOS. For Claude Code: claude mcp add korea-stock -- npx -y @mrbaeksang/korea-stock-analyzer-mcp. A serverless remote-MCP option runs via mcp-remote against https://korea-stock-analyzer-mcp.vercel.app/api/mcp; it's also installable via Smithery (npx -y @smithery/cli install korea-stock-analyzer --client claude) or usable directly in KakaoTalk via Kakao PlayMCP. Requires Node.js 18+ and Python 3.9+, handled automatically; the server auto-installs the Python dependencies pykrx, pandas, and numpy. For development, clone the repo and run npm install, npm run build or npm run dev, and npm test. The project is MIT-licensed.

Who it's for

Individual investors and researchers analyzing Korean-listed KOSPI/KOSDAQ stocks who want financial, technical, and valuation analysis through Claude Desktop, Claude Code, or KakaoTalk, for educational and research purposes, not as investment advice.

Source README

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

🇰🇷 한국어

한국 주식 시장 전문 분석 도구입니다. 워런 버핏, 피터 린치 등 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

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.