• DATA
  • ANALYSIS
  • COMPARISON
  • HUMAN

How to extract historical financial trends with your AI

Connect your AI to SEC EDGAR once. From there, your agent pulls specific metric sequences for any ticker you name.

Ask AI about this page

Short answer

How can I pull historical financial data using my AI?

Your agent uses the SEC EDGAR Financials MCP to fetch the last five reported values for metrics like revenue, debt, or EPS. This lets you build trajectories and compare companies instantly. You'll see the specific data points and trends below.

The results

Where your data lands

The AI turns raw SEC filings into structured data points for your analysis.

DATA

Metric sequences

The AI pulls the five most recent values for any metric you request. You get a clean list of numbers ready for your own charts.

ANALYSIS

Trend identification

Your agent calculates the direction of revenue or debt over the last few quarters. It identifies growth or contraction patterns for you.

COMPARISON

Industry benchmarking

You can pull similar metrics from multiple tickers to see how one company stacks up against its peers. This builds a relative view of performance.

HUMAN

Final verification

You review the extracted numbers against the original filings. This ensures the context is correct before you act on the data.

The workflow

What your AI does when the request arrives.

The AI moves from raw SEC data to a structured trend report through these steps.

  1. Fetch filings

    The AI locates the specific SEC EDGAR filings for the ticker you provided. It targets the most recent quarterly or annual reports.

    get_key_financials
  2. Isolate metrics

    The agent scans the filings to find the specific line items you asked for, such as net income or total assets. It grabs the last five reported instances.

    get_key_financials
  3. Structure the sequence

    The AI organizes these values into a chronological list. This makes it easy to see the movement from one period to the next.

    get_key_financials
  4. Draft the summary

    Your agent writes a plain English summary of what the numbers show. It highlights whether the trend is upward or downward.

    get_key_financials

Try it

Copy these to start.

Use these prompts to trigger the data extraction immediately.

Starting points

Swap out the ticker symbols and metric names to match the company you are researching.

U.S. Securities and Exchange Commission (SEC) Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_2h2NgYUbwlMmbq7EatEwPKwrMgOgduayGu5PZADP/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — U.S. Securities and Exchange Commission (SEC) capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "sec-edgar-financials-revenue-income-assets-eps-industry-comparison-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_2h2NgYUbwlMmbq7EatEwPKwrMgOgduayGu5PZADP/mcp"
    }
  }
}
Copy into chat04
  • Get the last five reported revenue values for NVDA.

  • Pull the debt and net income trends for TSLA from the last five filings.

  • Compare the EPS trajectory of MSFT against GOOGL using their recent filings.

  • Show me the trend for total assets for AAPL over the last five quarters.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect SEC EDGAR Financials once, then ask.

One click connects this MCP to your client. Your login stays encrypted and secure on our end.

Connect SEC EDGAR Financials to your AI

FAQ

How this task behaves

  • 01

    Can the AI change the data in the SEC filings?

    No. The AI only reads the data from the filings. It cannot modify or delete any official SEC records.

  • 02

    Does the AI perform the actual stock trading?

    No. The AI only extracts and analyzes financial metrics. You must handle all execution and trading yourself.

  • 03

    How many data points can it pull at once?

    The tool is designed to pull the last five reported values for the specific metrics you request.

  • 04

    Can I use this to analyze private companies?

    No. This MCP only accesses data from the SEC EDGAR database, which contains filings for public companies.

  • 05

    Will the AI tell me if a company is a good buy?

    No. The AI provides the raw numbers and trend descriptions. It does not provide financial advice or buy/sell recommendations.

  • More questions about SEC EDGAR Financials? The Connector page answers them. See everything the SEC EDGAR Financials Connector can do

Connect U.S. Securities and Exchange Commission (SEC) to Claude, Cursor, ChatGPT & more