
Korea Data MCP
io.github.YoungsoonLee由 GitHub 账号 YoungsoonLee 发布v0.1.7更新于 Nov 5, 2026
Korean public data: corporate filings, stock prices, apartments, statutes, economic statistics
概览
本地 MCP 服务器,让助手查询韩国公共数据:企业公告与财报、股价、公寓买卖与租赁、法令、判例以及韩国银行经济统计。
- 可以做什么
- 查找企业并读取公告、财务报表、分红、主要股东、持股报告与重大决策
- 查询公休日、企业基本信息和营业执照状态
- 按地区与月份列出公寓买卖及全租/月租成交,并给出价格汇总
- 获取 KOSPI、KOSDAQ、KONEX 每日股价
- 检索法令与判例,并按指定日期读取当时生效的法条
- 获取或检索韩国银行经济时间序列,如利率、汇率、CPI 与 GDP
- 适用场景
- 适合需要以韩国官方来源为依据作答的场景:企业公告与财务数据、不动产成交价、现行法令条文、法院判例或韩国宏观经济序列。它处理了原始 API 的已知陷阱,例如季度与半年数据混淆、尚未生效的法条文本以及已取消的公寓交易。
- 运行要求
- 以本地进程运行(单一可执行文件,或用 Go 安装),也提供 Claude Desktop 一键安装包。需要以环境变量提供免费 API 密钥:OPENDART_API_KEY、DATAGOKR_SERVICE_KEY、LAWGOKR_OC、ECOS_API_KEY;可只配置其中一部分,缺少密钥的工具不会出现。注册这些门户通常需要韩国身份验证。需要能访问相关政府 API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Korea Data MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
korea-data-mcp
English | 한국어
Pass Korean public APIs straight to an AI agent and it gets answers wrong. korea-data-mcp gives it the right ones.
An MCP server for Korean corporate filings, financials, dividends and major shareholders, stock prices, apartment sale prices and rents, business registration status, public holidays, statutes and court rulings, and Bank of Korea economic statistics, from the official free APIs of OpenDART, data.go.kr, law.go.kr and ECOS.
- Correct, with evidence. 70 traps found on the live APIs (wrong half-year revenue, laws not in force yet, cancelled deals, district codes that changed in 2026, and more) are handled, each covered by a test that uses the real response. The full list is public: What korea-data-mcp handles for you. In a small evaluation, agents with korea-data-mcp answered 10 of 10 questions with one call each; with the raw APIs they hit the traps, needed about 3x the calls, and missed one.
- Installs in one click. A single binary with nothing else to install. In Claude Desktop, open korea-data-mcp.mcpb and enter your keys. Also in the official MCP Registry.
- Private. It runs on your machine. Your keys and questions go only to the government APIs, never through a third-party server, and there is no telemetry.
- Focused. 22 tools with clear descriptions, so an agent picks the right one without filling its context with dozens of others.
Why it matters
Example: "What was Samsung Electronics' revenue in the first half of 2025?" Here is what OpenDART actually returns:
The period says January to June, so an agent reads thstrm_amount and answers ₩74.6 trillion. That is wrong: it is the second quarter only. The half-year figure, ₩153.7 trillion, is in a different field. Most Korean MCP servers pass this response on as is. korea-data-mcp returns:
So the agent gets it right, and can even split out the second quarter:
[Claude Code answering Samsung Electronics' first-half 2025 revenue with opendart_get_financials]
Three more traps, each of which silently produces a wrong answer:
-
Law that is not law yet. Ask law.go.kr for the current Labor Standards Act (근로기준법) and the text includes 제44조의4, labeled as in effect since 2026-10-08. It actually takes effect on 2027-01-01; the official "current law" text already contains amendments that are only promulgated. korea-data-mcp returns the text in force on the date you ask for (today by default) and lists what is coming in
upcoming(tool output shortened):[Claude Code answering whether 근로기준법 제44조의4 is in force, using lawgokr_get_law]
-
Deals that never happened. Apartment trade data keeps cancelled deals, marked only by a flag: 12 of 233 Gangnam trades in September 2025, including a ₩7.5 billion one. Averages that include them are wrong. korea-data-mcp leaves them out.
-
Codes that quietly stop working. In 2026, 광주광역시 and 전라남도 merged, 화성시 was split into four 구, and 인천 reorganized its districts. The old district codes, which most code tables still list, now return zero trades, even for past months. With korea-data-mcp, an agent just says
광주 북구or화성시.
There is more: errors returned as HTTP 200, stale records mixed with current ones, business numbers that fail when written with hyphens, stock history split by a company rename, and a TLS handshake that fails from Go. See all 70: What korea-data-mcp handles for you.
What you can ask
Connect korea-data-mcp to Claude (or any MCP client) and ask in English or Korean:
- "What was Samsung Electronics' revenue in the first half of 2025, and what has it disclosed recently?"
- "Who is SK hynix's largest shareholder, and how did its dividend per share change over the last three years?"
- "Who else holds 5% or more of SK hynix, and have any of them sold recently?"
- "How much did Samsung Electronics spend on buybacks in the last two years, and has 광진실업 diluted its shareholders?"
- "What was the median apartment sale price in 분당구 in September 2025?"
- "What was the median jeonse deposit for new contracts in 강남구 in September 2025?"
- "Is 제44조의4 of the Labor Standards Act (근로기준법) in force yet?"
- "Find recent Supreme Court rulings on unfair dismissal (부당해고) and summarize the holding of the latest one."
- "Is business registration number 124-81-00998 still active?"
- "How did NAVER's stock price move last month?"
- "Which public holidays are left in Korea this year?"
- "How have the Bank of Korea base rate and the won-dollar rate moved over the last two years?"
All four keys are free. You can start with just one.
Quick start
Claude Desktop, in one click: download korea-data-mcp.mcpb, open it (or drag it into Settings → Extensions), and enter the keys you have (how to get them). Nothing else to install; skip to step 4.
1. Install
Download a binary for macOS, Linux or Windows (Intel or ARM) from Releases, extract it, and note the absolute path of korea-data-mcp (korea-data-mcp.exe on Windows). For example, on an Apple Silicon Mac:
On macOS, a binary downloaded with a browser is blocked as coming from an unidentified developer; run xattr -d com.apple.quarantine korea-data-mcp once. curl downloads are not affected.
Or with Go 1.26 or later (Go 1.21+ downloads the right toolchain automatically):
The binary is installed to $(go env GOPATH)/bin/korea-data-mcp.
2. Get a key
Start with OpenDART: sign up at opendart.fss.or.kr, request a key (인증키 신청), and it is issued right away. For all four, step by step with the Korean menu names: Getting API keys. Any subset works; tools whose key is missing are simply not offered.
Outside Korea? These portals usually require Korean identity verification (a Korean mobile number) to sign up, so getting keys from abroad can be hard or impossible. A hosted version that needs no keys of your own is planned: join the waitlist.
3. Connect your client
Use absolute paths. Leave out the keys you don't have.
Claude Code:
Claude Desktop: edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop:
Other MCP clients take the same command and environment variables.
To keep keys in one file instead, copy .env.example to .env, fill it in, and pass -env-file /absolute/path/to/.env as an argument. A variable set in the environment takes precedence over the file.
4. Check it
Ask your agent "Which korea-data-mcp providers are enabled?". It calls hub_list_providers, which lists the enabled providers and any missing keys. Then try one of the questions above.
API keys
Step-by-step instructions and troubleshooting: Getting API keys. All four are free, but signing up usually requires Korean identity verification. If you can't get them, join the hosted waitlist.
data.go.kr: The portal issues two keys, Encoding and Decoding. Use the Decoding key. The Encoding key gets URL-encoded twice and fails with
SERVICE_KEY_IS_NOT_REGISTERED_ERROR. One key covers every API you apply for.
law.go.kr: The OC is a value you choose under 마이페이지 → API인증키관리. A wrong OC gives the error "사용자 정보 검증에 실패하였습니다". law.go.kr puts the OC in every link it returns, so don't reuse another key as the OC (korea-data-mcp never passes those links on).
Tools
OpenDART (OPENDART_API_KEY)
Every OpenDART tool that takes corp_code also accepts a 6-character stock code (e.g. 005930).
data.go.kr (DATAGOKR_SERVICE_KEY). Each API needs its own application (활용신청) on data.go.kr; the links are below.
law.go.kr (LAWGOKR_OC)
Bank of Korea ECOS (ECOS_API_KEY)
Hub: hub_list_providers lists the enabled providers and the keys that are missing.
Security, limits and freshness
- Your keys stay on your machine. korea-data-mcp runs locally and sends each key only to the service that issued it. There is no telemetry. Error messages never include keys or query strings.
- HTTP mode has no authentication.
-httpserves the tools to anyone who can reach the port, using your keys. Bind it to localhost (-http 127.0.0.1:8080) unless it is behind an authenticating proxy. The default stdio mode does not open a port. - Upstream quotas apply. A data.go.kr development account allows 10,000 calls per day for each API; OpenDART, law.go.kr and ECOS have their own limits. korea-data-mcp caches responses for 10 minutes and the DART company list for 24 hours.
- Data is as fresh as the source. Apartment deals can be reported up to 30 days after the contract, so the latest month fills in over time. Stock prices are daily, updated after each trading day.
Roadmap
- OpenDART: companies, disclosures, financials, dividends, shareholders, ownership reports, major decisions
- data.go.kr: holidays, corporation info, business status, apartment trades and rents, stock prices
- law.go.kr: statutes, court rulings
- Bank of Korea ECOS: rates, prices, GDP, employment and any other ECOS table
- KOSIS (Korean Statistical Information Service)
- A sibling server for Japan, starting with EDINET (corporate disclosures)
Want a data source added? Request it. Found an API behaving oddly? Open an issue. No Korean API keys? Join the hosted waitlist. To build, test or add a provider, see docs/DEVELOPMENT.md.
License
Apache License 2.0. Data returned by the tools comes from the upstream services and is subject to their terms of use.
来源:README.md,提交 769d784
工具
0版本历史
4- v0.1.7最新Nov 5, 2026
- v0.1.6Nov 1, 2026
- v0.1.4Oct 31, 2026
- v0.1.2Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分