
migusdn/kis_mcp_server
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Korea Investment & Securities MCP Server
Overview
This server calls the Korea Investment & Securities (KIS) REST API as an MCP tool. It provides domestic/overseas stock lookups, account lookups, and order-related APIs as catalog-based general-purpose tools and frequently used convenience tools. This project is an unofficial open-source project operated by individuals or communities, and there is no affiliation, sponsorship, approval, or official distribution relationship with Korea Investment & Securities, KIS Developers, or truefriend Korea Investment Open API. All user responsibility for installation, setup, API calls, account inquiries, order execution, investment decisions, and any resulting losses, failures, or security issues related to this project lies with the user. Please check the official Korea Investment & Securities documents and input values directly before actual trading. - - 8 groups, 166 REST APIs provided - API groups/IDs, paths, HTTP methods, TR_ID candidates, request parameter verification - Korean labels by parameter, input guide, sample values, and key code values provided - Full list: API_CATALOG.md - - Current price, period/daily quotes, quotes, industry index, basic information inquiry - Balance, investment account asset status, available purchase amount, available quantity for sale - Order/Order history/order cancellation order inquiry - - Supports market codes for the US, Japan, China, Hong Kong, and Vietnam - Current price, Balance, current balance based on execution, margin by currency, available purchase amount - Automatic selection of order TR_ID based on market/buy/sell directions - - Support for stdio, SSE, streamable-http transport - .env or command-line argument-based settings - Automatic completion of account number, account product code, and authentication value - App key and token cache based on account type - Basic rejection of unknown request parameters - Basic blocking of order/correction/cancel API The state change API will only run if the above values are explicitly set. Do not configure if you are only using the lookup API. Install based on INSTALL.md. When setting up LLMs or MCP clients, you should first read this file.
Overview (machine translated)
This server calls the Korea Investment & Securities (KIS) REST API as an MCP tool. It provides domestic/overseas stock lookups, account lookups, and order-related APIs as catalog-based general-purpose tools and frequently used convenience tools.
Caution
This project is an unofficial open-source project operated by individuals and communities, and there is no affiliation, sponsorship, approval, or official distribution relationship with Korea Investment & Securities, KIS Developers, or truefriend Korea Investment Open API. All responsibility for installation, configuration, API calls, account inquiries, order execution, investment decisions, and any resulting losses, failures, or security issues related to this project lies with the user. Check the official Korea Investment & Securities documents and input values directly before actual trading.
Key Features
- API Catalog-Based Calls
- 8 groups, 166 REST APIs provided
- Check API groups/IDs, paths, HTTP methods, TR_ID candidates, and request parameters
- Provides Korean labels by parameter, input guide, sample values, and key code values
- Full list:
API_CATALOG.md - Domestic Stocks
- Current price, period/daily quotes, quotes, industry indices, basic information inquiry
- Balance and investment account asset status, available purchase amount, and available quantity for sale
- Order/Order History/Order Cancellation Inquiry
- Overseas Stocks
- Supports codes for the US, Japan, China, Hong Kong, and Vietnam markets
- View current price, balance, current balance based on execution, margin by currency, and available purchase amount
- Automatic selection of order TR_ID based on market/buy/sell directions
- Execution/Operation
- Supports transport
stdio,sse,streamable-httptransport .envor command-line argument-based settings- Automatic completion of account number, account product code, and verification value
- App key and token cash based on account type
- Unknown request parameter default denial
- Basic blocking of order/correction/cancel API
Safety Defaults
APIs that change account status, such as order/correction/cancellation, are blocked by default.
The state change API will only run if the above values are explicitly set. Do not configure if you are only using the lookup API.
Requirements
- Python >= 3.13
- uv
Installation
Install based on INSTALL.md. When setting up LLMs or MCP clients, you should read this file first.
`INSTALL.
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"kis-mcp-server": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "<project-root>",
"env": {
"KIS_MCP_TOOLSET": "catalog",
"KIS_MCP_LOG_LEVEL": "WARNING"
}
}
}
}