MCP server exposing 4 tools for sec-fundamentals.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/sec-fundamentals/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
sec_fundamentals_as_of — POINT-IN-TIME company fundamentals with no look-ahead: what a US public company's financial statements said ON A GIVEN DATE, using only values the company had FILED with the SEC on or before that date. A later restatement cannot leak backwards: ask for 2009-12-31 and you get the figure as first reported, ask for 2010-02-01 and you get the restated one. Send `company` (ticker, CIK or exact company name) and `as_of` (YYYY-MM-DD; omit for today). Returns, for each requested standard concept (revenue, net_income, eps_diluted, total_assets, total_liabilities, equity, cash, operating_cash_flow, capex, long_term_debt, shares_outstanding by default; 70+ available, see sec_fundamentals_concepts), the most recent reporting periods known on that date, newest first, each with value, period start and end, calendar `period` label, filing date, form, accession and whether that period had already been restated by then. `period` selects annual, quarterly (discrete quarters) or all windows (including 6- and 9-month year-to-date). Discrete Q4 is not reported by filers and is not derived here; use edgar_company_concept for derived Q4 on a live lookup. An `as_of` before the company's first filing returns found:false with empty_reason as_of_before_first_filing and the earliest filing date, never an empty success. Covers XBRL-era filings (2009 onward). Every response carries `data_as_of` (newest filing in the data) and `source`. For one line's full revision history use sec_fundamentals_restatements; for a cross-company screen use sec_fundamentals_frame.sec_fundamentals_restatements — Full REVISION HISTORY of one financial line for one US public company: every reporting period whose reported value changed between filings, with each version, the date it was filed, the form and accession, and the change in absolute and percent terms. Use it to see how Apple's fiscal 2007 revenue moved from 24,006M to 24,578M when a later filing recast it, or to check whether a figure you pulled earlier has since been revised. Send `company` (ticker, CIK or exact name) and `concept` (standard key such as "revenue", "net_income", "total_assets", "eps_diluted"; list with sec_fundamentals_concepts). Optional `period_end` (YYYY-MM-DD) narrows to one reporting period, `as_of` hides versions filed after that date, `include_unrevised:true` also lists periods that never changed. Only the first filing of each distinct value is listed (a later filing repeating the same number is not a revision). Stock splits show up as revisions of per-share and share-count lines. Covers XBRL-era filings (2009 onward); the original pre-XBRL report of an older period is not in the data, so its first version here is the earliest XBRL filing that carried it. Every response carries `data_as_of` and `source`.sec_fundamentals_frame — CROSS-COMPANY screen of one financial concept in one period, as known on a date: every US filer's value of (for example) revenue for CY2023, or total_assets at CY2024Q2I, ranked, with no look-ahead. Send `concept` (standard key, e.g. "revenue", "net_income", "total_assets", "operating_cash_flow"; see sec_fundamentals_concepts) and `period` in calendar form: CY2023 (a full year), CY2023Q1 (a discrete quarter) or CY2023Q4I (a balance-sheet date; the I is added for you on balance-sheet concepts, and "2023" means CY2023Q4I there). Fiscal periods are aligned to the nearest calendar period, as in the SEC frames convention (a September fiscal year end lands in the calendar year that holds most of the fiscal year). `as_of` (YYYY-MM-DD, default today) keeps only values filed on or before it, so a later restatement or a company that had not yet filed cannot change the answer. Optional `min_value`, `max_value`, `sort` (desc default, asc) and `limit` (1 to 500, default 50) shape the screen; `count_total` reports how many companies matched before the cut. Each row has company name, ticker, CIK, value, period start and end, filing date, form and accession. An `as_of` before any filing of that period returns found:false with the earliest filing date. Every response carries `data_as_of` and `source`.sec_fundamentals_concepts — List the standard financial concepts the SEC fundamentals tools understand: the short key to pass as `concept` (revenue, net_income, total_assets, eps_diluted, operating_cash_flow, capex, long_term_debt, shares_outstanding and about 70 more), its label, statement (income, balance, cashflow, per_share, cover, other), whether it is a duration (flow) or a balance at a date (instant), its unit, and the ordered XBRL tags it is read from (the first tag a filer reports for a period wins, so companies that changed tags still get one continuous series). Filter with `statement` or a `search` word. Also returns friendly aliases ("sales" for revenue, "eps" for eps_diluted) and the store's `data_as_of`, company count and period coverage. Call this first when you do not know the concept key. Every response carries `data_as_of` and `source`.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/sec-fundamentals/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io