ko-stock-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ko-stock-mcpGet Samsung Electronics stock trade info for 2025-03-10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ko-stock-mcp
An MCP server that exposes Korean DART (전자공시시스템, Financial Supervisory Service electronic disclosure) data to MCP clients such as Claude Desktop.
한국어 문서는 README.ko.md를 참고하세요.
Tools
Both DART (electronic disclosure) and KRX (Korea Exchange) tools are provided.
DART (disclosure)
Tool | Description |
| Look up a company's DART corp_code (8-digit) by name or stock code (6-digit). Entry point for the other tools. |
| Company profile (name, CEO, market class, industry, incorporation date, etc.). |
| Search disclosures by company / date range / disclosure type. |
| Fetch a disclosure's original document. Large docs return a table of contents ( |
| XBRL financial statements (BS / IS / CIS / SCE / CF) from periodic reports. |
| Today's date in KST/UTC ( |
KRX (Korea Exchange) — requires KRX_API_KEY
Tool | Description |
| Determine which market (KOSPI/KOSDAQ/KONEX) a stock code belongs to. Uses DART corp class first, falls back to KRX. |
| Daily trading data for a business day (close, change rate, volume, market cap, etc.). |
| Stock base info (name, standard/short code, listing date, par value, shares outstanding, etc.). |
Typical flow — disclosures/financials: get_corp_code → (get_disclosure_list |
get_financial_statement | get_company_info) → get_disclosure for full text. Market data:
(optionally get_market_type →) get_stock_trade_info | get_stock_base_info (bas_dd
must be a business day; non-trading days return empty).
KRX tools return a friendly error when
KRX_API_KEYis unset; DART features are unaffected. Noteget_market_typeworks with just the DART key (via corp class).
KRX response fields
get_stock_trade_info / get_stock_base_info return the raw KRX fields verbatim under
result (amounts/quantities are strings, dates are YYYYMMDD).
get_stock_trade_info (daily trading data)
Field | Meaning |
| Base date (YYYYMMDD) |
| Stock code (6-digit short code in this response) |
| Stock name |
| Market (KOSPI/KOSDAQ/KONEX) |
| Section/board |
| Closing price |
| Change vs. previous day |
| Change rate (%) |
| Open / High / Low |
| Accumulated trading volume (shares) |
| Accumulated trading value (KRW) |
| Market capitalization (KRW) |
| Listed shares |
get_stock_base_info (stock base info)
Field | Meaning |
| Standard code (12-digit, e.g. KR7005930003) |
| Short code (6-digit, e.g. 005930) |
| Full stock name |
| Abbreviated name |
| English name |
| Listing date (YYYYMMDD) |
| Market (KOSPI/KOSDAQ/KONEX) |
| Security group (e.g. common stock) |
| Section/board |
| Share type (e.g. ordinary) |
| Par value |
| Listed shares |
get_market_type returns { "market": "KOSPI"|"KOSDAQ"|"KONEX", "source": "dart"|"krx"|"cache" }
(source is where the classification came from).
Related MCP server: dart-mcp
Requirements
Python >= 3.10
A DART Open API key — sign up at https://opendart.fss.or.kr (free, instant).
(Optional) A KRX Open API key — sign up at https://openapi.krx.co.kr, request a key, then apply for the six stock services (3 daily-trade + 3 base-info); approval takes ~1 day. Only needed for the KRX market-data tools.
Setup
uv sync
cp .env.example .env # then put your DART_API_KEY in .envRun / develop
# Launch the MCP Inspector for local testing
uv run mcp dev src/ko_stock_mcp/server.py
# Or run the server directly (stdio)
uv run ko-stock-mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"ko-stock-mcp": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/ko-stock-mcp", "run", "python", "-m", "ko_stock_mcp.server"]
}
}
}uv --directory runs the server with this project as the working directory, so .env
(with DART_API_KEY, and optionally KRX_API_KEY) is loaded automatically — no need to
duplicate the keys here. If you prefer, you can instead pass them explicitly:
"env": { "DART_API_KEY": "<YOUR_DART_API_KEY>", "KRX_API_KEY": "<YOUR_KRX_API_KEY>" }On macOS the config lives at
~/Library/Application Support/Claude/claude_desktop_config.json. Restart Claude Desktop
after editing.
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/okdoittttt/ko-stock-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server