query_corporate_registry
Read-only, idempotent query of 5,858,407 JP firms in 47 prefectures, 44,293 domains, invoices, grades, LEIs, and OFAC (API key or x402; 24h). Pass mode with corporateNumber, domain, or lei (default mode="lookup", limit=50, offset=0); returns entities ordered by match rank. Note: For recalls, use query_regulatory_recalls instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "query_corporate_registry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lei | No | 20-character ISO 17442 Legal Entity Identifier (e.g. "5493006W3QUS5LMH6R84" for Toyota Motor Corporation). | |
| leis | No | Batch of 1 to 1,000 20-character ISO 17442 LEI codes. | |
| mode | No | Query mode: "lookup" / "batch" for O(1) 13-digit corporate number or domain batch lookup (1 to 1,000), "screen" / "filter" for multi-condition corporate substance & co-located address density filtering across all 47 prefectures, "gleif_lei" for ISO 17442 LEI / English corporate name / BIC / LAPSED lookup across 4,357 Japanese LEI corporations, "ofac_sanctions" for Zero-PII U.S. Treasury OFAC organizational sanctions screening (26,364 organizational records; Individual scope out_of_scope), "gov_qualification" for Digital Agency Unified Government Qualification (全省庁統一資格, Government of Japan Standard Terms of Use v2.0) A–D grade & company scale lookup across 62,630 indexed corporations in all 47 prefectures (partial catalog: 0 unresolved >500-hit slices, 13 pagination pages truncated by non-JCN rows — unindexed JCNs return not_observed), or "edinet_gc_amendments" for rolling-75d FSA EDINET API v2 Going Concern notes & amended securities report XBRL numeric diffs (3,061 filings). | lookup |
| docId | No | In "edinet_gc_amendments" mode, 8-character EDINET filing document ID (e.g. "S100ABCD"). | |
| limit | No | Maximum corporate/sanctions records to return per call (1 to 1,000, default 50). | |
| domain | No | Filter or reverse-lookup by normalized official corporate website host (e.g. "andque.com", "smarthr.jp") across 107,126 D1 directory corporations / 44,227 unique corporate domains (4,551 live-measured B2A Readiness Tier & SPF/DMARC corporations). | |
| offset | No | Zero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically. | |
| domains | No | Batch of 1 to 1,000 corporate domains for counterparty batch verification. | |
| keyword | No | Optional substring filter across corporate name, municipality, or domain. | |
| secCode | No | In "edinet_gc_amendments" mode, 4- or 5-character Japanese securities code (e.g. "7203" or "72030"). | |
| edinetCode | No | In "edinet_gc_amendments" mode, 6-character FSA EDINET submitter code (e.g. "E02144"). | |
| entityName | No | Organization or corporate legal name for Zero-PII OFAC SDN Entity sanctions screening. | |
| hasBicOnly | No | In "gleif_lei" mode, when true returns only Japanese corporations with registered SWIFT BIC codes. | |
| lapsedOnly | No | In "gleif_lei" mode, when true returns only Japanese corporations whose LEI annual renewal status is LAPSED. | |
| prefecture | No | Prefecture name or code (e.g. "東京都", "大阪府", "13"). | |
| assetSymbol | No | In "ofac_sanctions" catalog browse mode (when walletAddress/entityName are omitted), optional digital currency ticker filter across 600 organization-linked SDN wallets (e.g. "TRX", "ETH", "XBT", "USDT", "ARB", "BCH", "XMR", "SOL"). | |
| entityNames | No | Batch of 1 to 1,000 organization names for Zero-PII OFAC SDN Entity sanctions screening. | |
| companyScale | No | In "gov_qualification" mode, statutory company scale ("large" 大企業, "sme" 中小企業, "micro" 小規模企業, or "other" その他). | |
| walletAddress | No | Crypto wallet address (EVM/Base/ETH 0x..., BTC, SOL, TRX, etc.) for OFAC SDN Digital Currency Address sanctions screening. | |
| amendmentsOnly | No | In "edinet_gc_amendments" mode, when true returns only amended securities/quarterly/semi-annual reports (訂正報告書) with XBRL before/after element diff metadata. | |
| prefectureCode | No | 2-digit JIS prefecture code ("01" to "47", e.g. "13" for Tokyo, "27" for Osaka). | |
| corporateNumber | No | 13-digit Japanese Corporate Number with valid NTA Mod-9 check digit (e.g. "6010001269339", "3120001079845") across 5,858,407 registered corporations in all 10,000 R2 shards (generation gen_37500fcdaacecf05). | |
| requireGleifLei | No | In "screen" / "filter" mode, when true requires the corporation to hold an active or registered GLEIF LEI. | |
| walletAddresses | No | Batch of 1 to 1,000 crypto wallet addresses for pre-settlement OFAC sanctions screening. | |
| corporateNumbers | No | Batch of 1 to 1,000 13-digit Japanese Corporate Numbers. | |
| excludeLapsedLei | No | In "screen" / "filter" mode, when true excludes corporations whose GLEIF LEI status is LAPSED. | |
| goingConcernOnly | No | In "edinet_gc_amendments" mode, when true returns only corporate filings with statutory Going Concern notes (継続企業の前提に関する注記), Going Concern material events (重要事象等), or auditor Going Concern emphasis. | |
| maxAddressDensity | No | Maximum number of active corporations registered at the same normalized building address (1 to 100,000, e.g. 49 or 50 to exclude high-density co-located addresses). | |
| includeWeakAliases | No | In "ofac_sanctions" mode, controls whether U.S. Treasury OFAC <category>weak</category> organizational AKAs (2,160 aliases) are included. Defaults to false (matches primary names + 11,549 strong AKAs only). When true, weak AKAs are also matched and tagged with matchedVia="weak_aka_alias" and akaStrength="weak". | |
| maxNameChangeCount | No | Maximum historical corporate name change count (0 to 1,000). | |
| maxRelocationCount | No | Maximum historical head-office relocation count (0 to 1,000). | |
| qualificationGrade | No | In "gov_qualification" mode, exact statutory procurement qualification grade ("A", "B", "C", or "D"). | |
| excludeGoingConcern | No | In "screen" / "filter" mode, when true excludes corporations with active EDINET Going Concern notes or Going Concern material events. | |
| minQualificationGrade | No | Minimum statutory procurement qualification grade ("A" highest through "D") in "gov_qualification" or "screen" mode. | |
| strictExcludeUnobserved | No | In "screen" / "filter" mode, controls unknown/unobserved handling for exclusion filters (excludeGoingConcern, excludeRecentEdinetAmendments, excludeLapsedLei). When false (default), unobserved corporations (e.g. not_observed_in_window for 75d EDINET or no registered LEI) are retained with explicit unobservedOrExcludedScopes[] tags (never certified clean). When true, unobserved corporations are ALSO excluded. | |
| excludeHighDensity50Plus | No | When true, excludes corporations registered at addresses with 50 or more co-located active corporations. | |
| excludeParrySpamObserved | No | When true, excludes entities with observed PARRY unsolicited outbound domain/telephone matches, published administrative sanction records, or revoked/expired invoice registration. | |
| requireInvoiceRegistered | No | When true, requires active NTA Qualified Invoice Issuer registration without revocation or expiration. | |
| requireRealBusinessSignal | No | When true, requires at least one verified public activity signal (government procurement award, subsidy approval, IP/trademark registration, permit certification, financial disclosure, or official corporate domain). | |
| excludeRecentEdinetAmendments | No | In "screen" / "filter" mode, when true excludes corporations that filed recent amended securities reports on EDINET. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Zero-PII Japanese corporate registry (5,858,407 R2-sharded corporations, 44,293 domains, 62,630 Unified Qualification corps, 4,357 GLEIF LEIs, 3,061 EDINET GC/amendments, 14,053 Kanpo notices, 26,364 OFAC organizational records) ordered by match rank. | |
| stats | Yes | Execution telemetry including itemCount, durationMs, and upstream breakdown. | |
| offset | Yes | Zero-based pagination offset applied to the matched record slice. | |
| success | Yes | True when the read-only query completed without upstream or validation failure. | |
| streamId | Yes | Underlying B2A data stream identifier that fulfilled the query. | |
| toolName | Yes | Executed MCP tool name for deterministic audit correlation. | |
| sealStatus | Yes | TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset. | |
| generated_at | Yes | ISO-8601 UTC timestamp when this response payload was generated. | |
| sha256Digest | Yes | Deterministic 64-character hex SHA-256 provenance digest of the returned items. | |
| partialResult | No | True only if a live upstream sub-source returned partial coverage. | |
| returnedCount | Yes | Number of structured records returned in items for this page. |