# Kiwoom Securities MCP Server [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ChunSam/kiwoom-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 582  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kiwoom-securities-mcp-server

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "kiwoom-securities-mcp-server": {
    "command": "npx",
    "args": ["-y","kiwoom-mcp-server"],
    "env": {
      "KIWOOM_APP_KEY": "",
      "KIWOOM_APP_SECRET": "",
      "KIWOOM_MODE": "",
      "ISA_ENABLED": "",
      "ISA_TYPE": "",
      "ISA_OPENED_ON": "",
      "MCP_TRANSPORT": "",
      "MCP_AUTH_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `KIWOOM_APP_KEY`, `KIWOOM_APP_SECRET`, `KIWOOM_MODE`, `ISA_ENABLED`, `ISA_TYPE`, `ISA_OPENED_ON`, `MCP_TRANSPORT`, `MCP_AUTH_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Kiwoom Securities MCP Server does

Kiwoom Securities MCP Server MCP server provides read-only access to the Kiwoom Securities REST API through MCP. It covers Korean stock and ETF information, market and sector indexes, investor flows, rankings, order books, themes, gold prices, short selling, lending, credit, foreign ownership, program trading, after-hours data, and execution strength. The server also reads watchlist groups and their securities from Kiwoom HTS data.

Account tools query the account associated with the configured app key. They can return balances, holdings, daily account activity, asset trends, transactions, pending orders, executions, and a trading journal. No tool is provided for buying, selling, modifying orders, or canceling orders, so the server does not change the account.

An optional ISA tool calculates net-profit treatment against the configured tax-free allowance. Its result is intended as a reference: transaction history, dividends, security tax classifications, account type, and overrides affect the calculation.

## Tools and capabilities

The available tools are grouped by purpose rather than requiring separate MCP servers:

- Search securities and retrieve current prices, multi-symbol quotes, candlestick charts, order books, sector data, market indexes, and KRX/NXT-integrated market statistics.
- Screen rankings such as gainers, decliners, volume, value, valuation, investor flows, foreign or institutional activity, unusual movers, and supply concentration.
- Inspect ETFs, including tracking information, tax type, NAV deviation, returns, tracking error, and filters by operator or index.
- Read account balances, positions, transactions, unsettled orders, executions, and daily trading results.
- Read HTS watchlists and theme groups, then inspect their constituent securities.
- Calculate ISA status when ISA support is enabled, with an account-opening date, account type, and optional dividend or tax-type overrides.

A `ping` tool checks connectivity without requiring an app key. The first `search_stock` call downloads a roughly 4,300-security master and may take several seconds; later calls use a 12-hour cache. Responses identify whether they came from the virtual or real trading environment.

## Setup and configuration

Kiwoom Securities MCP Server MCP server requires Node.js 22 or later and a Kiwoom Securities REST API app key and secret. The key must match `KIWOOM_MODE`: use separately issued credentials for `VIRTUAL` and `REAL`. The account number is not entered separately because the account is associated with the app key.

The package can run with `npx -y kiwoom-mcp-server`. A source installation uses `npm install`, a copied `.env.example`, `npm run build`, and `npm test`. Credentials can be supplied through the client’s environment block or a project-root `.env` file. Core settings are `KIWOOM_APP_KEY`, `KIWOOM_APP_SECRET`, and optional `KIWOOM_MODE`.

The default transport is local stdio. HTTP mode uses `MCP_TRANSPORT=http`, a configurable port and host, and `MCP_AUTH_TOKEN` for Bearer authentication. Do not expose unauthenticated HTTP mode to an external network. Enable ISA functionality with `ISA_ENABLED=true`, then set `ISA_TYPE` and `ISA_OPENED_ON` as appropriate.

## Limitations and notes

Kiwoom Securities MCP Server MCP server is for 조회-only use; it cannot edit watchlists because the relevant Kiwoom REST operation is unavailable. Some account and ISA functions do not support simulated trading, including account trends, transactions, and the ISA calculation. Market figures generally use combined KRX and NXT data, while time-and-sales after-hours data is an exception. ISA classifications may need manual correction, and tax results are not the broker’s final settlement.

_Full upstream README: https://allmcps.com/mcp/kiwoom-securities-mcp-server/readme_

