Server data from the Official MCP Registry
Kiwoom Securities REST API for Korean markets — 236 endpoints, streaming, gated order execution
Kiwoom Securities REST API for Korean markets — 236 endpoints, streaming, gated order execution
This is a well-architected MCP server for the kiwoom Korean stock trading platform with solid security practices. Authentication is properly enforced through kiwoom-cli's existing mechanisms, credential handling is secure, and dangerous operations (order placement) are appropriately gated. The codebase demonstrates good defensive practices including comprehensive input validation, safety checks, and explicit policy enforcement. Minor code quality observations exist but do not materially affect security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-gejyn14-kiwoom-mcp": {
"env": {
"KIWOOM_TOKEN": "your-kiwoom-token-here",
"KIWOOM_DOMAIN": "your-kiwoom-domain-here"
},
"args": [
"kiwoom-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
키움증권 REST API 236종(217 REST + 19 WebSocket)을 Claude Code에 연결하는 플러그인 모음입니다.
시세·차트·계좌·순위·실시간 스트리밍을 대화로 조회하고, 원한다면 주문까지 넣을 수 있습니다.
/plugin marketplace add gejyn14/kiwoom-plugin
그다음 둘 중 하나만 고릅니다.
/plugin install kiwoom@kiwoom # 조회 전용 (권장)
/plugin install kiwoom-trader@kiwoom # 조회 + 주문
두 플러그인은 서로 대체하는 관계입니다. 같이 설치하면 같은 도구가 두 번 등록됩니다. 주문이 필요해지면
kiwoom을 제거하고kiwoom-trader를 설치하세요.
MCP 서버는 uvx로 자동 실행되므로 별도 설치가 없습니다. uv만 있으면 됩니다.
kiwoom에는 주문 도구가 아예 등록되지 않습니다. 설정으로 끄는 것이 아니라 도구 목록에 존재하지 않으므로, 모델이 실수로도 주문을 낼 수 없습니다.
안전 여부를 대화 중이 아니라 설치 시점에 정하는 편이 낫다고 보았습니다.
kiwoom-cli와 같은 자격증명을 씁니다. 이미 설정했다면 추가 작업이 없습니다.
uv tool install kiwoom-cli
kiwoom config setup # appkey/secretkey를 OS 키체인에 저장
kiwoom auth login # 토큰 발급
기본값은 모의투자(mock) 입니다. 실거래로 바꾸려면 kiwoom config set domain prod.
OS 키체인을 읽을 수 없는 곳에서는 호스트에서 발급한 토큰을 주입합니다.
kiwoom auth login # 키체인 있는 호스트에서 발급
export KIWOOM_TOKEN='...' # 발급된 토큰
export KIWOOM_DOMAIN=mock # prod = 실계좌
KIWOOM_TOKEN은 키체인 토큰보다 우선하며, 만료되면 다시 발급해 넣어야 합니다.
삼성전자 지금 얼마야?
내 계좌 상태 정리해줘
오늘 거래량 상위 종목 보여줘
005930 최근 한 달 추세랑 외국인 수급 같이 봐줘
미체결 주문 있어?
내 조건식 돌려서 걸린 종목 알려줘
이번 달 실현손익 정리해줘
kiwoom-trader를 설치했다면:
삼성전자 10주 71000원에 매수 주문 넣어줘
주문은 항상 사전점검 → 미리보기 → 확인 순서로 진행되며, 전송 전에 반드시 내용을 보여주고 승인을 받습니다.
| 스킬 | 언제 |
|---|---|
stock-research | 종목 조사 — 시세, 차트, 수급을 하나로 |
portfolio-review | 계좌·보유종목·평가손익·미체결 점검 |
pnl-report | 실현손익·수익률을 기간별로 정리 |
market-scan | 순위, 업종, 테마, 실시간 시세 |
condition-search | HTS에 저장한 조건식으로 종목 걸러내기 |
kiwoom-setup | 인증·설정 진단 (연결이 안 될 때) |
place-order | 주문 절차 — kiwoom-trader 전용 |
config set, auth login/logout 같은 로컬 설정 변경은 어느 플러그인에서도 차단됩니다. 모델이 도메인을 실거래로 바꾸거나 토큰을 폐기할 수 없습니다.dry_run이 기본값입니다. 전송하려면 명시적으로 꺼야 합니다.client_order_id)로 재시도해도 중복 주문이 나가지 않습니다.meta.env가 실려 있어 모의(mock)인지 실거래(prod)인지 항상 확인할 수 있습니다.이 저장소가 MCP 관련 전부를 담습니다 — 플러그인, 스킬, 그리고 MCP 서버 본체.
kiwoom-plugin/
├── plugins/kiwoom/ 조회 전용 플러그인 + 스킬
├── plugins/kiwoom-trader/ 조회 + 주문 플러그인 + 스킬
└── server/ MCP 서버 (uvx로 직접 실행)
서버는 PyPI에 kiwoom-mcp로 게시되며, 플러그인이 uvx로 실행합니다. 안전장치(주문 확인, dry-run, 멱등키, envelope)는 kiwoom-cli의 것을 그대로 씁니다 — 서버는 kiwoom-cli를 감쌀 뿐 다시 구현하지 않습니다.
MCP 서버만 필요하면 플러그인 없이 직접 실행할 수 있습니다 (Claude Desktop, 다른 MCP 클라이언트 등):
uvx kiwoom-mcp # 조회 전용
uvx kiwoom-mcp --allow-orders # 조회 + 주문
투자 판단과 그 결과는 사용자 본인의 책임입니다. 이 도구는 조회와 주문 실행을 도울 뿐 투자 조언을 하지 않습니다. 실거래 전에 반드시 모의투자로 충분히 검증하세요.
Apache-2.0. kiwoom-cli는 별도의 소스 공개 라이선스를 따릅니다.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.