Blog / AI and MCP
AI and MCP

Using AI for SEC Filings: What Breaks and What Grounds It

Why pasting a 10-K into a chatbot runs into real limits, and how to ground an AI tool's answers in the actual filing instead of a guess.

By the SecFeed teamNovember 9, 20266 min read
Key takeaways

Using AI on SEC filings usually means one of two things: pasting a filing into a chatbot and asking questions, or connecting a model to a tool that fetches the filing data for it. The first approach works for a quick question about a short filing you already have open. It breaks down for anything involving a long document, a recent filing, or a number you actually need to be right.

This post covers where the first approach runs into real limits, and what grounding an AI tool's answers in the actual filing looks like in practice.

Why "just paste it into the chatbot" runs into limits

Two separate problems show up, and they get confused with each other often enough that it is worth naming them separately.

The model has a training cutoff. Every general purpose model is trained up to a certain date, and has no way to know about anything filed after that, no matter how the question is phrased. Ask it to summarize a company's most recent 10-K and it can only describe one it saw during training, which may be a year or more out of date, or it may describe details that sound plausible but are not in the actual document at all.

A full filing can be longer than the conversation can hold. A 10-K is not just the narrative sections; it includes financial statements, notes, and exhibits that can run to a substantial document, especially for a company with many subsidiaries or a long history of incorporated-by-reference material. Once you paste in enough of a filing to matter, you are often trading away room for the model's own reasoning and your follow up questions.

These are not the same failure. A stale model answers confidently about the wrong filing. A model running out of context either stops partway through or starts dropping earlier parts of what you gave it. Both look like a wrong answer, but the fix is different: one needs current data, the other needs a smaller, more targeted chunk of the filing.
ProblemWhat it looks likeWhat actually fixes it
Training cutoffConfident answer about a filing that is outdated or does not existFetching the current filing at question time, not a better prompt
Context limitsThe model drops earlier context or stalls partway through a long documentA smaller, targeted extract of the filing instead of the whole thing
Reading numbers off textA figure that looks right but mismatches the filing's own tagged valuePulling the number from structured XBRL data instead of rendered text

What grounding actually means here

Grounding is giving the model the specific text it needs to answer a question, fetched at the time of the question, instead of relying on what it already contains. In practice that means three steps: find the right filing, fetch a specific part of it rather than the whole thing, and hand the model only that part along with the question.

EDGAR's full text search can locate filings containing a phrase, but it returns matching documents, not model-ready text, and raw EDGAR HTML carries navigation, inline styling and repeated boilerplate that eats context for no benefit. An extraction step that returns one clean section, say Item 1A (Risk Factors) of a 10-K rather than the entire filing, gives a model exactly what the question needs and nothing it has to filter out itself.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/extractor?url=...&item=1A. Free key, no card needed.

Get a free API key →

A worked example: answering a question from one section, not the whole filing

Say the question is about risk factors in a specific 10-K rather than the whole document. The job is: find the filing, pull just that item as clean text, then hand it to a model.

curl "https://secfeedapi.com/v1/filings?query=ticker:NVDA AND formType:\"10-K\"&size=1" \
  -H "Authorization: Bearer YOUR_API_KEY"

That returns the filing's index URL and accession number. /v1/extractor then pulls one item from it as plain text instead of the full document:

from secfeed import Client

sf = Client("YOUR_API_KEY")
filing = sf.filings('ticker:NVDA AND formType:"10-K"', size=1)["filings"][0]
risk_factors = sf.extract(filing["linkToFilingDetails"], item="1A")

risk_factors is now plain text containing only Item 1A, short enough to pass straight into a prompt along with the actual question, with no exhibits, no financial statement tables and no HTML markup competing for the model's attention. This is the same shape of call an MCP server for SEC filings wraps as a tool an agent can call mid-conversation instead of you writing the request by hand.

Why numbers need a different approach than text

Asking a model to read a dollar figure off rendered HTML works most of the time and fails exactly when it matters: a restated prior period next to a current one, a number reported in thousands next to one reported in millions, or a total that includes a parenthetical adjustment easy to misread. XBRL exists precisely so figures like revenue or total assets are tagged as structured facts rather than left for a reader, human or model, to parse out of a table. Pulling the XBRL fact directly and handing the model a labeled number is more reliable than having it extract the same figure from text, and it is checkable against the filing's own tag rather than a visual read of a rendered page.

What AI still should not be asked to do with filings

Grounding fixes staleness and scale, not judgment. A model that correctly quotes a risk factor or a revenue figure is still summarizing, not interpreting, what a company chose to disclose and how. Treat its output as a faster way to find and read the relevant part of a filing, not as investment advice or a conclusion about whether a company is a good investment; that call still depends on more than what shows up in one document, and no filing or AI summary of it should be read as a buy or sell signal.

Frequently asked questions

Can I just upload a 10-K PDF to a chatbot and ask questions?

For a short filing, often yes. For a large company's annual report with exhibits, you risk the document not fitting in the model's context at all, or fitting only by leaving out material the model then cannot reference. Pulling a single section instead of the whole filing avoids the problem entirely.

Why would a chatbot describe a filing that does not exist?

If the model has no live connection to EDGAR, it answers from training data, which can include incomplete or incorrect recollection of real filings, or simply confuse similar filings from different companies or years. That is a staleness and grounding problem, not a one-off glitch.

What is the difference between full text search and extraction?

Full text search finds which filings contain a phrase. Extraction pulls one specific part of a filing you have already identified, as clean text, instead of the whole document.

Is there a reliable way to get exact financial figures for an AI tool to use?

Pulling the figure from the filing's XBRL data, where it is tagged as a structured fact with its own label and period, is more reliable than having a model read it off a rendered page.

Does connecting an AI tool to live filing data replace reading the filing myself?

No. It changes how fast you can find the relevant part of a long document. The judgment calls, including whether a disclosure matters to a decision, still require reading what the company actually said.

Get this data as clean JSON

SecFeed turns SEC filings into structured data with one API call: GET /v1/extractor?url=...&item=1A. Free key, no card needed.

Get a free API key →

For information only, not investment advice. Data from public SEC filings; verify important figures on SEC.gov. See our AI Disclosure.