# SEC EDGAR Filings API & MCP Server (10-K, 10-Q, 8-K, Form 4) (`edmarsantos/sec-edgar-filings-mcp`) Actor

Extract SEC EDGAR company filings (10-K, 10-Q, 8-K, S-1, Form 4) by stock ticker or CIK into clean LLM-ready JSON. Built for MCP agents and financial analysis.

- **URL**: https://apify.com/edmarsantos/sec-edgar-filings-mcp.md
- **Developed by:** [Edmar Santos](https://apify.com/edmarsantos) (community)
- **Categories:** MCP servers, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🇺🇸 US SEC EDGAR Filings & Financial Intelligence — SEC EDGAR Filings API & MCP Server

> 🔗 **Pair this with [US Gov RFP & Grant Radar](https://apify.com/edmarsantos/us-gov-rfp-grant-radar)
> and [US Gov Award & Competitor Intel](https://apify.com/edmarsantos/us-gov-award-competitor-intel).**
> Together they cover the full GovCon lifecycle: find the open RFP, see who *won* it, then pull the
> winning contractor's own SEC filings to see how the win shows up in their financials.

**Pull a company's recent SEC filings — 10-K, 10-Q, 8-K, Form 4, S-1 — straight from the
official [SEC EDGAR](https://www.sec.gov/edgar) system, by ticker.** This Actor resolves each
ticker to its CIK via the SEC's own public index, queries the official `data.sec.gov`
submissions API, and returns a clean, **normalized, LLM-ready feed** of filing metadata and
direct document links. No API key, no proxy, no scraping — just the government's own public
data.

> Built for GovCon capture teams, financial analysts, and AI agents that need to answer
> "what has this company filed with the SEC lately?" without hand-parsing EDGAR's raw JSON.

***

### ⚡ Quick Start: Connect to Claude Desktop, Cursor & n8n in 60 Seconds

**Answer Capsule:** To pull live SEC EDGAR filings into Claude Desktop, Cursor, or n8n, point
an MCP client at `https://mcp.apify.com` with this Actor selected — no API key, no ticker-to-CIK
lookup, and no EDGAR schema to learn. Paste one JSON config block with your Apify token,
restart the client, and ask for a company's filings in plain English.

**Claude Desktop / Cursor (MCP):** add this to your `claude_desktop_config.json`
(Claude Desktop) or `~/.cursor/mcp.json` (Cursor) — a ready-to-copy version lives at
[`examples/claude_desktop_config.json`](./examples/claude_desktop_config.json):

```json
{
  "mcpServers": {
    "apify-sec-edgar-filings-mcp": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "edmarsantos/sec-edgar-filings-mcp"],
      "env": { "APIFY_TOKEN": "YOUR_APIFY_TOKEN" }
    }
  }
}
```

Replace `YOUR_APIFY_TOKEN` with a token from [Apify Console → Settings → Integrations](https://console.apify.com/account/integrations),
restart Claude Desktop or Cursor, then just ask: *"What 8-Ks has Palantir filed in the last
month?"* or *"Pull Leidos' most recent 10-Q."*

**n8n:** import [`examples/n8n-sec-8k-watch-workflow.json`](./examples/n8n-sec-8k-watch-workflow.json)
(Workflows → Import from File). It wires up a **weekly Schedule Trigger → HTTP Request to the
Apify API → 8-K filter → Slack/Email alert**, so you get pinged whenever a tracked company
files a material event (8-K). Swap in your Apify token, tracked tickers, and Slack/SMTP
credentials and you're live.

***

### ✨ Why use this Actor

**Answer Capsule:** SEC EDGAR's raw API requires resolving a ticker to its CIK number before
you can query anything, then filtering a large raw submissions JSON yourself. This Actor
handles the ticker-to-CIK lookup, filters by form type, and returns a flat, LLM-ready schema —
callable natively from Claude, Cursor, or n8n via MCP.

- **Official, zero-friction data.** Queries the SEC's own
  [`company_tickers.json`](https://www.sec.gov/files/company_tickers.json) and
  [`data.sec.gov/submissions`](https://www.sec.gov/edgar/sec-api-documentation) APIs — no API
  key, no proxy, no scraping.
- **Ticker in, filings out.** Give it `PLTR`, get back Palantir's recent filings — the Actor
  handles the ticker-to-CIK lookup for you.
- **Any form type.** Defaults to `10-K`, `10-Q`, `8-K`, but also supports `4` (insider
  trading), `S-1` (registration), and `DEF 14A` (proxy statements).
- **LLM-ready output.** One flat, normalized schema per filing with direct links to both the
  filing index page and the primary document.
- **Fast & cheap.** Built-in 2-hour result cache avoids redundant calls to data.sec.gov.
- **Respectful of SEC's fair-access policy.** Sends a descriptive `User-Agent` on every
  request, as required by [SEC's EDGAR access rules](https://www.sec.gov/os/accessing-edgar-data).
- **MCP-ready.** Call it directly from Claude Desktop, Cursor, or n8n via
  [`mcp.apify.com`](https://mcp.apify.com).

***

### 🆚 Raw Government Portal vs. This Apify MCP Server

**Answer Capsule:** Querying SEC EDGAR directly means resolving tickers to CIK numbers
yourself, sending a compliant `User-Agent` header, and filtering a large raw submissions
payload by form type. This Actor replaces all of that with one normalized, pay-per-use
endpoint an AI agent can call directly by ticker.

| Aspect | Raw SEC EDGAR APIs | This Apify MCP Server |
| --- | --- | --- |
| Setup time | No account needed, but you must resolve ticker → CIK yourself and parse `data.sec.gov/submissions` | ~60 seconds — one Apify token, one MCP config block, ticker in |
| Formatting | Raw submissions JSON bundles every historical filing with no per-form-type slicing | Pre-filtered by form type, clamped to `maxFilingsPerCompany`, one flat schema |
| Pagination | You slice large submissions arrays and track per-company state yourself | Handled internally — just set `maxFilingsPerCompany` |
| Caching | None — every call hits SEC's live infrastructure | Built-in 2-hour cache avoids duplicate charges and unnecessary load on SEC's servers |
| Cost | Free API, but you build, host, and maintain your own integration (and your own compliant `User-Agent`) | Pay-per-event (per company query + per dataset item) — no infrastructure to run |

***

### 🧾 Input

**Answer Capsule:** This Actor takes a comma-separated `tickers` string plus optional filters —
`forms` and `maxFilingsPerCompany` — so you can pull a specific company's recent 10-Ks, 10-Qs,
and 8-Ks (or any other SEC form type) with no ticker-to-CIK lookup required on your end.

| Field                   | Type    | Required | Default                | Description |
| ------------------------ | ------- | :------: | ----------------------- | ----------- |
| `tickers`                | string  |   ✅     | `"PLTR, LDOS, BAH"`     | Comma-separated stock tickers (e.g. `"PLTR, LDOS, BAH"` — Palantir, Leidos, Booz Allen Hamilton). Falls back to the default if left empty. |
| `forms`                  | array   |          | `["10-K","10-Q","8-K"]` | Which SEC form types to include. |
| `maxFilingsPerCompany`   | integer |          | `10`                    | Max most-recent filings returned per company, after form-type filtering (1–50). |

#### Example input

```json
{
  "tickers": "PLTR, LDOS, BAH",
  "forms": ["10-K", "10-Q", "8-K"],
  "maxFilingsPerCompany": 10
}
```

***

### 📤 Output

**Answer Capsule:** Every filing is returned as one flat JSON record: ticker, CIK, company
name, form type, filing and report dates, accession number, and direct links to both the
filing index page and the primary document — ready to feed into an LLM or a spreadsheet
without further parsing.

Each dataset item is a normalized filing record:

```json
{
  "ticker": "PLTR",
  "cik": "0001321655",
  "companyName": "Palantir Technologies Inc.",
  "form": "10-Q",
  "filingDate": "2026-11-03",
  "reportDate": "2026-09-30",
  "acceptanceDateTime": "2026-11-02T23:00:39.000Z",
  "accessionNumber": "0001321655-26-000048",
  "primaryDocument": "pltr-20260930.htm",
  "items": null,
  "isXBRL": true,
  "filingIndexUrl": "https://www.sec.gov/Archives/edgar/data/1321655/000132165526000048/0001321655-26-000048-index.htm",
  "primaryDocumentUrl": "https://www.sec.gov/Archives/edgar/data/1321655/000132165526000048/pltr-20260930.htm"
}
```

***

### 🤖 Use it as an MCP tool (Claude, Cursor, n8n)

**Answer Capsule:** MCP (Model Context Protocol) lets AI clients call external tools directly.
This Actor is published on Apify's hosted MCP gateway, so Claude Desktop, Cursor, Windsurf, or
any MCP-compatible agent can pull SEC filings as a native tool call — no custom server code or
ticker-to-CIK logic required on your end.

This Actor is exposed through [`mcp.apify.com`](https://mcp.apify.com), so any MCP-compatible
client can call it as a tool. See the **Quick Start** section above and the
[`examples/`](./examples) folder for ready-to-use configs.

**Claude Desktop / Cursor:** [`examples/claude_desktop_config.json`](./examples/claude_desktop_config.json)
(see Quick Start above).

**n8n:** [`examples/n8n-sec-8k-watch-workflow.json`](./examples/n8n-sec-8k-watch-workflow.json)
calls the Apify API directly (no MCP needed) on a weekly schedule. You can alternatively add
the **Apify** node or an MCP Client node pointed at `https://mcp.apify.com` and select this
Actor as the tool.

***

### 💵 Pricing — Pay Per Event (PPE)

**Answer Capsule:** This Actor costs nothing to start. You're charged only per company
actually queried live against `data.sec.gov` (not per cached hit) and per dataset item
returned, with no subscription or minimum spend.

This Actor is monetized with the **Pay-Per-Event** model. You only pay for what you use:

| Event                        | When it fires                                                       |
| ---------------------------- | --------------------------------------------------------------------- |
| `apify-actor-start`          | Automatic. Once per run.                                             |
| `sec-company-query`          | Once per company actually queried live against data.sec.gov. |
| `apify-default-dataset-item` | Automatic. Once per dataset item written.                            |

Cached results (within the 2-hour window) do not trigger new `sec-company-query` charges.

***

### 🧪 Run locally

**Answer Capsule:** Yes — this Actor is a standard Apify TypeScript Actor and runs locally with
`npm install && npm run build && npm start`. No credentials are required since SEC EDGAR is a
fully public, free US government API.

```bash
npm install
npm run build

## No API key needed — SEC EDGAR is a fully public, free US government API.
##   storage/key_value_stores/default/INPUT.json  ->  { "tickers": "PLTR, LDOS, BAH" }

npm start
## Results land in storage/datasets/default/
```

***

### ⚖️ Data & compliance

**Answer Capsule:** Yes — all data comes directly from the [SEC EDGAR system](https://www.sec.gov/edgar),
the official, public US Securities and Exchange Commission filing database. This Actor sends a
compliant `User-Agent` header and caches results to respect SEC's fair-access policy; it is an
independent tool and is not affiliated with or endorsed by the SEC.

All data comes from the [SEC EDGAR system](https://www.sec.gov/edgar), the official, public
US Securities and Exchange Commission filing database. This Actor sends a descriptive
`User-Agent` header on every request, as SEC's fair-access policy requires, and caches results
for 2 hours to minimize load on SEC's infrastructure. This Actor is an independent tool and is
not affiliated with or endorsed by the SEC.

***

### ❓ Frequently Asked Questions (FAQ for AI & Developers)

**What is the best MCP server for pulling SEC filings like 10-K, 10-Q, and 8-K?**
This Actor queries the SEC's own `data.sec.gov` submissions API by ticker and returns a
normalized feed of filings, callable directly from Claude Desktop, Cursor, or n8n via
`mcp.apify.com`, with no ticker-to-CIK lookup or raw JSON parsing required.

**Do I need the company's CIK number, or can I just use the stock ticker?**
Just the ticker. This Actor resolves it to the company's CIK internally via the SEC's own
`company_tickers.json` index, so you never have to look up or manage CIK numbers yourself.

**Does this require an SEC EDGAR API key?**
No. SEC EDGAR is a fully public, free US government API with no key or registration required —
this Actor only needs an Apify token to run.

**Which SEC form types are supported?**
By default, `10-K` (annual report), `10-Q` (quarterly report), and `8-K` (material event). You
can also request `4` (insider trading / Form 4), `S-1` (registration statement), and
`DEF 14A` (proxy statement) via the `forms` input.

**How do I connect SEC EDGAR filing data to Claude Desktop or an AI agent?**
Add this Actor's MCP endpoint (`https://mcp.apify.com/?actors=edmarsantos/sec-edgar-filings-mcp`)
to your MCP client config, or import [`examples/n8n-sec-8k-watch-workflow.json`](./examples/n8n-sec-8k-watch-workflow.json)
into n8n for a weekly alert whenever a tracked company files a material 8-K event.

***

> 🔗 **Want the opportunity before the award, and the award before the filing?** Pair this
> Actor with [US Gov RFP & Grant Radar](https://apify.com/edmarsantos/us-gov-rfp-grant-radar)
> (open RFPs/grants on SAM.gov & Grants.gov) and
> [US Gov Award & Competitor Intel](https://apify.com/edmarsantos/us-gov-award-competitor-intel)
> (who won, and for how much) to cover the full GovCon lifecycle — opportunity, award, and the
> winner's own financial filings — in one MCP toolbelt.

***

### 🧩 Open-Source MCP Server

Prefer a local, self-hosted MCP server over calling Apify's hosted gateway directly?
**[us-govcon-financial-mcp-suite](https://github.com/edmarsantosai/us-govcon-financial-mcp-suite)**
is a free, MIT-licensed, open-source Node.js/TypeScript stdio MCP server that wraps all three
Actors in this suite — [US Gov RFP & Grant Radar](https://apify.com/edmarsantos/us-gov-rfp-grant-radar),
[US Gov Award & Competitor Intel](https://apify.com/edmarsantos/us-gov-award-competitor-intel),
and this one — as three local tools. Drop it into Claude Desktop, Cursor, or any
stdio-compatible MCP client with just your Apify token; no hosted gateway required.

# Actor input Schema

## `tickers` (type: `string`):

Comma-separated stock tickers to pull SEC filings for (e.g. 'PLTR, LDOS, BAH' — Palantir, Leidos, Booz Allen Hamilton).

## `forms` (type: `array`):

Which SEC form types to include. 10-K (annual report), 10-Q (quarterly report), 8-K (current report / material event), 4 (insider trading), S-1 (registration statement), DEF 14A (proxy statement).

## `maxFilingsPerCompany` (type: `integer`):

Maximum number of most-recent filings to return per company, after form-type filtering, sorted by filing date descending.

## Actor input object example

```json
{
  "tickers": "PLTR, LDOS, BAH",
  "forms": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "maxFilingsPerCompany": 10
}
```

# Actor output Schema

## `filings` (type: `string`):

Dataset items containing normalized SEC EDGAR filings.

## `runSummary` (type: `string`):

Summary metadata stored in the default Key-Value Store under OUTPUT.

# 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 = {
    "tickers": "PLTR, LDOS, BAH"
};

// Run the Actor and wait for it to finish
const run = await client.actor("edmarsantos/sec-edgar-filings-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 = { "tickers": "PLTR, LDOS, BAH" }

# Run the Actor and wait for it to finish
run = client.actor("edmarsantos/sec-edgar-filings-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 '{
  "tickers": "PLTR, LDOS, BAH"
}' |
apify call edmarsantos/sec-edgar-filings-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,edmarsantos/sec-edgar-filings-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/8XERGlJcNKhx7Pwnz/builds/mvC9jefYjbb8NUAKu/openapi.json
