fairquery-edgar
Resolve SEC companies and retrieve filings, filing text, and XBRL financial facts via free SEC-backed tools, plus an optional paid Apify batch export.
Resolve tickers, CIKs, or name fragments to official SEC CIK, ticker, and registrant name.
List a company's SEC filings with form-type/date filters, accession numbers, and document URLs.
Fetch and page through filing document text or raw HTML/XML from SEC archives.
List XBRL concepts or query time-series financial facts for one company.
Compare one XBRL concept across all companies for a calendar period using SEC frames.
Batch export filings, facts, and optional text excerpts for up to 50 companies via the Apify Actor (paid, requires APIFY_TOKEN).
Click on "Deploy 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., "@fairquery-edgar Find Nvidia's CIK and its last five 8-K filings"
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.
Fairquery EDGAR: SEC Company Filings & Financial Facts
Resolves US tickers, CIKs or company names via SEC EDGAR and returns filings and XBRL financial facts as structured rows, from $1.50 per 1,000 companies. You pay $0.0015 per resolved company, $0.001 per filing row, $0.0002 per fact row and $0.002 per text excerpt. Error rows are free. Example: 2 companies with 5 filings each and 16 fact rows each cost 2 × $0.0015 + 10 × $0.001 + 32 × $0.0002 = $0.02, plus Apify's $0.00005 Actor-start fee.
Apify Store · MCP via Apify · Contact: fairquery@proton.me
Public Apify Actor that turns the SEC’s public EDGAR data into clean, structured rows for AI agents and MCP clients. Look up by ticker, CIK, or company name. Returns official entity metadata, recent filings (10-K, 10-Q, 8-K and more) with document URLs, XBRL company facts (Assets, Revenues, NetIncomeLoss, diluted EPS and more), and optional plain-text excerpts. Every row carries a schema version, a source SEC URL, and a timestamp. Errors are machine-readable codes.
Not investment advice. Output is a structured mirror of public SEC EDGAR data for research and tooling. It is not a recommendation to buy, sell, or hold any security.
When to use this (LLM / tool selection)
Use this Actor when an agent needs:
Map a ticker, CIK, or company name → official SEC CIK / entity metadata
Recent SEC filings (10-K, 10-Q, 8-K, …) with document URLs
XBRL company facts (Assets, NetIncomeLoss, EPS, …) from
companyfactsOptional plain-text excerpts from primary filing documents
Do not use it for realtime quotes, options chains, insider Form 4 parsing beyond what submissions expose, or non-US registries.
Related MCP server: Aegis Gov SEC Filings MCP
MCP connection (Apify hosted)
Connect any MCP client to Apify’s MCP server with this Actor scoped in:
{
"mcpServers": {
"fairquery-edgar": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings"
}
}
}Clients without OAuth can add "headers": {"Authorization": "Bearer <APIFY_TOKEN>"}.
MCP URL: https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings
Actor id: fairquery/edgar-company-facts-filings (lowercase).
Example agent prompts
"Using the EDGAR tool, get Apple's and Microsoft's 10-K and 10-Q filings since 2023 and their latest Assets, NetIncomeLoss and diluted EPS."
"Find the CIK for Nvidia and list its last five 8-K filings with links."
Local stdio MCP server
This repo also ships a stdio MCP server (TypeScript, @modelcontextprotocol/sdk) under mcp/ with single-purpose tools. Six are free and call sec.gov directly (no token, brand User-Agent Fairquery, throttled to ≤5 req/s); one optional bulk tool runs the Apify Actor. initialize and tools/list work without a token.
Tool | What it does | Paging | Cost |
| Ticker / CIK / name fragment → SEC CIK, ticker, registrant name | – | free |
| One company's filings, filter by |
| free |
| Primary (or named) filing document from sec.gov Archives as plain text, by URL or accession number |
| free |
| Every file of one filing (primary document, exhibits, XBRL data files) with SEC document type, size and a direct URL, plus header facts (form, filing date, period, 8-K items, filers), from the EDGAR filing index page; optional |
| free |
| XBRL facts: list available concepts (with |
| free |
| One concept for one period across all filers (SEC frames API), sortable, optional company filter |
| free |
| Multi-company export of filings + facts + excerpts via the Apify Actor | – | pay-per-event, needs |
Paged tools return {count, total, offset, hasMore, nextOffset, meta, items}. Errors are returned as {error, message, retryable} with codes such as COMPANY_NOT_FOUND, FILING_NOT_FOUND, NOT_FOUND, INVALID_URL, SEC_FETCH_FAILED.
Live test of all free tools: cd mcp && npm run build && node scripts/live-test.mjs.
Install & run (Node)
cd mcp
npm install
npm run build
node dist/index.js # free tools
APIFY_TOKEN=your_token node dist/index.js # also enables edgar_batch_exportMCP client config (Cursor / Claude Desktop)
{
"mcpServers": {
"fairquery-edgar": {
"command": "node",
"args": ["/absolute/path/to/edgar-company-facts-filings/mcp/dist/index.js"],
"env": {
"APIFY_TOKEN": "your_apify_token"
}
}
}
}Docker
Build from mcp/:
cd mcp
docker build -t fairquery-edgar-mcp .
docker run -i -e APIFY_TOKEN=your_token fairquery-edgar-mcpThe repo-root Dockerfile builds this stdio MCP server (build context = repository root) and is what Glama uses. The Apify Actor image is built from .actor/Dockerfile.
Glama
glama.json lists fairquery as maintainer. After Glama indexes the server, claim ownership if needed.
Data sources (SEC fair access)
Resource | URL |
Tickers map |
|
Submissions |
|
Company facts |
|
The Actor sends User-Agent: Fairquery fairquery@proton.me and throttles to ≤ 5 requests/second.
Input
Field | Type | Default | Description |
|
| — | Tickers ( |
|
|
| Which row types to emit (always emits |
|
|
| Form filter (case-insensitive); pass |
|
| — | Keep filings with |
|
|
| Cap filing rows per company |
|
|
| XBRL concept names (case-insensitive); |
|
|
| Most-recent values per concept/unit |
|
|
| Fetch primary document text |
|
|
| Excerpt length cap in characters |
Example input
{
"companies": ["AAPL", "MSFT"],
"mode": "both",
"formTypes": ["10-K", "10-Q"],
"since": "2023-01-01",
"maxFilingsPerCompany": 5,
"metrics": ["Assets", "NetIncomeLoss", "EarningsPerShareDiluted"],
"includeTextExcerpt": false
}Minimal:
{"companies":["AAPL"],"mode":"both","formTypes":["10-K"],"metrics":["Assets","NetIncomeLoss"]}Output
One dataset row per company, filing, fact, text excerpt, or error. Every row includes:
schema_version— currently1.0.0type—company|filing|fact|text_excerpt|errorsource_url— SEC URL the row came fromscraped_at— ISO timestamp
Error rows (machine-readable)
{
"schema_version": "1.0.0",
"type": "error",
"code": "COMPANY_NOT_FOUND",
"message": "Could not resolve company query: ZZNOTREAL",
"retryable": false,
"query": "ZZNOTREAL",
"source_url": "https://data.sec.gov/"
}Codes include: INPUT_EMPTY, COMPANY_NOT_FOUND, RESOLVE_FAILED, SUBMISSIONS_FETCH_FAILED, FACTS_FETCH_FAILED, EXCERPT_FETCH_FAILED.
Run summary
Key-value store record RUN_SUMMARY with counts, SEC request total, and echoed input.
Fact order: for each concept and unit, fact rows are sorted by period end date (newest first), then by filing date. A value that later filings re-report (for example the prior-year column of a 10-Q) is returned once, from the latest filing, so maxFactsPerMetric gives you the most recent periods.
Pricing
No subscription. You pay for these events:
Event | Price | When |
| $0.0015 | Each successfully resolved company row |
| $0.001 | Each filing row |
| $0.0002 | Each XBRL fact row |
| $0.002 | Each primary-document text excerpt row |
| $0.00005 | Once per run, per GB of memory (Apify default event) |
Error rows (COMPANY_NOT_FOUND, FACTS_FETCH_FAILED, …) are not charged.
Worked example: {"companies": ["AAPL", "MSFT"], "mode": "both", "maxFilingsPerCompany": 5, "metrics": ["Assets", "NetIncomeLoss", "EarningsPerShareDiluted", "Revenues"], "maxFactsPerMetric": 4} returns 2 company rows, up to 10 filing rows and up to 32 fact rows: 2 × $0.0015 + 10 × $0.001 + 32 × $0.0002 = $0.02 at most, plus $0.00005. Turning on includeTextExcerpt adds $0.002 per filing.
To cap spend, use mode: "facts" or "filings", lower maxFilingsPerCompany / maxFactsPerMetric, or set a maximum cost per run in the run options (the Actor stops cleanly at the limit). Prices are from the Store pricing tab (October 2026).
Memory / runtime
Default 256 MB, timeout 300s. HTTP-only (no browser).
Troubleshooting
Symptom | Cause and fix |
API call rejected: | The input had no companies. The sample tickers in the Console form are prefill only and are not sent with API calls. |
| The ticker, CIK or name fragment is not in the SEC ticker map (for example a non-US or delisted company). Try the CIK. These rows are free. |
Fewer filings than expected |
|
A metric is missing from the facts | The company does not report that us-gaap concept (for example |
| SEC servers were slow or rate-limiting ( |
FAQ
Where does the data come from?
From the SEC's public EDGAR JSON endpoints (ticker map, submissions, companyfacts), fetched with a declared User-Agent under SEC fair-access rules.
Is this investment advice?
No. It is a structured mirror of public SEC data for research and tooling.
Does it include real-time prices or non-US companies?
No. It covers SEC registrants only, with no market data.
How much does a run cost?
From $0.0015 per resolved company, plus $0.001 per filing row, $0.0002 per fact row and $0.002 per excerpt. A two-company example with filings and facts costs about $0.02.
Can an AI agent call it?
Yes, through Apify MCP (see the scoped URL in the MCP section above). The stdio MCP server in the GitHub repo also has free tools that query sec.gov directly.
Fairquery family
Other Fairquery tools on the Apify Store. Each one returns structured rows with machine-readable error codes, and error rows are never charged:
Email Validator for Agents (MX, Disposable, Typo): syntax, MX, disposable, role and typo checks without sending mail; $0.79 per 1,000 emails
Website Contact & Company Enricher: domain in, public business emails, phones, socials and company details out; $3 per 1,000 domains
Website Tech, SEO & llms.txt Check for Agents: tech stack, SEO score, AI-crawler rules and llms.txt per site; $1.50 per 1,000 sites
Sanctions & Watchlist Screener (OFAC, EU, UK, UN): fuzzy name screening against official sanctions lists; $3 per 1,000 names + $0.007 per run
LLM Data Guard: PII & Secret Redactor: redact PII and secrets before text reaches an LLM; $1.50 per 1,000 documents + $0.20 per 1,000 findings
Dependency Vulnerability Check for Agents: packages and lockfiles against OSV.dev; $0.50 per 1,000 packages + $1.50 per 1,000 vulnerabilities
Company Jobs Feed: Greenhouse, Lever & Ashby: live jobs from employers' own ATS boards with age and repost signals; $0.99 per 1,000 jobs + $0.0005 per board
Competitor Change Tracker: Pricing, Terms, Careers & Changelog: watch competitors' public pricing, terms, careers and changelog pages for real changes with plain-English summaries and webhook alerts; $0.00049 per page checked + $0.0049 per change
AI Exposure Scanner: Public Secrets, Files & AI-Crawler Policy: passive, scored scan of your own domains and public GitHub repos for leaked secrets (masked), exposed files, AI-crawler policy, security headers and SPF/DMARC; $0.039 per domain + $0.0039 per repo + $0.0019 per finding
MCP server
@fairquery/agent-trust-mcp: one MCP server for Claude Desktop, Cursor and VS Code (npx -y @fairquery/agent-trust-mcp). It has 8 free tools that need no token, plus paid tools that call the PII, email, sanctions and OSV Actors with your own Apify token.
All Fairquery Actors: https://apify.com/fairquery
Kits & templates
Optional guides from Fairquery for wiring this Actor into agents and automations (the Actor works fine without them):
AI Agent Data Toolkit Quick-Start (PDF): MCP setup for Claude Desktop and Cursor, API calls, recipes, cost estimates.
n8n + Zapier Workflow Template Pack: 10 importable n8n workflows for the four Fairquery Actors, plus Zapier setup guides.
Agent Prompt Pack for Research & Lead Ops: 69 prompts for company research, lead cleaning, SEO and security reviews.
Agent Starter Kit: 10 copy-paste MCP + n8n recipes ($5): 10 copy-paste MCP + n8n recipes, with ready-made Claude/Cursor configs and 3 starter workflows.
Disclaimer
Data originates from the U.S. Securities and Exchange Commission EDGAR system. Fairquery and this Actor provide no warranty of completeness or fitness for trading decisions. This is not investment advice.
Links
Guide with a real run: SEC EDGAR company facts API: XBRL financials and filings by ticker
Apify Store: https://apify.com/fairquery/edgar-company-facts-filings
MCP: https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings
GitHub: https://github.com/fairquery/edgar-company-facts-filings
Contact: fairquery@proton.me
License: MIT
Development
Local development, tests and deployment notes are in DEVELOPMENT.md. The Apify Store README is .actor/README.md.
Available Tools
7 toolsedgar_batch_exportBatch export filings & facts via Apify Actor (paid)ARead-onlyIdempotentInspect
Bulk export (paid, via Apify) of structured SEC EDGAR data for up to 50 US companies in one call: entity metadata, recent filings (10-K, 10-Q, 8-K, S-1, DEF 14A, ...) with document URLs, XBRL financial facts (Assets, Revenues, NetIncomeLoss, EarningsPerShareDiluted, ...) and optional plain-text excerpts of primary filing documents.
WHEN TO USE: only when you need filing and/or fact rows for 5+ companies in one dataset, or text excerpts in bulk; for 1-4 companies call edgar_list_filings / edgar_get_company_facts per company (free). mode="filings" for filing history/links, "facts" for financial numbers, "both" for both. Not for real-time quotes, prices, options, non-US companies or investment advice.
BEHAVIOR: runs the Fairquery Apify Actor fairquery/edgar-company-facts-filings via the Apify API, which queries sec.gov (throttled to <=5 req/s). Requires the APIFY_TOKEN environment variable. Typical run 5-60 s; the call waits up to 5 minutes.
COST: paid (billed to your Apify account, pay-per-event): $0.00005 per run, $0.0015 per resolved company, $0.001 per filing row, $0.0002 per fact row, $0.002 per text excerpt. Example: 1 company, 5 filings, 3 metrics x 4 values ~ $0.009.
RETURNS: rows of type company | filing | fact | text_excerpt | error; error rows carry code (INPUT_EMPTY, COMPANY_NOT_FOUND, RESOLVE_FAILED, SUBMISSIONS_FETCH_FAILED, FACTS_FETCH_FAILED, EXCERPT_FETCH_FAILED) and retryable, so an unresolvable company never fails the whole call.
WHEN NOT TO USE: interactive lookups or 1-4 companies - use the free edgar_* tools (same SEC data).
PARAMETERS: companies: each entry is resolved by the Actor as ticker, CIK or name fragment and billed once when resolved; unresolvable entries yield a free COMPANY_NOT_FOUND row. mode controls which other parameters apply: formTypes, since, maxFilingsPerCompany and includeTextExcerpt/excerptMaxChars only affect "filings"/"both"; metrics and maxFactsPerMetric only affect "facts"/"both". Billed rows per call = resolved companies + companies x min(maxFilingsPerCompany, matching filings) + companies x metrics x units x maxFactsPerMetric (+ one excerpt per filing row when includeTextExcerpt=true), so size those three numbers first. Omitted optional fields take the Actor's input defaults: formTypes ["10-K","10-Q","8-K"] (pass [] for every form type), maxFilingsPerCompany 5, metrics Assets, NetIncomeLoss, EarningsPerShareDiluted, Revenues (pass [] for a built-in 10-concept set), maxFactsPerMetric 4, excerptMaxChars 2000. since compares filing_date (inclusive); metrics are case-sensitive us-gaap/dei names.
EXAMPLE: {"companies":["AAPL","MSFT"],"mode":"facts","metrics":["Revenues"],"maxFactsPerMetric":4} -> company + fact rows ($0.005).
Inputs: companies (required), mode, since, metrics, +5 more. Returns: count, items
edgar_get_company_factsGet XBRL financial facts for a companyARead-onlyIdempotentInspect
Get reported XBRL financial data (us-gaap, ifrs-full, dei, ...) for one company from the SEC companyfacts API, e.g. Assets, Revenues, NetIncomeLoss, EarningsPerShareDiluted. Two modes: (1) omit concepts to LIST the concepts the company reports (name, label, units, number of values) so you can pick exact names; (2) pass concepts to get their time-series values, newest first, optionally filtered by form (10-K/10-Q), fiscal period or date. Use edgar_get_concept_across_companies to compare one concept across many companies. Behavior: GET to data.sec.gov (throttled to <=5 requests/s). Values are as reported, so the same period can appear in several filings (see dedupe). RETURNS: list mode = one row per concept (units, value count); values mode = one row per reported value (start is null for instant concepts). Errors: COMPANY_NOT_FOUND, NOT_FOUND (no XBRL data), SEC_FETCH_FAILED (retryable). WHEN NOT TO USE: for filing documents/text use edgar_list_filings + edgar_get_filing_document; many companies at once -> edgar_get_concept_across_companies (free, one concept) or edgar_batch_export (paid). COST: free - direct sec.gov requests from this MCP server, no APIFY_TOKEN, no Apify billing. PARAMETERS: concepts switches the mode: omitted/empty = list mode (only taxonomy and search apply; forms, fiscalPeriod, since and dedupe are ignored), non-empty = values mode (search is ignored). Concept names are case-sensitive and must match exactly as listed (e.g. "NetIncomeLoss", not "netincome"); names the company never reported come back in meta.missing_concepts instead of failing. Many companies report revenue as "RevenueFromContractWithCustomerExcludingAssessedTax" rather than "Revenues", so run list mode with search "revenue" first. taxonomy applies in both modes. In values mode the filters combine with AND: forms matches the form of the filing that reported the value (["10-K"] = annual reports), fiscalPeriod matches fp ("FY" = full year; "Q4" is rarely reported separately), since compares the period end date. dedupe=true keeps one value per concept/unit/start-end period (the latest filed, i.e. restated) - set false to see every filing's figure. Rows are sorted by period end, newest first, then paged with limit/offset. EXAMPLE: {"company":"MSFT","concepts":["Revenues"],"fiscalPeriod":"FY","limit":5} -> 5 newest annual Revenues values in USD.
Inputs: company (required), forms, limit, since, +6 more. Returns: meta, count, items, total, +3 more
edgar_get_concept_across_companiesCompare one XBRL concept across all companiesARead-onlyIdempotentInspect
Cross-company query: get one XBRL concept (e.g. Revenues, Assets, NetIncomeLoss) for one calendar period for every SEC filer that reported it, using the SEC frames API. Sortable and paged. Use for free multi-company screening and peer comparison ("largest companies by total assets at end of 2023", "net income of all filers in CY2023"). Behavior: GET to data.sec.gov (throttled to <=5 requests/s); one frame download per call, plus the 6-hour-cached ticker map when companies is set. RETURNS: ranked rows, one per filer; meta names the frame and its source_url. Errors: NOT_FOUND (no such concept/unit/period frame), SEC_FETCH_FAILED (retryable). WHEN NOT TO USE: for one company's time series use edgar_get_company_facts; for filings use edgar_list_filings. COST: free - direct sec.gov requests from this MCP server, no APIFY_TOKEN, no Apify billing. PARAMETERS: period must match the concept type: flow items (Revenues, NetIncomeLoss) use durations "CY2023" or "CY2023Q2"; balance-sheet items (Assets, Liabilities, StockholdersEquity) need an instant such as "CY2023Q4I" - the wrong kind returns NOT_FOUND. Calendar periods are SEC-aligned approximations of each filer's fiscal period. concept, unit and taxonomy are case-sensitive path parts of one SEC frame, so all three must exist together: money uses unit "USD" (default), EPS "USD-per-shares", share counts "shares", ratios "pure"; dei concepts (e.g. EntityCommonStockSharesOutstanding) need taxonomy "dei". companies filters the frame after download (any ticker/CIK/name; unresolvable entries are silently skipped); rank is computed after that filter and the chosen sort, so rank 1 = largest value among the kept companies with value_desc. limit/offset then page the ranked rows. EXAMPLE: {"concept":"Assets","period":"CY2023Q4I","limit":10} -> top 10 filers by total assets at end of 2023.
Inputs: period (required), concept (required), sort, unit, +4 more. Returns: meta, count, items, total, +3 more
edgar_get_filing_documentGet SEC filing document textARead-onlyIdempotentInspect
Fetch the text of an SEC filing document from the sec.gov EDGAR archives, converted from HTML to plain text, returned in character-paged chunks. Use to read the actual content of a filing (risk factors, MD&A, 8-K press release, ...). Identify the document by documentUrl (from edgar_list_filings), or by company + accessionNumber (the primary document is used unless document names another file in the filing). Behavior: GET to www.sec.gov (throttled to <=5 requests/s). Large 10-Ks can exceed 500k characters, so read them in pages. RETURNS: one page of text; nextOffset is null on the last page. Errors: INVALID_INPUT, INVALID_URL, COMPANY_NOT_FOUND, FILING_NOT_FOUND, NOT_FOUND, SEC_FETCH_FAILED (retryable). WHEN NOT TO USE: to find which filings exist use edgar_list_filings first; for structured financial values use edgar_get_company_facts (no text parsing needed). COST: free - direct sec.gov requests from this MCP server, no APIFY_TOKEN, no Apify billing. PARAMETERS: give EITHER documentUrl (wins if present; company/accessionNumber/document are then ignored) OR company + accessionNumber (both required together, else INVALID_INPUT). accessionNumber accepts dashed "0000320193-24-000123" or 18 plain digits; without document the filing's primary document is fetched (looked up in recent, then archived filings), with document that file name inside the same filing folder is fetched directly (e.g. an exhibit "ex99-1.htm" listed on index_url). offset and maxChars are measured in characters of the converted text (or of the raw body when raw=true), not bytes: loop with offset = nextOffset until hasMore is false. raw=true returns the original HTML/XML unchanged, so total_chars and offsets differ from text mode; do not mix offsets from the two modes. Non-HTML files (.txt) are returned as is in either mode. EXAMPLE: {"company":"AAPL","accessionNumber":"0000320193-24-000123","maxChars":20000} -> first 20000 chars of the 10-K text with nextOffset for the next page.
Inputs: raw, offset, company, document, +3 more. Returns: text, offset, hasMore, nextOffset, +4 more
edgar_get_filing_indexList the documents and exhibits of one SEC filingARead-onlyIdempotentInspect
List every file of ONE SEC filing from its EDGAR filing index page: 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). Use when you need an exhibit or attachment rather than the primary document ("Apple's list of subsidiaries", "the press release attached to this 8-K"), or the 8-K item numbers of a filing; then pass a row's url to edgar_get_filing_document. Behavior: one GET to the {accession}-index.htm page on www.sec.gov (throttled to <=5 requests/s, shared with the other edgar_* tools); company resolution may add one cached ticker-map request. RETURNS: one "filing_document" row per file, in SEC sequence order (documents first, then data files); meta holds the filing header. Errors: INVALID_INPUT, INVALID_URL, COMPANY_NOT_FOUND, NOT_FOUND (no such filing for that CIK), SEC_FETCH_FAILED (retryable). WHEN NOT TO USE: 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, no Apify billing. PARAMETERS: give EITHER indexUrl (index_url from edgar_list_filings; wins if present) OR company + accessionNumber (both required together, else 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"; use prefix matching yourself if needed) before paging; meta.document_count is SEC's own count and ignores the filter. doc_type of XBRL data files is e.g. "EX-101.SCH" or "XML". url points to the raw file (the inline-XBRL viewer prefix is removed), so it can be passed to edgar_get_filing_document as documentUrl. EXAMPLE: {"company":"AAPL","accessionNumber":"0000320193-24-000123","docTypes":["EX-21.1"]} -> 1 row {"doc_type":"EX-21.1","document":"a10-kexhibit21109282024.htm","url":"https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/a10-kexhibit21109282024.htm"}, meta.form "10-K", meta.period_of_report "2024-09-28".
Inputs: limit, offset, company, docTypes, +2 more. Returns: meta, count, items, total, +3 more
edgar_list_filingsList SEC filings for a companyARead-onlyIdempotentInspect
List a single company's SEC EDGAR filings (newest first) with form type, filing/report dates, accession number and direct document URLs, filtered by form type and date range, with limit/offset paging. Use to find which filings exist (e.g. "Apple's 10-Ks since 2020", "Tesla 8-Ks this year") and to get an accession_number / document_url for edgar_get_filing_document (or index_url for edgar_get_filing_index to see its exhibits). Not for financial values (use edgar_get_company_facts). Behavior: GET to the data.sec.gov submissions API (throttled to <=5 requests/s). RETURNS: one row per filing; accession_number and document_url feed edgar_get_filing_document (document_url is null when SEC lists no primary document; index_url lists every file). Errors: COMPANY_NOT_FOUND, NOT_FOUND, SEC_FETCH_FAILED (retryable). WHEN NOT TO USE: for document text use edgar_get_filing_document; for XBRL numbers use edgar_get_company_facts; many companies at once -> edgar_get_concept_across_companies (free, one concept) or edgar_batch_export (paid). COST: free - direct sec.gov requests from this MCP server, no APIFY_TOKEN, no Apify billing. PARAMETERS: company: a numeric value is always used as a CIK; text is matched as ticker, then name fragment (first match). formTypes: exact, case-insensitive equality on the form field, so "10-K" does not include amendments - add "10-K/A" explicitly; insider filings are "4", proxies "DEF 14A". since/until: both inclusive and compared with filing_date (not report_date); combine them for a window, e.g. since "2024-01-01" + until "2024-12-31". includeOlder: the default searches only the ~1000 newest filings, so for date windows older than a few years (or for very active filers) set it to true, which adds one SEC request per archive file. Filters are applied before paging: total counts matching filings, rows are newest first, and you continue with offset = nextOffset. EXAMPLE: {"company":"AAPL","formTypes":["10-K"],"since":"2020-01-01","limit":5} -> 5 newest Apple 10-K rows with accession_number and document_url.
Inputs: company (required), limit, since, until, +3 more. Returns: meta, count, items, total, +3 more
edgar_resolve_companyResolve company to SEC CIK (free)ARead-onlyIdempotentInspect
Resolve US company tickers, CIKs or name fragments to official SEC CIK numbers, tickers and registrant names using the SEC public ticker map (company_tickers.json). Use this first when you only need an identifier (e.g. "what is Nvidia's CIK?") or want to confirm which company a name refers to before fetching filings/facts. Next steps: edgar_list_filings for filings, edgar_get_company_facts for financial data. Behavior: HTTP GET to sec.gov (throttled to <=5 requests/s); the ticker map is cached for 6 hours. Covers SEC registrants with a listed ticker only (no delisted/private filers). RETURNS: "company_match" rows (cik zero-padded to 10 digits; match = the rule that hit: cik|ticker|name) or one COMPANY_NOT_FOUND error row per unmatched query. WHEN NOT TO USE: not for filings (edgar_list_filings) or financial values (edgar_get_company_facts); other tools already accept tickers/names directly. COST: free - direct sec.gov requests from this MCP server, no APIFY_TOKEN, no Apify billing. PARAMETERS: queries: each string is resolved independently and returns its own rows (or its own COMPANY_NOT_FOUND row), so mixed batches never fail as a whole. Precedence per query: all-digit strings are tried as a CIK first (leading zeros optional; must be in the ticker map), then an exact ticker (case-insensitive; class shares like "BRK-B" use a dash), then a case-insensitive substring of the registrant name; the first rule that matches wins and later rules are not applied. maxMatchesPerQuery caps the rows of every query, but only matters for broad name fragments (e.g. "bank") and for CIKs with several tickers (GOOG/GOOGL); raise it (max 25) to see more candidates, then pass the chosen ticker or cik to the other tools. EXAMPLE: {"queries":["NVDA","apple"]} -> {count:2, items:[{type:"company_match", cik:"0001045810", ticker:"NVDA", name:"NVIDIA CORP", match:"ticker"}, ...]}
Inputs: queries (required), maxMatchesPerQuery. Returns: count, items
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct resource+action: identifier resolution, filing listing, filing index, document text, single-company facts, cross-company concept frames, and bulk export. The only near-overlap (edgar_get_company_facts vs edgar_get_concept_across_companies) is explicitly scoped as single-company time series vs cross-company single concept, with detailed WHEN NOT TO USE notes, so misselection is unlikely.
All seven tools use the same edgar_ snake_case prefix followed by a verb_noun phrase (resolve_company, list_filings, get_filing_index, get_company_facts, get_concept_across_companies, get_filing_document, batch_export). The pattern is predictable and readable throughout, with only the minor verb variation of batch_export.
Seven tools is well-scoped for a read-only SEC EDGAR data server, with each tool covering a distinct retrieval mode. No redundant or filler tools are present, and the free/paid split is handled by a single dedicated export tool rather than duplicated endpoints.
Core workflows are covered end to end: resolve identifiers, list filings, inspect filing indexes, read document text, and pull XBRL facts for one or many companies with a bulk paid option. Notable gaps remain, such as EDGAR full-text search across filings and free multi-company filing retrieval, but agents can largely work around these.
Maintenance
Related MCP Connectors
Resolves stock tickers to SEC CIK numbers, recent 10-K/10-Q/8-K filings, and entity metadata.
Extract structured SEC EDGAR company facts, CIK lookups, and regulatory financial filings.
Resolves all 10,000+ US public stock tickers to SEC CIK numbers, recent 10-K/10-Q/8-K filings, an.
Primary-source SEC filing intelligence and financial/disclosure reconciliation for AI agents.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables deep analysis of SEC EDGAR filings through universal company search, document content extraction, and advanced filing search capabilities. Provides AI-ready access to business descriptions, risk factors, financial statements, and full-text search across any public company's SEC documents.-
- AlicenseAqualityCmaintenanceQuery SEC EDGAR for company filings, financial data, and executive disclosures. Search by company name or ticker, retrieve 10-K/10-Q/8-K filings, and extract structured financials — backed by the official SEC EDGAR API, built for AI agents.4MIT
- AlicenseAqualityBmaintenanceEnables AI agents to research US public company filings, financials, and insider transactions using SEC EDGAR data, with no API keys required. Provides tools for company lookup, recent filings, full-text search, financial facts, and insider activity.51MIT
- AlicenseNot gradedqualityCmaintenanceEnables searching SEC EDGAR for companies, retrieving recent filings (e.g., 10-K, 10-Q), and accessing structured XBRL financial facts.75 npmMIT