KIS Open Trading API: MCP for Korea Investment & Securities

KIS Open Trading API

The official MCP server of the Korean broker Korea Investment: its trading API and a search over its docs for AI clients

  • 1,658 ★ on the repository
  • Last commit
MCP serverOfficial

Broad access

Why this level

  • App keys and brokerage account numbers sit in the client environment variables
  • The agent sees account balance and history and, with the full set, can place, modify and cancel orders with real money
  • The server downloads method code from GitHub and executes it in a temporary environment at run time
All reasons and checks

koreainvestment/open-trading-api

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add mcp/kis-open-trading-api

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • App keys and brokerage account numbers sit in the client environment variables
  • The agent sees account balance and history and, with the full set, can place, modify and cancel orders with real money
  • The server downloads method code from GitHub and executes it in a temporary environment at run time

This is third-party code. Review the repository files before installing.

What it does

The repository of the Korean broker Korea Investment & Securities holds sample code for the KIS Open API and two MCP servers. KIS Trading MCP connects an AI client to the trading API: quotes and the order book, account balance and history, orders with modify and cancel. It covers Korean and overseas markets, from stocks to derivatives. KIS Code Assistant MCP does a different job: it searches the API documentation and code samples for the right method from a natural language query so the agent can write your integration. The Trading MCP starts with `npx -y @koreainvestment/kis-trading-mcp` over stdio, and there is also a Docker run with SSE and an install from source. App keys and account numbers are set through environment variables. The other folders complement the MCP: examples_llm with per-method examples, strategy_builder and a Lean-based backtester.

Who it is for. For developers and private investors with a Korea Investment & Securities account who want to bring quotes and trades into Claude Desktop or Cursor.

Good fit when

  • You want to ask an assistant for the current price, order book and chart of a Korean or overseas security through the broker API
  • You want to review balance, trade history and profit of an account without opening the broker app
  • You are writing a Python trading bot and need the right KIS Open API method: connect Code Assistant MCP to search the samples
  • You want to test a scenario on a paper account first: the server separates real and paper environments

Not a fit when

  • You have no Korea Investment & Securities account and no KIS Developers keys: calls do not work without them
  • You need certainty that the agent will not place an order: the full tool set includes trading orders
  • You need a Russian broker: the server connects to the Korean one only
  • You need financial advice: the server provides data and operations without recommendations

Example request

Through kis-trading show the current price and order book for Samsung Electronics, then the balance of my paper account. Do not place any orders

MCP

Transport
stdio, sse
Authentication
API key

Environment variables

KIS_APP_KEY required, secret
App key for real trading from KIS Developers
KIS_APP_SECRET required, secret
App secret for real trading
KIS_PAPER_APP_KEY secret
App key for the paper environment
KIS_PAPER_APP_SECRET secret
App secret for the paper environment
KIS_ACCT_STOCK secret
Real account number for stocks
KIS_PAPER_STOCK secret
Paper account number for stocks

Limitations

  • Calls need Node.js 18 or newer, Python 3.11 or newer, uv and app keys from the KIS Developers center. Docker mode needs Docker 20.10 or newer.
  • The MCP documentation is written in Korean. Samples are for reference and may change without notice, and the user bears responsibility for running them.
  • The server downloads method code from GitHub at run time and executes it in a temporary environment.
  • The repository has no license at the root; the MCP folder carries its own LICENSE file.
  • An account with this broker is not available to everyone, so check the opening conditions before installing.

How to disable. Remove the kis-trading entry from the MCP client settings and restart the client. App keys can be revoked in the KIS Developers center, and the environment variables should be deleted from the client configuration.

FAQ

How do I connect KIS Trading MCP to Claude Desktop?

In the claude_desktop_config.json file add a kis-trading server with the command npx and the arguments -y @koreainvestment/kis-trading-mcp, and put KIS_APP_KEY and KIS_APP_SECRET into the env block. After restarting Claude Desktop the server shows in the tools list. For Cursor, add the same entry under MCP Servers in settings.

How do KIS Trading MCP and KIS Code Assistant MCP differ?

Trading MCP calls the trading API: quotes, balances, orders. Code Assistant MCP trades nothing; it searches the documentation and samples for the right method and shows example code for your program.

Can I try it on a paper account first?

Yes. The paper environment uses separate keys KIS_PAPER_APP_KEY and KIS_PAPER_APP_SECRET and account numbers KIS_PAPER_STOCK and KIS_PAPER_FUTURE.

Which markets and instruments does KIS MCP cover?

Domestic and overseas stocks, domestic and overseas futures and options, domestic bonds, ETFs and ETNs, and ELWs. Besides quotes and orders, the server returns rankings and trading flow data.

How do I run the server in Docker?

Clone the repository, build the image from the Dockerfile in the Kis Trading MCP folder and pass the keys through environment variables. In the container the server uses SSE.

Discussion

No questions or reviews yet.

Russian stack

A Kotlin MCP server for the T-Invest API: market data, orders and stop orders, and a sandbox with virtual money

MCP serverBroad access13Repository stars
Russian stack

An MCP server for T-Bank Invest with market analysis, backtesting five strategies, risk management and order placement, with live trading off by default

MCP serverBroad access

T-Bank Invest MCP server, read-only

T-Bank Invest MCP Server (read-only)

Russian stack

An MCP server for a T-Bank Invest portfolio with no trading rights: positions, operations, market data, and technical and fundamental analytics

MCP serverBroad access3Repository stars
Russian stack

A read-only MOEX ISS and T-Bank Invest market data MCP server: quotes, candles, a screener, and optional portfolio access

MCP serverBroad access
Russian stack

A console C# MCP server for T-Bank Invest: accounts, portfolio, dividends, operations and broker reports, read-only

MCP serverBroad access
Russian stack

An unofficial local T-Invest MCP server: portfolio analysis, screening and rebalance plans, with orders only after confirmation

MCP serverBroad access1Repository stars

Comparison with similar tools

Entries that share the main search query, and how they differ.

EntryOfficialAuthenticationRepository starsMain difference
KIS Open Trading API: MCP for Korea Investment & Securities (this entry)yesAPI key1,658
Financial Datasets MCPyesAPI key2,315company, stock price and news data from the Financial Datasets API, with no account or orders
Dzengi MCP servernokey is optional0the Dzengi platform: market data read-only, trading behind extra checks
TradingView MCP Bridgenonot required7,012links an agent to TradingView Desktop for chart analysis and Pine Script, with no brokerage account

README in short

Beyond MCP, KIS Developers announces two new services: an AI agent for the OpenAPI and a platform for investment strategies. The MCP description shows scenarios for retail investors, quants and fintech teams.

README badge

Report a problem

Foxx AIKIS Open Trading API: MCP for Korea Investment & Securities
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.