Disclosure Compass
A Model Context Protocol server that exposes seven read-only tools for querying Korean public company disclosures from the OpenDART system, returning normalized JSON.
README
Disclosure Compass (공시나침반)
A focused Model Context Protocol server for public company disclosures from OpenDART (전자공시시스템 DART). Disclosure Compass (공시나침반) exposes ten read-only gateway tools over Streamable HTTP. Behind that compact public surface are 16 in-process specialist MCP servers with 82 OpenDART tools, distilled from the original implementation without its LLM, vector-search, or A2A runtime dependencies.
This project is independent open-source software and is not an official OpenDART product.
Tools
| Tool | Purpose |
|---|---|
get_company_profile |
Basic company and listing information |
search_disclosures |
Disclosure filings in a bounded date range |
get_financial_statement |
A bounded set of statement accounts |
get_dividend_information |
Current and prior-period dividend rows |
get_major_shareholders |
Major shareholder positions |
get_employee_statistics |
Employee counts, tenure, and pay statistics |
classify_disclosure_request |
Rank a Korean request across 16 disclosure domains and show their specialist tools |
list_disclosure_servers |
Inspect all 16 specialist servers and 82 tool names/endpoints |
call_disclosure_server_tool |
Execute an exact named tool on an exact specialist server |
route_and_call_disclosure |
Classify, select a specialist tool, and execute it in one call |
All tools are declared read-only, non-destructive, idempotent, and open-world. Every specialist result is capped at 50 rows. Binary filing and XBRL tools return bounded ZIP metadata rather than raw file contents. Upstream calls use strict connect/read timeouts and reject JSON responses larger than 2 MB or binary responses larger than 8 MB.
Disclosure request classification
classify_disclosure_request maps a non-empty Korean natural-language request
of up to 500 characters to the most relevant OpenDART disclosure domains.
top_k defaults to 3 and may be set from 1 through 16. The response contains
the original query, total_categories, and score-ranked routes. Each route
contains:
category: the stable domain IDlabel_ko: the Korean domain labelscore: the normalized relevance scorematched_terms: terms from the request that contributed to the routesupported_tools: data tools currently exposed by this server for the domainspecialist_tools: original tool names available on that domain's MCP server
This classifier performs deterministic term matching and does not itself call
OpenDART. Use route_and_call_disclosure to classify and execute in one request,
or use call_disclosure_server_tool for deterministic server/tool selection.
The 16 specialist servers are real FastMCP instances called through in-memory
FastMCP clients; they are not 16 separately deployed network services.
The classifier recognizes exactly these 16 domains:
| Category | Korean label |
|---|---|
disclosure_search |
공시검색/기업개황 |
shareholder_stock |
주주/주식 정보 |
executive_compensation |
임원/보수 정보 |
debt_securities |
채무증권 정보 |
audit_fund |
감사/자금 정보 |
financial_statement |
재무정보 |
equity_disclosure |
지분공시 |
capital_change |
증자감자 |
treasury_stock |
자기주식 |
convertible_securities |
전환증권 |
merger_division |
합병분할 |
business_transfer |
영업/자산 양수도 |
overseas_listing |
해외상장 |
equity_investment |
지분거래 |
corporate_issues |
기업이슈 |
securities_registration |
증권발행/등록정보 |
Example request:
{
"query": "연결 재무제표 매출액",
"top_k": 1
}
Example response:
{
"query": "연결 재무제표 매출액",
"routes": [
{
"category": "financial_statement",
"label_ko": "재무정보",
"score": 1.0,
"matched_terms": ["연결 재무제표", "재무제표", "매출액"],
"supported_tools": ["get_financial_statement"],
"specialist_tools": [
"dart_fnlttSinglAcnt",
"dart_fnlttMultiAcnt",
"dart_fnlttXbrl",
"dart_fnlttSinglAcntAll",
"dart_xbrlTaxonomy",
"dart_fnlttSinglIndx",
"dart_fnlttCmpnyIndx"
]
}
],
"total_categories": 16
}
To execute a routed request directly, pass a company identifier and any
period-specific fields to route_and_call_disclosure:
{
"query": "삼성전자 전환사채 발행 결정을 찾아줘",
"corp_code": "00126380",
"begin_date": "20250101",
"end_date": "20251231"
}
This selects the convertible_securities server and its
dart_cvbdIsDecsn tool. Callers that already know the exact target can instead
use call_disclosure_server_tool with server_id, tool_name, and an
arguments object. Accepted fields depend on the endpoint and include
corp_code or corp_name, business_year, report_code, begin_date,
end_date, corp_codes, receipt_number, fs_division, statement_type,
index_code, and max_items.
Requirements
- Python 3.11-3.13
- An OpenDART API key from https://opendart.fss.or.kr/
Run locally
python -m venv .venv
. .venv/bin/activate
pip install -e '.[dev]'
export DART_API_KEY='your-runtime-secret'
opendart-mcp
The MCP endpoint is http://localhost:8000/mcp and the health endpoint is
http://localhost:8000/health. Set PORT to override port 8000.
The corp_code arguments are OpenDART eight-digit company identifiers, not
six-digit stock codes. For example, OpenDART's public guide uses 00126380 for
Samsung Electronics.
Docker / PlayMCP deployment
The image is compatible with Linux AMD64 and runs as a non-root user.
docker build --platform linux/amd64 -t opendart-mcp .
docker run --rm -p 8000:8000 \
-e DART_API_KEY='your-runtime-secret' \
opendart-mcp
Configure the deployment secret as DART_API_KEY; never bake it into the image
or commit it. Register /mcp as the Streamable HTTP endpoint. The server uses
stateless HTTP so it does not require session affinity.
Development checks
ruff check .
pytest -q
python -m compileall -q src tests
Tests use local fixtures and never call OpenDART or require an API key.
Data and operational notes
- Results are public disclosure data, but users should confirm material facts in the original filing before making decisions.
- OpenDART may update data between otherwise identical calls.
- The server does not store query inputs or results.
- Upstream rate limits and maintenance windows still apply.
License
MIT. See LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。