Skip to main content

OpenDART API MCP Server — Korean stock disclosure data via Model Context Protocol

Project description

OpenDART MCP Server

PyPI version Python License: MIT

MCP server for South Korea's OpenDART API (금융감독원 전자공시).
Query Korean stock disclosures, financial statements, shareholder reports, and more — directly from any MCP-compatible client.

83 tools across 6 API groups (DS001–DS006).


Requirements


Installation

PyPI (권장):

pip install opendart-mcp-server

소스에서 직접 설치:

git clone https://github.com/gyeongmin100/Open-Dart-MCP.git
cd Open-Dart-MCP
pip install -e .

MCP 설정

MCP를 지원하는 클라이언트에서 공통으로 사용할 수 있는 설정입니다.

설정 파일에 아래 내용을 추가하세요:

uvx 사용 (가장 간단, 별도 설치 불필요):

{
  "mcpServers": {
    "open-dart": {
      "command": "uvx",
      "args": ["opendartmcp"],
      "env": {
        "DART_API_KEY": "your-api-key-here"
      }
    }
  }
}

pip 설치 후:

{
  "mcpServers": {
    "open-dart": {
      "command": "python",
      "args": ["-m", "opendartmcp.server"],
      "env": {
        "DART_API_KEY": "your-api-key-here"
      }
    }
  }
}

사용 예시

삼성전자 최근 공시 보여줘
카카오 2023년 재무제표 알려줘
현대자동차 최대주주 현황은?
LG전자 임원 현황 조회해줘
SK하이닉스 배당 이력 알려줘
2024년 합병 공시 목록 검색해줘

Tools (83개)

DS001 · 공시정보 (4)

목록 펼치기
Tool Description
search_disclosures 공시 목록 검색
get_company_info 기업 기본정보 조회
get_disclosure_document 공시 원문 문서 조회
get_corp_codes 전체 법인코드 목록 다운로드

DS002 · 정기보고서 주요정보 (28)

목록 펼치기
Tool Description
get_capital_change_status 증자(감자) 현황
get_dividend_info 배당에 관한 사항
get_treasury_stock 자기주식 취득 및 처분 현황
get_largest_shareholder 최대주주 현황
get_largest_shareholder_changes 최대주주 변동현황
get_minority_shareholders 소액주주 현황
get_executives 임원 현황
get_employees 직원 현황
get_executive_compensation_total 이사·감사 전체의 보수현황
get_executive_compensation_gmtsck 이사·감사 전체 보수현황 (주총승인금액)
get_executive_compensation_type 이사·감사 전체 보수현황 (유형별)
get_executive_compensation_individual_v2 이사·감사 개인별 보수현황 5억원 이상 (V2)
get_individual_pay_over5_v2 개인별 보수지급 금액 상위 5인 (V2)
get_unregistered_executives 미등기임원 보수현황
get_investment_in_other_corps 타법인 출자현황
get_audit_opinion 회계감사인 명칭 및 감사의견
get_audit_fee 감사용역체결현황
get_non_audit_service 비감사용역 계약체결 현황
get_outside_director_changes 사외이사 및 변동현황
get_stock_total_qty 주식의 총수 현황
get_bond_issuance 채무증권 발행실적
get_commercial_paper 기업어음증권 미상환 잔액
get_short_term_bond 단기사채 미상환 잔액
get_corp_bond_outstanding 회사채 미상환 잔액
get_hybrid_bond 신종자본증권 미상환 잔액
get_debt_securities_outstanding 조건부자본증권 미상환 잔액
get_public_offering_fund_usage 공모자금 사용내역
get_private_placement_fund_usage 사모자금 사용내역

DS003 · 재무정보 (7)

목록 펼치기
Tool Description
get_single_company_account 단일 회사 주요 재무제표 계정 조회
get_multi_company_account 다중 회사 주요 재무제표 계정 조회
get_xbrl_financial XBRL 재무제표 원본 조회
get_single_full_financial 단일 회사 전체 재무제표 조회
get_xbrl_taxonomy XBRL 표준 재무제표 양식 조회
get_single_financial_index 단일 회사 주요 재무지표 조회
get_multi_financial_index 다중 회사 주요 재무지표 조회

