OpenDART MCP Server
The OpenDART MCP Server provides comprehensive access to Korea's Financial Supervisory Service electronic disclosure system (OpenDART), enabling financial data retrieval, corporate information lookup, and automated Excel financial statement generation for Korean listed companies.
Disclosure Search & Document Retrieval
Search public disclosure filings by company, date range, and disclosure type
Retrieve company basic information (name, CEO, business registration number, address)
Fetch full disclosure document originals (including audit reports and attachments)
Search for DART corporate codes by company name or stock ticker
Periodic Report Key Information (30 tools)
Capital increase/decrease history, dividend information (cash and stock), treasury stock records
Largest shareholder status and changes, minority shareholder information
Executive and employee headcount, compensation data, and individual pay (500M KRW+ threshold)
Audit firm names, audit opinions, audit/non-audit service fees
Outside director changes, stock totals, bond issuances, commercial paper, hybrid bonds, and fund usage
Financial Data (7 tools)
Key financial statement accounts for single or multiple companies (assets, liabilities, equity, sales, operating income, net income)
Full financial statements (all line items, consolidated/separate) for a single company
XBRL-format raw financial data and standard taxonomy templates
Key financial ratios (profitability, stability, growth, activity) for single or multiple companies
Equity Holdings Disclosure
Large shareholding reports (5%+ ownership)
Executive and major shareholder stock ownership reports
Major Event Reports (36 tools)
Capital events: paid/free/combined capital increases, capital reductions
Bond issuances: convertible bonds, bonds with warrants, exchangeable bonds, conditional capital securities
Treasury stock: acquisition, disposal, trust contract conclusions/terminations
M&A activity: mergers, divisions, spin-off mergers, stock exchanges/transfers
Business transfers: business acquisitions/transfers, tangible asset and equity investment transactions
Overseas listing decisions, listings, and delistings
Distress signals: bankruptcy, business suspensions, rehabilitation filings, dissolution, creditor management, lawsuits
Securities Registration Statements
Equity securities (IPOs, capital increases), debt securities (corporate bonds), depositary receipts (DR)
Merger, stock exchange, and division-related registration statements
Excel Financial Statement Generation
Generates structured
.xlsxfiles from raw audit report disclosuresOrganizes financial statements into separate sheets with a dedicated notes sheet
Automatically hyperlinks note references and validates output for completeness and continuity
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., "@OpenDART MCP Server삼성전자 최근 공시 보여줘"
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.
OpenDART Plugin
OpenDART API(금융감독원 전자공시시스템 오픈API)를 이용해 MCP 서버를 만들고, 특정 기업의 재무제표를 Excel 파일로 만들어주는 SKILL을 포함한 Claude Code / Codex 플러그인입니다.
"하이닉스 2025년 연결재무제표 엑셀로 만들어줘" 한마디로 재무제표 원문(감사보고서)을 가져와 시트별로 정리하고, 각 주석번호에 하이퍼링크까지 걸린
.xlsx파일을 생성합니다.공시 검색, 재무제표, 임원/주주 현황, 주요사항보고서 등 DS001~DS006 전 영역 85개 도구도 자연어 질의로 바로 사용할 수 있습니다.

준비물
Claude Code 또는 Codex CLI
Python 3.11+
uv/uvx(설치) — 없다면pip install uvOpenDART API KEY: OpenDART에서 KEY 발급
Related MCP server: opendart-fss-mcp
설치
플러그인을 설치하면 open-dart MCP 서버 설정과 opendart-excel 스킬이 함께 설치됩니다.
Claude Code
/plugin marketplace add gyeongmin100/Open-Dart-Plugin
/plugin install opendart@open-dart-plugin설치 중 DART_API_KEY를 입력하라는 프롬프트가 뜹니다.
사용 예:
/opendart:opendart-excel 삼성전자 2023년 연결 재무제표를 엑셀로 만들어줘Codex
codex plugin marketplace add gyeongmin100/Open-Dart-PluginCodex에서 /plugins를 열고 OpenDART MCP marketplace의 opendart 플러그인을 설치합니다. Codex 실행 환경에는 DART_API_KEY가 미리 설정되어 있어야 합니다.
export DART_API_KEY="your-api-key" # bash/zsh
$env:DART_API_KEY="your-api-key" # PowerShell사용 예:
$opendart 삼성전자 2023년 연결 재무제표를 엑셀로 만들어줘AI 에이전트용 설치 프롬프트
아래 블록을 그대로 복사해서 Claude Code나 Codex 채팅창에 붙여넣으면, 에이전트가 알아서 marketplace 등록 → 플러그인 설치 → API 키 설정까지 진행합니다.
OpenDART 플러그인을 설치해줘.
1. 저장소: https://github.com/gyeongmin100/Open-Dart-Plugin
2. Claude Code라면:
- /plugin marketplace add gyeongmin100/Open-Dart-Plugin 실행
- /plugin install opendart@open-dart-plugin 실행
- 설치 중 DART_API_KEY를 물어보면, 아직 없다고 하면 https://opendart.fss.or.kr 에서
API 키를 발급받는 방법을 안내해줘.
Codex라면:
- codex plugin marketplace add gyeongmin100/Open-Dart-Plugin 실행
- /plugins 메뉴에서 "OpenDART MCP" marketplace의 opendart 플러그인 설치 안내
- 실행 환경에 DART_API_KEY 환경변수가 필요하다는 것도 안내해줘.
3. 설치가 끝나면 opendart-excel 스킬로 "삼성전자 2023년 연결재무제표 엑셀로 만들어줘" 같은
요청을 처리할 수 있다는 것을 확인해줘.
4. Python 3.11+ 와 uv/uvx가 없으면 먼저 설치 방법을 안내해줘 (pip install uv).사용 예시
삼성전자 최근 공시 보여줘
카카오 2023년 재무제표 알려줘
현대자동차 최대주주 현황은?
LG전자 임원 현황 조회해줘
SK하이닉스 배당 이력 알려줘
2024년 합병 공시 목록 검색해줘
삼성전자 2023년 연결 재무제표를 엑셀로 만들어줘 ← opendart 플러그인opendart-excel 스킬 동작 방식
회사명·사업연도·범위(연결/별도)를 파악하고, 범위가 모호하면 반드시 사용자에게 확인합니다.
MCP로 공시 검색 → 사업보고서(가능하면 감사보고서 첨부)의 원문을 가져옵니다.
원문을 파싱해 재무제표별 시트 +
주석시트로 구성된 Excel을 생성합니다. 주석번호는 표 우측 열에 개별 셀로 분리되고, 파란색 하이퍼링크로주석시트의 해당 항목으로 연결됩니다.시트 구성·프리앰블·주석 연속성·하이퍼링크·글자 단위 완전성까지 자동 검증한 뒤, 검증을 통과한
.xlsx파일만 전달합니다.
프로젝트 구조
Open-Dart-Plugin/
├── src/opendartmcp/ # MCP 서버 본체 (PyPI: opendart-mcp-server)
│ ├── server.py # MCP 서버 엔트리포인트 + CLI (config set-api-key 등)
│ ├── client.py # DartClient — OpenDART Open API 호출 래퍼
│ ├── config.py # API 키 저장/조회 (CLI 등록 vs 환경변수)
│ ├── errors.py # DartApiError
│ └── tools/ # MCP 도구 정의 — DS001~DS006 그룹별 파일
│ ├── disclosure.py # DS001 공시정보 (검색/기업정보/원문/고유번호검색)
│ ├── business_report.py # DS002 정기보고서 주요정보
│ ├── financial.py # DS003 재무정보
│ ├── stock_holdings.py # DS004 지분공시
│ ├── major_report.py # DS005 주요사항보고서
│ └── securities.py # DS006 증권신고서
│
├── plugins/ # Claude Code / Codex 플러그인 소스
│ └── {claude,codex}/opendart/ # 각 클라이언트용 플러그인 (공통 구성)
│ ├── .{claude,codex}-plugin/plugin.json # 플러그인 manifest
│ ├── .mcp.json # 플러그인이 MCP 서버를 실행하는 설정
│ └── skills/opendart-excel/
│ ├── SKILL.md # 엑셀 생성 스킬 지침서 (에이전트가 읽고 따름)
│ ├── requirements.txt # beautifulsoup4, lxml, openpyxl
│ └── scripts/
│ ├── dartdoc.py # DART 원문 XML/HTML 파서
│ ├── prepare_notes_json.py # 원문 → 중간 모델 JSON 변환
│ ├── build_financial_excel.py # 모델 JSON → Excel 워크북 생성
│ ├── verify_workbook.py # 생성된 Excel 자동 검증
│ ├── create_workbook_from_mcp.py # 위 세 단계를 한 번에 실행 (원스텝, 권장)
│ └── _ensure_deps.py # 의존성 자동 설치 헬퍼
│
├── .claude-plugin/marketplace.json # Claude Code 마켓플레이스 정의
├── .agents/plugins/marketplace.json # Codex 마켓플레이스 정의
├── .github/workflows/publish.yml # GitHub Release 생성 시 PyPI 자동 배포
├── pyproject.toml # opendart-mcp-server 패키지 빌드 설정
└── sample.png # README 예시 이미지제공 도구 (85개)
DS001 · 공시정보 (4)
Tool | Description |
| 공시 목록 검색 |
| 기업 기본정보 조회 |
| 공시 원문 문서 조회 |
| 회사명/종목코드로 법인 고유번호(corp_code) 검색 |
DS002 · 정기보고서 주요정보 (30)
Tool | Description |
| 증자(감자) 현황 |
| 배당에 관한 사항 |
| 자기주식 취득 및 처분 현황 |
| 최대주주 현황 |
| 최대주주 변동현황 |
| 소액주주 현황 |
| 임원 현황 |
| 직원 현황 |
| 이사·감사 전체의 보수현황 |
| 이사·감사 전체 보수현황 (주총승인금액) |
| 이사·감사 전체 보수현황 (유형별) |
| 이사·감사 개인별 보수현황 5억원 이상 |
| 개인별 보수지급 금액 5억 이상 상위 5인 |
| 이사·감사 개인별 보수현황 5억원 이상 (V2) |
| 개인별 보수지급 금액 상위 5인 (V2) |
| 미등기임원 보수현황 |
| 타법인 출자현황 |
| 회계감사인 명칭 및 감사의견 |
| 감사용역체결현황 |
| 비감사용역 계약체결 현황 |
| 사외이사 및 변동현황 |
| 주식의 총수 현황 |
| 채무증권 발행실적 |
| 기업어음증권 미상환 잔액 |
| 단기사채 미상환 잔액 |
| 회사채 미상환 잔액 |
| 신종자본증권 미상환 잔액 |
| 조건부자본증권 미상환 잔액 |
| 공모자금 사용내역 |
| 사모자금 사용내역 |
DS003 · 재무정보 (7)
Tool | Description |
| 단일 회사 주요 재무제표 계정 조회 |
| 다중 회사 주요 재무제표 계정 조회 |
| XBRL 재무제표 원본 조회 |
| 단일 회사 전체 재무제표 조회 |
| XBRL 표준 재무제표 양식 조회 |
| 단일 회사 주요 재무지표 조회 |
| 다중 회사 주요 재무지표 조회 |
DS004 · 지분공시 (2)
Tool | Description |
| 5% 이상 대량보유 현황 |
| 임원 및 주요주주 소유보고 |
DS005 · 주요사항보고서 (36)
Tool | Description |
| 유상증자 결정 |
| 무상증자 결정 |
| 유무상증자 결정 |
| 감자 결정 |
| 전환사채권 발행결정 |
| 신주인수권부사채권 발행결정 |
| 교환사채권 발행결정 |
| 상각형 조건부자본증권 발행결정 |
| 자기주식 취득 결정 |
| 자기주식 처분 결정 |
| 자기주식취득 신탁계약 체결 결정 |
| 자기주식취득 신탁계약 해지 결정 |
| 회사합병 결정 |
| 회사분할 결정 |
| 회사분할합병 결정 |
| 주식교환·이전 결정 |
| 영업양수 결정 |
| 영업양도 결정 |
| 유형자산 양수 결정 |
| 유형자산 양도 결정 |
| 타법인 주식 및 출자증권 양수결정 |
| 타법인 주식 및 출자증권 양도결정 |
| 주권 관련 사채권 양수 결정 |
| 주권 관련 사채권 양도 결정 |
| 자산양수도(기타), 풋백옵션 |
| 해외 증권시장 상장 결정 |
| 해외 증권시장 상장폐지 결정 |
| 해외 증권시장 상장 |
| 해외 증권시장 상장폐지 |
| 부도발생 |
| 영업정지 |
| 회생절차 개시신청 |
| 해산사유 발생 |
| 채권은행 등의 관리절차 개시 |
| 채권은행 등의 관리절차 중단 |
| 소송 등의 제기 |
DS006 · 증권신고서 (6)
Tool | Description |
| 지분증권 증권신고서 |
| 채무증권(회사채) 증권신고서 |
| 증권예탁증권(DR) 증권신고서 |
| 합병 관련 증권신고서 |
| 주식 포괄적 교환·이전 증권신고서 |
| 분할 관련 증권신고서 |
주의사항
API 일일 호출 한도: 10,000건 (초과 시 오류 발생)
opendart-excel스킬은 검증에 실패한 Excel 파일은 전달하지 않습니다.
플러그인 내부에서 쓰이는 MCP 서버 본체는 PyPI 패키지 opendart-mcp-server로 별도 배포됩니다. Claude Code/Codex가 아닌 다른 MCP 클라이언트(Claude Desktop 등)에서 85개 도구만 쓰고 싶다면 아래처럼 단독 설치할 수 있습니다.
패키지 설치
pip install opendart-mcp-server
# 또는
uv tool install opendart-mcp-server설치 후 opendartmcp 명령을 사용합니다.
uvx로 바로 실행 (설치 없이)
uvx --from opendart-mcp-server opendartmcpAPI 키 설정
# 1) CLI로 등록 (로컬 환경 권장)
opendartmcp config set-api-key
opendartmcp config show
opendartmcp config test
opendartmcp config clear-api-key패키지를 설치하지 않았다면 각 명령 앞에 uvx --from opendart-mcp-server를 붙이세요.
# 2) 환경 변수로 설정 (MCP 클라이언트 설정, Docker, CI 환경)
DART_API_KEY=your-api-key-hereCLI로 등록한 키와
DART_API_KEY가 모두 있으면 환경 변수 값이 우선 적용됩니다.
MCP 클라이언트 설정
{
"mcpServers": {
"open-dart": {
"command": "uvx",
"args": ["--from", "opendart-mcp-server", "opendartmcp"],
"env": {
"DART_API_KEY": "your-api-key-here"
}
}
}
}패키지를 설치했다면 command를 opendartmcp 하나로 바꿔도 됩니다.
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/gyeongmin100/Open-Dart-Plugin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server