find_corp_code
MyDART MCP의 find_corp_code 도구는 회사명·종목코드로 DART 법인 식별자(corp_code)의 후보를 확인합니다.
[Purpose]
IMPORTANT: first call when a company's corp_code is unknown.
Also to disambiguate same-named companies.
ID resolution only — 업종·data location: get_company_profile; disclosure listings: search_disclosures.
[Usage]
"카카오" → corp_code 획득 → 재무제표 조회(get_financials)
"삼성전자" → corp_code 획득 → 임원 현황 조회(get_periodic_report)
"'동양' 들어가는 회사 후보 보여줘" → query="동양", limit=20
"005930이 어느 회사야?" → query="005930"
[Response]
stock_code: 6-digit present = listed (common shares); empty/absent = unlisted.
count = rows returned (capped by
limit), not the total match count. 0 hits addsnotes.
[Rules]
resultsis a similarity-ranked candidate array — do not assume the first item is the answer.corp_code identifies the DART LEGAL ENTITY CODE, not the listing ticker. 우선주/ETF/ETN codes have no mapping (보통주 codes only).
Common names may overflow the default
limit— raise it when candidates look truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max candidates to return (default 10, max 50) | |
| query | Yes | 회사명 (한/영), 6-digit 종목코드, or 8-digit corp_code |