# EDGAR Answers — SEC filings MCP server for AI agents (`aion_org/edgar-answers-mcp`) Actor

Normalized multi-year financials from XBRL and year-over-year risk-factor diffs - the SEC filing work your agent shouldn't have to do. Plus parsed Form 4 insider trades, section extraction, and full-text search since 2001. Failed calls are never billed.

- **URL**: https://apify.com/aion\_org/edgar-answers-mcp.md
- **Developed by:** [Marc Chamberlain](https://apify.com/aion_org) (community)
- **Categories:** Developer tools, AI, Agents
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 1,000 normalized financials

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## EDGAR Answers — SEC filings for AI agents

Give your agent **answers** from SEC EDGAR, not raw API responses.

Every US public company files its financials with the SEC, for free, in XBRL.
The catch is that "free and public" is not the same as "usable": companies tag
the same line item a dozen different ways, annual and quarterly figures live in
the same stream, restatements silently overwrite history, and Form 4 insider
filings arrive as raw XML. Existing EDGAR MCP servers hand your agent that mess
and wish it luck.

This server does the parsing first. Your agent asks for revenue; it gets
revenue.

### Tools

#### `get_financials` — normalized annual statements

Multi-year income statement, balance sheet, and cash flow for any US-listed
company, from a ticker or CIK.

```
get_financials(company: "AAPL", years: 4)
→ revenue, grossProfit, operatingIncome, netIncome, epsDiluted,
  operatingCashFlow, capex, totalAssets, totalLiabilities,
  stockholdersEquity, cashAndEquivalents, longTermDebt, sharesDiluted
  — one clean row per fiscal year
```

Behind that: an ordered tag-fallback chain per line item (filers disagree on
which us-gaap tag means "revenue"), duration filtering so annual figures aren't
contaminated by quarterly cumulatives, and restatement resolution to the most
recently filed value. Unreported items come back `null` rather than guessed.

#### `filing_diff` — what changed year over year

```
filing_diff(company: "NVDA", section: "risk_factors")
→ paragraphs added and removed between the two most recent 10-Ks
```

The question an analyst actually asks — *what did they start saying this year,
and what did they quietly drop?* — answered at paragraph level, with
boilerplate that merely reflowed filtered out.

#### `insider_activity` — Form 4, parsed

```
insider_activity(company: "MSFT", filings: 10)
→ who, role, transaction type, shares, price, holdings after — tidy rows
```

Open-market buys separated from tax withholding and option exercises, so your
agent doesn't mistake a scheduled vest for a conviction purchase.

#### `filing_section` — any section as clean text

```
filing_section(company: "TSLA", section: "risk_factors" | "mdna" | "business" | "1A")
```

Table-of-contents decoys are filtered out; you get the real section body.

#### `search_filings` — full-text search since 2001

```
search_filings(query: "\"supply chain disruption\"", forms: "10-K", startDate: "2025-01-01")
```

### Connect

Streamable HTTP endpoint:

```
https://aion-org--edgar-answers-mcp.apify.actor/mcp
```

Authenticate with your Apify API token as a bearer token. In an MCP client
config:

```json
{
  "mcpServers": {
    "edgar-answers": {
      "url": "https://aion-org--edgar-answers-mcp.apify.actor/mcp",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

For clients that only speak stdio, bridge with `npx mcp-remote <url> --header "Authorization: Bearer YOUR_APIFY_TOKEN"`.

The server runs in standby mode: it scales to zero when idle and wakes on your
first request, so the first call after a quiet period takes a few seconds.

### Pricing

Pay per successful call — failed calls are not billed.

| Call | Price |
|---|---|
| `search_filings` | $0.005 |
| `get_financials` | $0.02 |
| `insider_activity` | $0.02 |
| `filing_section` | $0.03 |
| `filing_diff` | $0.05 |

### Data and compliance

Source data is SEC EDGAR — US government filings, public domain. Requests are
made with a declared User-Agent and rate-limited well under the SEC's published
ceiling, per their [access guidelines](https://www.sec.gov/os/accessing-edgar-data).
Nothing here is scraped from a site that prohibits it.

### Limits, stated plainly

- **US GAAP filers.** Foreign private issuers reporting under IFRS return no
  normalized financials; `get_financials` says so rather than guessing.
- **Coverage follows EDGAR.** Full-text search reaches back to 2001; XBRL
  financials exist from roughly 2009 onward.
- **Not investment advice.** This is filing data, faithfully parsed. What you
  conclude from it is yours.
- `filing_diff` compares the two most recent filings of a form; arbitrary
  filing pairs aren't exposed yet.

Found a parsing bug or want a tool that isn't here? Open an issue on the Actor
— specific reports about specific tickers get fixed.

# Actor input Schema

## Actor input object example

```json
{}
```

# Actor output Schema

## `mcpEndpoint` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("aion_org/edgar-answers-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("aion_org/edgar-answers-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call aion_org/edgar-answers-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aion_org/edgar-answers-mcp"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/UbGcbgDRfkVDx7Lii/builds/dfTsKlawEP7sXB4ZR/openapi.json
