Korean Stock MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
pip install -e .[dev]
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add korean-stock -- node "<FULL_PATH_TO_MCP_KOREAN_STOCK>/dist/index.js"

Replace <FULL_PATH_TO_MCP_KOREAN_STOCK>/dist/index.js with the actual folder you prepared in step 1.

README.md

Provides access to Korean stock market data via FinanceDataReader and Naver APIs

Korean Stock MCP

Python MCP server for Korean stocks with:

  • FinanceDataReader for listings, stock profile fields, and daily OHLCV
  • Naver chart API for 10-minute intraday candles
  • STDIO and HTTP/SSE transports
  • local technical indicator calculation

Features

  • search_korean_stocks
  • get_korean_stock_profile
  • get_korean_stock_daily_history
  • get_korean_stock_intraday_10m
  • get_korean_stock_indicators

Requirements

  • Python 3.11+
  • FinanceDataReader

Install

python3 -m venv .venv
source .venv/bin/activate
pip install -e .[dev]

Run

STDIO

korean-stock-mcp

HTTP

MCP_TRANSPORT=http MCP_HOST=127.0.0.1 MCP_PORT=8000 korean-stock-mcp

Health endpoint:

GET /healthz

JSON-RPC endpoint:

POST /mcp

SSE endpoint:

GET /sse

Tool examples

Search

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_korean_stocks","arguments":{"query":"삼성전자"}}}

Daily history

{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_korean_stock_daily_history","arguments":{"symbol_or_name":"005930","limit_days":30}}}

Intraday 10-minute history

{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_korean_stock_intraday_10m","arguments":{"symbol_or_name":"252670","lookback_days":5}}}

Production deployment

The repository includes:

  • GitHub Actions CI workflow: .github/workflows/ci.yml
  • GitHub Actions deployment workflow for self-hosted runner label macmini: .github/workflows/deploy-macmini.yml
  • launchd template: deploy/launchd/com.ctk03272.mcp-korean-stock.plist

Production runtime expects:

  • MCP_TRANSPORT=http
  • host-local .env
  • deployment root under /Users/<runner-user>/services/mcp-korean-stock
  • launchd starts the service through deploy/run_server.sh, which loads shared/.env before executing Python

Notes

  • Intraday 10-minute data uses an unofficial Naver endpoint and may be delayed or subject to upstream schema changes.
  • Profile fields are limited to what FinanceDataReader exposes in listing datasets.

Tools (5)

search_korean_stocksSearch for Korean stocks by name or symbol.
get_korean_stock_profileRetrieve detailed profile information for a specific Korean stock.
get_korean_stock_daily_historyGet daily OHLCV historical records for a Korean stock.
get_korean_stock_intraday_10mRetrieve 10-minute intraday candle data for a Korean stock.
get_korean_stock_indicatorsCalculate technical indicators for a Korean stock locally.

Environment Variables

MCP_TRANSPORTTransport protocol (stdio or http)
MCP_HOSTHost address for HTTP transport
MCP_PORTPort number for HTTP transport

Configuration

claude_desktop_config.json
{"mcpServers":{"korean-stock":{"command":"korean-stock-mcp"}}}

Try it

Search for Samsung Electronics stock information.
Get the last 30 days of daily history for stock 005930.
Show me the 10-minute intraday candle data for the last 5 days for stock 252670.
Calculate the technical indicators for Samsung Electronics.

Frequently Asked Questions

What are the key features of Korean Stock MCP?

Access to Korean stock listings and profile fields. Daily OHLCV historical data retrieval. 10-minute intraday candle data via Naver API. Local calculation of technical indicators. Support for both STDIO and HTTP/SSE transports.

What can I use Korean Stock MCP for?

Analyzing historical price trends for Korean equities. Monitoring intraday market movements with 10-minute granularity. Automating technical analysis reports for Korean stocks. Integrating Korean market data into AI-driven financial research workflows.

How do I install Korean Stock MCP?

Install Korean Stock MCP by running: pip install -e .[dev]

What MCP clients work with Korean Stock MCP?

Korean Stock MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Korean Stock MCP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare