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개 API 도구와 Excel 워크플로 도구를 자연어 질의로 사용할 수 있습니다.

데모 영상
https://github.com/user-attachments/assets/6b5664fd-73cb-409c-adec-e23df6ed1198
Related MCP server: dart-mcp
준비물
Claude Code 또는 Codex CLI
Python 3.11+
uv/uvx(설치) — 없다면pip install uvOpenDART API KEY: OpenDART에서 KEY 발급
설치
플러그인을 설치하면 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 스킬 동작 방식
회사명·사업연도·기간·범위(연결/별도)를 파악하고, 모호하면 반드시 사용자에게 확인합니다.
get_corp_codes와search_disclosures로 해당 기간 정기보고서의rcept_no1건을 찾습니다.list_financial_document_candidates가 공시 계열 전체의 ZIP XML을 먼저 검사하고, 빠진 첨부만 DART 내부 문서 목록으로 보완합니다. AI가 요청 기간·연결/별도에 맞는candidate_id를 고릅니다.create_financial_workbook이 선택 문서만 받아 재무제표·주석을 파싱하고 Excel을 생성·검증합니다.감사·검토보고서 첨부가 실제로 없으면
confirmation_required를 반환합니다. 사용자 승인 후allow_body=true로 다시 호출할 때만(본문)후보를 쓰고 생성합니다.
정정 공시는 본문만 재제출하고 첨부는 원본 공시에 남습니다. 서버가 원본·정정·첨부정정·첨부추가 제출본의 ZIP을 모두 검사하므로 접수번호 1건이면 원본에 붙은 감사보고서까지 후보에 나옵니다. 후보의 rcept_no가 조회에 쓴 번호와 달라도 정상입니다.
공시 원문(XML/HTML)은 서버 메모리에서만 처리되어 AI에게 전달되지 않으며, 중간 파일도 남지 않습니다.
안전성:
allow_body=true없이는 본문 후보를 반환하거나 생성하지 않습니다. 승인 후에도 ZIP 첫 파일이 아니라사업보고서·반기보고서·분기보고서제목의 본문을 선택합니다.OpenDART HTTP 오류에는 상태 코드와 API 경로만 포함하며,
httpx로그의crtfc_key는***로 가립니다.검증 실패·취소·최종 파일 이동 실패 시 서버가 만든 임시 파일과 빈 선점 파일을 정리합니다.
프로젝트 구조
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 # 안전한 DART API/HTTP 예외
│ ├── excel/ # 재무제표 Excel 생성 (서버가 직접 수행)
│ │ ├── candidates.py # ZIP + DART 화면 첨부 후보 조회/로딩
│ │ ├── dartdoc.py # DART 원문 XML/HTML 파서
│ │ ├── build_financial_excel.py # 모델 → Excel 워크북 생성
│ │ ├── verify_workbook.py # 생성된 Excel 자동 검증
│ │ └── workflow.py # ZIP 1회 다운로드 → 문서 선택 → 파싱 → 생성 → 검증
│ └── 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 증권신고서
│ └── workbook.py # 후보 조회 + Excel 생성 워크플로 도구
│
├── plugins/ # Claude Code / Codex 플러그인 소스
│ └── {claude,codex}/opendart/ # 각 클라이언트용 플러그인 (공통 구성)
│ ├── .{claude,codex}-plugin/plugin.json # 플러그인 manifest
│ ├── .mcp.json # 플러그인이 MCP 서버를 실행하는 설정
│ └── skills/opendart-excel/
│ └── SKILL.md # 엑셀 생성 스킬 지침서 (에이전트가 읽고 따름)
│
├── .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 예시 이미지변경사항: 재무제표 Excel 생성 코드는 플러그인의
skills/opendart-excel/scripts/(Claude·Codex 두 벌)에서src/opendartmcp/excel/한 벌로 옮겨졌고, MCP 서버가 직접 실행합니다. 플러그인 쪽 스크립트와requirements.txt, 의존성 자동 설치 헬퍼는 제거되었습니다. 기존 85개 OpenDART API 도구는 그대로 유지됩니다.플러그인의
.mcp.json은uvx --from opendart-mcp-server opendartmcp로 PyPI 배포본을 실행합니다. 현재 버전은1.4.2입니다.
제공 도구
워크플로 도구 (2)
Tool | Description |
| 접수번호 1건으로 공시 계열 전체의 첨부·본문 제목 목록 반환 (원문 미반환) |
| 선택한 문서에서 검증된 재무제표 Excel 생성 (원문은 반환하지 않고 파일 경로만 반환) |
OpenDART API 도구 (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 파일은 전달하지 않습니다.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
Alicense-qualityFmaintenanceMCP Server for public disclosure information of Korean companies, powered by the dartpoint.ai API.3Apache 2.0- AlicenseAqualityDmaintenanceMCP server for Korea's DART (Data Analysis, Retrieval and Transfer) electronic disclosure system, operated by the Financial Supervisory Service (FSS). Exposes company disclosures, company profiles, and financial statements via the OpenDART public API.39MIT
- AlicenseAqualityCmaintenanceProvides Korean stock market data, including DART electronic disclosures and KRX trading information, enabling users to query company profiles, financial statements, and stock trade details via MCP clients.9MIT
Related MCP Connectors
KOSPI/KOSDAQ closing prices and DART regulatory filings. Free, no signup, no API key.
Search company disclosures and financial statements from the Korean market. Retrieve stock profile…
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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