AI 에이전트로 주식 시세를 보고 주문까지 넣을 수 있을까?Can an AI agent check stock prices and place orders in Korea?
지금 가능Works today
한국투자증권과 키움증권은 공식 MCP를, 토스증권은 공식 Open API를 제공해 Claude 같은 에이전트가 시세·잔고 조회와 주문을 호출할 수 있습니다. 다만 실제 돈이 움직이므로 모의투자로 먼저 시험하고 주문마다 사람이 확인해야 합니다.
Korea Investment & Securities and Kiwoom ship official MCP servers, and Toss Securities offers an official Open API, so agents like Claude can read quotes and balances and place orders. Real money is at stake: test in paper trading first and confirm every order yourself.
연결하는 방법How to connect an agent
공식 MCPOfficial MCP
한국투자증권 트레이딩 MCPKIS Trading MCP (official)
KIS Developers에서 앱키를 발급받고 npx -y @koreainvestment/kis-trading-mcp를 MCP 설정에 넣으면 국내·해외 주식 시세, 잔고, 주문을 대화로 요청할 수 있습니다. 모의투자 키를 추가로 넣어 연습할 수 있지만, 실전 계좌 앱키도 필수입니다.Get an app key from KIS Developers and add npx -y @koreainvestment/kis-trading-mcp to your MCP config; Claude can then call domestic/overseas quotes, balances and orders. You can add a paper-trading key for practice, but a live-account app key is still required.
필요한 것You need한국투자증권 계좌KIS brokerage accountOpen API 앱키(실전·모의 별도)Open API app key (live and paper are separate)Node.js·Python·uvNode.js, Python, uv
키움증권 Exec MCP·kwcliKiwoom Exec MCP and kwcli (official)
키움 REST API 포털에서 앱키를 받고 kiwoomcli setup으로 인증한 뒤 kiwoom-exec-mcp를 연결하면 국내·미국 주식을 조회합니다. 주문 도구는 KIWOOM_MCP_ALLOW_ORDERS=1을 직접 켜야 생기고, 인증 설정의 기본값은 모의투자(demo)입니다.Get an app key on Kiwoom's REST API portal, authenticate with kiwoomcli setup, then connect kiwoom-exec-mcp to query Korean and US stocks. Order tools only appear when you set KIWOOM_MCP_ALLOW_ORDERS=1; setup defaults to demo (paper) mode.
필요한 것You need키움증권 계좌Kiwoom accountREST API 앱키(실전·모의 별도)REST API app key (live and demo separate)Python 3.13+·uvPython 3.13+, uv
토스증권 WTS 설정 > Open API에서 client_id·secret을 발급받고 호출할 IP를 등록하면 국내·미국 주식 시세, 계좌, 주문, 조건주문 API를 쓸 수 있습니다. 공식 MCP 서버는 확인되지 않아 직접 코드나 비공식 MCP로 연결해야 합니다.Issue a client_id/secret in Toss Securities WTS > Settings > Open API and register allowed IPs to use quote, account, order and conditional-order APIs for Korean and US stocks. No official MCP server was found, so you connect via your own code or an unofficial MCP.
필요한 것You need토스증권 계좌Toss Securities accountOpen API 키Open API key고정 IP 등록Registered fixed IP
개인 개발자가 만든 서버로, 기본은 조회 전용이고 주문은 ENABLE_TRADING=true, 확인 절차, 최대 주문금액 설정을 모두 거쳐야 실행된다고 소개합니다. npm 배포 없이 소스를 받아 직접 빌드해야 합니다.An independent developer's server: read-only by default; it says orders require ENABLE_TRADING=true, a confirmation step and max-order limits. Not on npm; you clone and build from source.
필요한 것You need토스증권 Open API 키Toss Securities Open API keyNode.js소스 직접 빌드Build from source
실제 주문은 원금 손실로 이어질 수 있습니다. 모의투자로 먼저 시험하고, 주문 도구는 MCP 클라이언트에서 자동 승인하지 마세요.Live orders can lose money. Test in paper trading first and never auto-approve order tools in your MCP client.
키움 MCP의 confirm 값은 AI도 넣을 수 있다고 공식 문서가 밝힙니다. 사람의 최종 확인은 클라이언트의 도구 승인 화면에 달려 있습니다.Kiwoom's docs state the confirm flag can be set by the AI itself; the real human check is your client's tool-approval prompt.
한국투자증권 MCP에는 주문 기능만 따로 끄는 설정이 없어, 앱키를 넣으면 주문 도구도 함께 열립니다.The KIS MCP has no setting to disable orders alone; once you add app keys, the order tools are available too.
토스증권 Open API 공식 문서에는 모의투자(테스트) 환경 안내가 없습니다. 주문은 실계좌로 들어간다고 보고 조회와 소액부터 시험하세요.Toss Securities' Open API docs describe no paper-trading environment. Assume orders hit your real account and start with lookups and small amounts.
앱키·시크릿은 MCP 설정의 환경변수로만 넣고, 대화창에 붙여넣지 마세요.Keep app keys and secrets in MCP env settings only; never paste them into the chat.
공개 자료를 바탕으로 2026.10.12에 정리했습니다. 모든 방법을 직접 실행해 검증한 결과는 아니며, 도구 소개가 공식 지원이나 안전을 보장하지 않습니다. 이용 약관과 최신 문서를 함께 확인해 주세요.Compiled from public sources on 2026.10.12. Not every path was executed by us; listing a tool does not guarantee official support or safety. Check the terms and current docs.정정 제보Suggest a correction
KIS가 Open API 사용법을 찾아주는 코딩도우미 MCP와 시세·계좌·주문을 AI 도구에서 직접 호출하는 트레이딩 MCP를 공식 저장소에 공개했다.KIS published a Code Assistant MCP and a Trading MCP (quotes, accounts, orders) in its official repo.
키움증권 오픈API 포털이 Claude 확장 프로그램용 MCP 번들과 CLI, JSON 명세서를 공개했고 GitHub 저장소에 337개 API 스펙이 있다.Kiwoom's OpenAPI portal offers an MCP bundle for Claude, a CLI and JSON specs; the repo covers 337 API specs.
한투 REST API 166개를 카탈로그 기반 MCP 도구로 제공하되 주문·정정·취소는 기본 차단하고 비공식 프로젝트임을 명시했다.An unofficial MCP exposes 166 KIS REST APIs but blocks order/modify/cancel by default and states it is not affiliated with KIS.