List the documents and exhibits of one SEC filing
edgar_get_filing_indexLists every file in an SEC EDGAR filing index, including exhibits and XBRL data, with type, size, URL, and filing header facts to help you locate attachments or 8-K item numbers.
Instructions
WHAT: List every file of one SEC filing from its EDGAR index page: the primary document, exhibits (EX-21 subsidiaries, EX-99.1 press release) and XBRL data files, with SEC document type, description, size and a direct URL, plus filing header facts (form, filing date, acceptance time, period of report, 8-K items, filers). WHEN: When you need an exhibit or attachment rather than the primary document, or the 8-K item numbers. Pass a row's url to edgar_get_filing_document. WHEN NOT: To find filings use edgar_list_filings first. To read a document's text use edgar_get_filing_document. For financial values use edgar_get_company_facts. COST: Free. Direct sec.gov requests from this MCP server. No APIFY_TOKEN and no Apify billing. RETURNS: One "filing_document" row per file, in SEC sequence order (documents, then data files). meta holds the filing header. Errors: INVALID_INPUT, INVALID_URL, COMPANY_NOT_FOUND, NOT_FOUND, SEC_FETCH_FAILED (retryable). BEHAVIOR: HTTPS only to www.sec.gov and data.sec.gov. User-Agent is "Fairquery info@getfairquery.com". At most 5 requests/second, shared by every free edgar_* tool. Redirects are refused. Responses are size-capped. The ticker map is cached for 6 hours. APIFY_TOKEN is not read. One GET of the {accession}-index.htm page. Company resolution may add one cached ticker-map request. PARAMETERS: Give either indexUrl (index_url from edgar_list_filings; it wins when present) or company together with accessionNumber (both required, otherwise INVALID_INPUT). company only locates the filing folder: any CIK that filed or co-filed the accession works. docTypes filters rows by exact, case-insensitive SEC document type ("EX-21" does not match "EX-21.1") before paging. meta.document_count is SEC's own count and ignores the filter. XBRL data-file doc_type values look like "EX-101.SCH" or "XML". url points at the raw file (the inline-XBRL viewer prefix is removed) and can be passed to edgar_get_filing_document as documentUrl. EXAMPLE: {"company":"AAPL","accessionNumber":"0000320193-24-000123","docTypes":["EX-21.1"]} -> one row with doc_type "EX-21.1" and a www.sec.gov Archives url. meta.form is "10-K".
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": "edgar_get_filing_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional page size: items to return, integer 1-500 (default 100). Example: 50 | |
| offset | No | Optional zero-based number of items to skip, integer 0-1000000 (default 0); pass nextOffset from the previous response, e.g. 100 | |
| company | No | Optional, 1-200 chars; required together with accessionNumber when indexUrl is omitted. Ticker ("AAPL"), CIK ("320193") or registrant-name fragment ("Apple"; the first SEC ticker-map match is used). | |
| docTypes | No | Optional, default omitted = all files. 1-50 exact SEC document types, case-insensitive. Example: ["EX-21.1","EX-99.1"] | |
| indexUrl | No | Optional (alternative to company + accessionNumber). index_url from edgar_list_filings; must start with https://www.sec.gov/Archives/edgar/data/ and end with -index.htm or -index.html (else INVALID_URL). Example: https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/0000320193-24-000123-index.htm | |
| accessionNumber | No | Optional; required together with company when indexUrl is omitted. Format 10-2-6 digits with optional dashes (pattern ^\d{10}-?\d{2}-?\d{6}$), e.g. "0000320193-24-000123" or "000032019324000123" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Tool-specific context (summary counts, cost notes, ...) | |
| count | Yes | Number of items in this page | |
| items | Yes | Result rows for this page | |
| total | Yes | Total items before paging | |
| offset | Yes | Offset of the first item in this page | |
| hasMore | Yes | True if more items exist after this page | |
| nextOffset | Yes | Offset to pass for the next page, or null |