EdgarStack Get beta access
Home / Tools / peer_comparison_excel
Company data · MCP tool

peer_comparison_excel

Builds a branded Excel workbook from SEC XBRL data for two to fifteen US companies: a latest-fiscal-year comparison of revenue, growth, margins, diluted EPS, cash flow and free cash flow with MEDIAN and rank rows, and Revenue, Operating income, Net income and FCF history sheets where each company-year figure links to its 10-K accession on SEC EDGAR. Accepts a ticker list, pasted text, or a base64 .xlsx or .csv file.

Equity researchers who want a comparable-company table in Excel, with every figure traced to the 10-K that reported it.

What it does

Build a branded Excel workbook comparing 2–15 US companies from SEC XBRL filings. Sheets: a Summary (companies, skipped tickers, notes); a latest-fiscal-year Comparison with revenue, revenue growth, gross/operating/net margins, diluted EPS, CFO, capex, FCF (CFO − capex) and FCF margin, plus a MEDIAN row and a rank (1 = largest) per column; and Revenue, Operating income, Net income and FCF history sheets (2–10 fiscal years, default 5) where every company-year figure links to the 10-K accession on SEC EDGAR that reported it. Dollars are USD millions; missing data shows n/a, never 0. Companies report on different fiscal calendars, so each row names its own FY end. Pass tickers as an array, pasted text (comma, space, newline or semicolon separated; CSV with a ticker/symbol header works), or a base64 .xlsx/.csv file (2 MB, 500 rows max). The response includes a download link (hosted) or the .xlsx itself, plus a summary listing any skipped tickers. Research tooling, not investment advice.

A download link (hosted) or the .xlsx file, plus a summary listing any tickers that could not be resolved.

Who it helps

Equity researchers who want a comparable-company table in Excel, with every figure traced to the 10-K that reported it.

Inputs

Input names and constraints below come from the registered MCP tool schema.

InputWhat it controls
tickers2 to 15 US ticker symbols
textTicker list separated by commas, spaces, newlines or semicolons; a CSV with a ticker/symbol header also works
fileBase64Base64 of a .xlsx or .csv ticker list (2 MB, 500 rows max)
filenameFile name ending in ".xlsx" or ".csv"; required with fileBase64
yearsFiscal years of history on the Revenue, Operating income, Net income and FCF sheets Default: 5.

Example request

Build a peer comparison workbook for Apple, Microsoft and Alphabet with five years of history.

{
  "tickers": [
    "AAPL",
    "MSFT",
    "GOOGL"
  ],
  "years": 5
}

What to expect

A download link (hosted) or the .xlsx file, plus a summary listing any tickers that could not be resolved.

Important limits

Two to fifteen US companies; at least two must resolve or the call fails. Dollars are USD millions as reported; companies report on different fiscal calendars, so each row names its own FY end. Missing data shows n/a, never 0. Research tooling, not investment advice.

Data sources and verification

EdgarStack uses SEC EDGAR filings and, for applicable tools, SEC XBRL company-facts data. Coverage depends on the issuer, filing, taxonomy tags, and tool inputs. Follow the source filing references and verify material facts against the official filing.

Related tools

Related guide

How does SEC XBRL company-facts data work?