MCP server for Korean DART disclosures and KRX market data

MCP server for Korean DART disclosures and KRX market data

ko-stock-mcp•byokdoittttt

An MCP server that provides tools for looking up Korean corporate disclosures and financials from DART, plus optional KRX stock market data, to MCP clients such as Claude Desktop.

License: MIT•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Looks up a company's DART corp_code by name or stock code as an entry point for other tools.
  • •Searches disclosures by company, date range, or disclosure type, and fetches original disclosure documents with table-of-contents drill-down.
  • •Retrieves XBRL financial statements from periodic reports.
  • •Provides KRX market tools for market type, daily trading data, and stock base info, requiring a KRX API key.

BEST FOR

  • •Researching Korean companies' disclosures and financial statements through an MCP client.
  • •Checking Korean stock daily trading data and base information for a business day.

ABOUT KO-STOCK-MCP

MCP server for Korean DART disclosures and KRX market data is cataloged as an MCP server attributed to okdoittttt. An MCP server that provides tools for looking up Korean corporate disclosures and financials from DART, plus optional KRX stock market data, to MCP clients such as Claude Desktop. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Korean DART disclosures and KRX market data are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Are DART features affected when no KRX API key is set?

No; KRX tools return a friendly error when the key is unset, and DART features are unaffected.

Does the market-type tool require a KRX key?

No; get_market_type works with just the DART key using the DART corp class.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 4fad809a5b07 · 采集于 2026-11-13 13:12:19 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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)

ToolDescription
get_corp_codeLook up a company's DART corp_code (8-digit) by name or stock code (6-digit). Entry point for the other tools.
get_company_infoCompany profile (name, CEO, market class, industry, incorporation date, etc.).
get_disclosure_listSearch disclosures by company / date range / disclosure type.
get_disclosureFetch a disclosure's original document. Large docs return a table of contents (toc); drill in with section_id.
get_financial_statementXBRL financial statements (BS / IS / CIS / SCE / CF) from periodic reports.
get_today_dateToday's date in KST/UTC (YYYYMMDD + ISO).

KRX (Korea Exchange) — requires KRX_API_KEY

ToolDescription
get_market_typeDetermine which market (KOSPI/KOSDAQ/KONEX) a stock code belongs to. Uses DART corp class first, falls back to KRX.
get_stock_trade_infoDaily trading data for a business day (close, change rate, volume, market cap, etc.).
get_stock_base_infoStock 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_KEY is unset; DART features are unaffected. Note get_market_type works 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)

FieldMeaning
BAS_DDBase date (YYYYMMDD)
ISU_CDStock code (6-digit short code in this response)
ISU_NMStock name
MKT_NMMarket (KOSPI/KOSDAQ/KONEX)
SECT_TP_NMSection/board
TDD_CLSPRCClosing price
CMPPREVDD_PRCChange vs. previous day
FLUC_RTChange rate (%)
TDD_OPNPRC / TDD_HGPRC / TDD_LWPRCOpen / High / Low
ACC_TRDVOLAccumulated trading volume (shares)
ACC_TRDVALAccumulated trading value (KRW)
MKTCAPMarket capitalization (KRW)
LIST_SHRSListed shares

get_stock_base_info (stock base info)

FieldMeaning
ISU_CDStandard code (12-digit, e.g. KR7005930003)
ISU_SRT_CDShort code (6-digit, e.g. 005930)
ISU_NMFull stock name
ISU_ABBRVAbbreviated name
ISU_ENG_NMEnglish name
LIST_DDListing date (YYYYMMDD)
MKT_TP_NMMarket (KOSPI/KOSDAQ/KONEX)
SECUGRP_NMSecurity group (e.g. common stock)
SECT_TP_NMSection/board
KIND_STKCERT_TP_NMShare type (e.g. ordinary)
PARVALPar value
LIST_SHRSListed shares

get_market_type returns { "market": "KOSPI"|"KOSDAQ"|"KONEX", "source": "dart"|"krx"|"cache" } (source is where the classification came from).

Requirements

  • Python >= 3.10
  • uv
  • 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 .env

Run / 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-mcp

Claude 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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Korean DART disclosures and KRX market data from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ko-stock-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics