Kiwoom Securities MCP Server

Read-only MCP server for the Kiwoom Securities REST API: market data, account inquiry, ISA tax tool

Local serverstdio

What is the Kiwoom Securities MCP server?

Connect Kiwoom Securities to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Read-only MCP server for the Kiwoom Securities REST API: market data, account inquiry, ISA tax tool. The kiwoom securities mcp server is what makes that connection.

What the server does

키움증권 REST API를 조회 전용(read-only) 으로 노출하는 MCP 서버입니다. Claude Desktop / Claude Code에서 자연어로 국내 주식 시세·차트·호가·지수·순위·수급과 내 계좌의 잔고·보유 종목·거래내역을 조회할 수 있고, ISA 계좌라면 비과세 한도 대비 손익통산 현황까지 계산해 줍니다.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • search_stock — 종목명→코드 검색 (코스피/코스닥, ETF/ETN 포함) + 투자유의 표시
  • get_stock_price — 현재가/등락률/거래량/기본지표 + 업종·상장일·투자유의
  • get_stock_quotes — 여러 종목(최대 30개) 일괄 시세 — 현재가·등락률·거래량·거래대금·시가총액
  • get_stock_chart — 일/주/월/년/분/틱봉 캔들 차트 (수정주가 반영)
  • get_daily_trading — 일별 거래·수급 — 종가·거래대금 + 개인/기관/외국인 순매수·프로그램·신용비율, 또는 장전/장중/장후 거래 분포
  • get_orderbook — 10단계 매도/매수 호가·잔량
  • get_orderbook_rank — 시장 전체 호가잔량 상위 / 잔량 급증 / 잔량비율 급증 (정규장 중)
  • get_market_index — 코스피/코스닥 종합·업종 지수
  • get_sector_price — 업종 지수 현재가 상세 (등락 구성·52주 고저·시간대별 추이)
  • get_sector_stocks — 업종 구성 종목 시세 (현재가·등락률·거래량·고저가)

Credentials and setup notes

Configuration is passed through the environment: KIWOOM_APP_KEY, KIWOOM_APP_SECRET, KIWOOM_MODE, MCP_AUTH_TOKEN, MCP_HTTP_HOST. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Installation

Installation goes through your MCP client rather than a global install: point it at kiwoom-mcp-server on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Kiwoom Securities's toolset — macOS, Windows, search_stock and 11 more — is a fair guide to whether it matches your workflow. It is maintained by ChunSam; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Kiwoom Securities's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Kiwoom Securities.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
search_stock종목명→코드 검색 (코스피/코스닥, ETF/ETN 포함) + 투자유의 표시
get_stock_price현재가/등락률/거래량/기본지표 + 업종·상장일·투자유의
get_stock_quotes여러 종목(최대 30개) 일괄 시세 — 현재가·등락률·거래량·거래대금·시가총액
get_stock_chart일/주/월/년/분/틱봉 캔들 차트 (수정주가 반영)
get_daily_trading일별 거래·수급 — 종가·거래대금 + 개인/기관/외국인 순매수·프로그램·신용비율, 또는 장전/장중/장후 거래 분포
get_orderbook10단계 매도/매수 호가·잔량
get_orderbook_rank시장 전체 호가잔량 상위 / 잔량 급증 / 잔량비율 급증 (정규장 중)
get_market_index코스피/코스닥 종합·업종 지수
get_sector_price업종 지수 현재가 상세 (등락 구성·52주 고저·시간대별 추이)
get_sector_stocks업종 구성 종목 시세 (현재가·등락률·거래량·고저가)
get_sector_chart업종 지수 일/주/월/년/분/틱봉 캔들 차트
get_sector_flow업종별 투자자 순매수 — 시장 전체 업종의 개인/외국인/기관계 + 증권·투신·연기금·사모

How to install the Kiwoom Securities MCP server

{
  "mcpServers": {
    "kiwoom": {
      "command": "npx",
      "args": ["-y", "kiwoom-mcp-server"],
      "env": {
        "KIWOOM_APP_KEY": "…",
        "KIWOOM_APP_SECRET": "…",
        "KIWOOM_MODE": "REAL"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
KIWOOM_APP_KEYCredential the server authenticates with.Yes
KIWOOM_APP_SECRETCredential the server authenticates with.Yes
KIWOOM_MODEConfiguration value read at startup.Optional
MCP_AUTH_TOKENCredential the server authenticates with.Yes
MCP_HTTP_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • Use Kiwoom Securities to macOS.
  • Use Kiwoom Securities to Windows.
  • Use Kiwoom Securities to search stock.

Frequently asked questions

It connects Kiwoom Securities to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (macOS, Windows, search_stock, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Kiwoom Securities directly.