DS004 · 지분공시 (2)

목록 펼치기
Tool Description
get_large_holding_report 5% 이상 대량보유 현황
get_executive_stock_report 임원 및 주요주주 소유보고

DS005 · 주요사항보고서 (36)

목록 펼치기
Tool Description
get_paid_capital_increase 유상증자 결정
get_free_capital_increase 무상증자 결정
get_paid_free_capital_increase 유무상증자 결정
get_capital_reduction 감자 결정
get_convertible_bond 전환사채권 발행결정
get_bond_with_warrants 신주인수권부사채권 발행결정
get_exchangeable_bond 교환사채권 발행결정
get_conditional_capital_issuance 상각형 조건부자본증권 발행결정
get_stock_acquisition 자기주식 취득 결정
get_stock_disposal 자기주식 처분 결정
get_treasury_stock_trust_conclude 자기주식취득 신탁계약 체결 결정
get_treasury_stock_trust_terminate 자기주식취득 신탁계약 해지 결정
get_merger_decision 회사합병 결정
get_division_decision 회사분할 결정
get_division_merger_decision 회사분할합병 결정
get_stock_exchange_decision 주식교환·이전 결정
get_business_acquisition 영업양수 결정
get_business_transfer 영업양도 결정
get_tangible_asset_acquisition 유형자산 양수 결정
get_tangible_asset_transfer 유형자산 양도 결정
get_equity_investment_acquisition 타법인 주식 및 출자증권 양수결정
get_equity_investment_transfer 타법인 주식 및 출자증권 양도결정
get_equity_securities_acquisition 주권 관련 사채권 양수 결정
get_equity_securities_transfer 주권 관련 사채권 양도 결정
get_other_asset_acquisition 자산양수도(기타), 풋백옵션
get_overseas_listing_decision 해외 증권시장 상장 결정
get_overseas_delisting_decision 해외 증권시장 상장폐지 결정
get_overseas_listing 해외 증권시장 상장
get_overseas_delisting 해외 증권시장 상장폐지
get_bankruptcy_report 부도발생
get_business_suspension_report 영업정지
get_rehabilitation_report 회생절차 개시신청
get_dissolution_report 해산사유 발생
get_creditor_management 채권은행 등의 관리절차 개시
get_creditor_management_suspension 채권은행 등의 관리절차 중단
get_lawsuit_report 소송 등의 제기

DS006 · 증권신고서 (6)

목록 펼치기
Tool Description
get_equity_securities 지분증권 증권신고서
get_debt_securities 채무증권(회사채) 증권신고서
get_depositary_receipts 증권예탁증권(DR) 증권신고서
get_merger_securities 합병 관련 증권신고서
get_stock_exchange_securities 주식 포괄적 교환·이전 증권신고서
get_division_securities 분할 관련 증권신고서

주의사항

  • API 일일 호출 한도: 10,000건 (초과 시 오류 발생)
  • API 키는 환경변수 DART_API_KEY로 전달하며, 코드에 직접 입력하지 마십시오.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendart_mcp_server-1.0.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opendart_mcp_server-1.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file opendart_mcp_server-1.0.0.tar.gz.

File metadata

  • Download URL: opendart_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opendart_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8e30509d49048142a301ec896b1cb7a0b206b2ddcade46a24162e73ab2400912
MD5 3e7107337a92d50ce47b7c98947ab6d5
BLAKE2b-256 5fbd8d6d15c4de875a0aac1eb427bff00cc79f2ea9708af6c93dc5b19f8ddc25

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendart_mcp_server-1.0.0.tar.gz:

Publisher: publish.yml on gyeongmin100/Open-Dart-MCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opendart_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for opendart_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3bf5aeb09f60b18246d712ad95ab4e1ae014ff809894a0954a171ea1e1fe3382
MD5 707791c18d931758a1b99b02b60aba99
BLAKE2b-256 5fdea950af1ff1acae1386d28784f78e13aed5d9182ad5d2f944c78fb2048466

See more details on using hashes here.

Provenance

The following attestation bundles were made for opendart_mcp_server-1.0.0-py3-none-any.whl:

Publisher: publish.yml on gyeongmin100/Open-Dart-MCP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page