# Company Fundamentals & SEC Filings MCP (US SEC data) (`gp005/sec-edgar-mcp`) Actor

SEC EDGAR MCP server exposing US public-company fundamentals, filing history, full-text search and 8-K/Form 4 disclosure events via official SEC APIs — no API key, no scraping.

- **URL**: https://apify.com/gp005/sec-edgar-mcp.md
- **Developed by:** [Geo](https://apify.com/gp005) (community)
- **Categories:** Developer tools, Business
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 price for completing a tool calls

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/actors/running/actors-in-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

## SEC EDGAR MCP Server — Company Filings & Fundamentals API

An [Apify Actor](https://apify.com) that runs a **SEC EDGAR MCP server** — a [Model Context Protocol](https://modelcontextprotocol.io) endpoint exposing **US public-company fundamentals, filing history, full-text search and disclosure events** straight from the official SEC EDGAR APIs. Connect any MCP-capable AI agent (Claude, ChatGPT, Cursor, a custom agent) and let it pull structured company data conversationally — **no SEC account, no API key, no scraping.**

Data is served from the U.S. government's own EDGAR endpoints (`data.sec.gov`, `efts.sec.gov`), so it is public-domain filing data with no login wall and no paywall.

### SEC EDGAR API for AI agents, via MCP

This is the **SEC EDGAR MCP server** for agent workflows: instead of hand-rolling a `data.sec.gov` / `efts.sec.gov` client, point any MCP-capable agent at the standby endpoint below and call four tools directly. It functions as a **company fundamentals API** and a **SEC filings API** at once — fundamentals, filing history, full-text search and disclosure events in one connection.

### What this Actor does

The MCP server exposes four tools:

| Tool | What it returns | Identify by |
|---|---|---|
| `company_facts` | 10-year XBRL fundamentals (Revenues, NetIncomeLoss, EarningsPerShareBasic, Assets, …) | ticker or CIK |
| `submissions` | Recent filing history — form, filed date, report date, primary document, archive URL | ticker or CIK |
| `fulltext_search` | Full-text EDGAR search by keyword, optional form-type filter (e.g. 8-K) | query string |
| `filing_events` | Disclosure events — 8-K (with item codes), Form 4 insider transactions, Form D offerings | ticker or CIK |

Each tool returns both a natural-language summary and `structuredContent`, so an agent can read it or a caller can parse it as JSON.

### Why use it

- Give an AI agent **live SEC data** instead of stale training data: "what was Apple's latest quarterly net income?"
- Build **financial-analysis and investment-research agents** that query fundamentals and filing history on demand.
- Drive **event-monitoring workflows**: pull a company's latest 8-K item codes, Form 4 insider trades, or Form D offerings.
- Add **full-text EDGAR search** to a compliance, journalism, or due-diligence tool without writing SEC rate-limit handling yourself.

### Data source and access policy

- **Official endpoints only:** `data.sec.gov` (XBRL company facts, submissions) and `efts.sec.gov` (EDGAR full-text search). The Actor never scrapes `www.sec.gov` HTML and never uses the robots-disallowed `/cgi-bin/browse-edgar` path.
- **Fair access honored:** the Actor sends a descriptive User-Agent (contact email + purpose) and paces requests under the SEC's 10 requests/second policy (default 8 req/s, configurable). SEC data is U.S. government public-domain material.

### Quick start

1. **Run the Actor** on Apify (standby mode keeps it listening as an HTTP server).

2. **Connect your MCP client** to the standby endpoint, passing your Apify API token as a Bearer token:

   ```text
   https://gp005--sec-edgar-mcp.apify.actor/mcp
   Authorization: Bearer <YOUR_APIFY_TOKEN>
   ```

3. **Ask the agent** to call a tool, for example `company_facts` with `ticker: "AAPL"`.

#### Example tool call

```json
{
  "name": "company_facts",
  "arguments": { "ticker": "AAPL", "concepts": ["Revenues", "NetIncomeLoss"] }
}
```

#### Example structured result

```json
{
  "company": { "cik": "0000320193", "ticker": "AAPL", "name": "Apple Inc." },
  "facts": [
    {
      "concept": "Revenues",
      "label": "Revenues",
      "unit": "USD",
      "values": [
        { "end": "2024-09-28", "val": 391035000000, "form": "10-K", "filed": "2024-11-01" }
      ]
    }
  ]
}
```

### Input

All inputs are optional — the server boots with sensible defaults and serves MCP requests. If you run it as a one-shot batch (not standby), the following configures the server:

#### `contactEmail` (optional)

Email included in the User-Agent sent to SEC EDGAR. SEC fair-access policy expects a descriptive UA with contact. Defaults to a placeholder.

#### `rateLimitPerSecond` (optional)

Maximum EDGAR requests per second. SEC policy requires under 10 req/s. Default `8`, range 1–10.

#### `maxFilingResults` (optional)

Default cap on filing rows returned by `submissions` / `filing_events` when the caller does not set one. Default `20`.

### Pricing events

The Actor charges one `tool-call` event per completed tool invocation under Apify's Pay-Per-Event model. Failed inputs and charge-limit stops are handled gracefully (an error result is returned, not a silent failure). Pricing is configured by the publisher and may change — check the current Store pricing before running.

The Actor checks `ACTOR_MAX_TOTAL_CHARGE_USD` before serving each tool call; once the limit is reached it refuses further calls rather than doing unpaid work.

### Integrations and automation

- **Apify MCP server** — connect AI agents directly (the primary surface).
- **Apify REST API** — start the standby server programmatically.
- **Make / n8n / Zapier** — call the MCP endpoint or the underlying tools via HTTP.

### Limitations and safety

- **Full-text search is capped:** `efts.sec.gov` returns a max of ~10,000 hits per query; the Actor surfaces the total and returns the first N results.
- **Rate limit is per-run:** the SEC throttle is real; bursts above 10 req/s can be rejected. The Actor paces at the configured rate and surfaces HTTP errors from EDGAR rather than retrying aggressively.
- **Not a licensed service:** this is public government data repackaged for agents; it is not SEC-endorsed, not investment advice, and does not claim SEC affiliation.
- **Incidental personal data:** Forms 3/4/5/13D/G (insider/ownership) are a statutory public register and are returned per-query, never aggregated into a name index.
- **Standby billing:** a standby Actor that stays warm may accrue a small per-minute run cost; Apify's standby mode keeps cold-start latency low and only bills for actual usage windows.

### FAQ

#### Do I need an SEC account or API key?

No. The Actor uses the public EDGAR endpoints, which require no authentication — only a descriptive User-Agent, which the Actor sets automatically.

#### Does it scrape www.sec.gov?

No. It uses the official `data.sec.gov` and `efts.sec.gov` JSON APIs only. It never parses the SEC website HTML and never touches the robots-disallowed `/cgi-bin/browse-edgar` path.

#### How do I point my agent at it?

Add the standby URL `https://gp005--sec-edgar-mcp.apify.actor/mcp` as a Streamable HTTP MCP server, and pass your Apify API token as a Bearer header.

#### What's the difference between this and the EDGAR fundamentals extractor?

This is the **agent-native packaging** of the same government data — MCP tools your agent calls conversationally, rather than a batch dataset run.

#### Which forms does `filing_events` cover?

By default `8-K` (material events, with item codes), `4` (insider transactions) and `D` (securities offerings). Pass a `forms` array to override.

#### Is this a SEC filings API or a company fundamentals API?

Both, over one MCP connection: `company_facts` serves as the fundamentals API (10-year XBRL history), while `submissions`, `fulltext_search` and `filing_events` together serve as the filings API (filing history, keyword search, disclosure events).

#### Does it work with Claude, ChatGPT and Cursor?

Yes — any MCP client that supports Streamable HTTP transport with a Bearer-token header can connect: Claude (via MCP connectors), ChatGPT (via MCP tool support), Cursor, and custom agent frameworks.

### Other Actors by this developer

- [METAR & TAF Aviation Weather API (NOAA)](https://apify.com/gp005/metar-taf) — current METAR observations and TAF forecasts for ICAO airports.
- [EU VAT Number Validator & VIES Compliance Check API](https://apify.com/gp005/vat-vies-validator) — validates EU VAT numbers against the official EC VIES service.
- [SSL/TLS Certificate Expiry Monitor](https://apify.com/gp005/tls-cert-monitor) — monitors SSL/TLS certificate expiry for a list of domains.

# Actor input Schema

## `contactEmail` (type: `string`):

Email used in the User-Agent sent to SEC EDGAR (SEC fair-access policy requires a descriptive UA with contact). Defaults to a placeholder.

## `rateLimitPerSecond` (type: `integer`):

Maximum EDGAR requests per second. SEC fair-access policy requires under 10 req/s; default 8.

## `maxFilingResults` (type: `integer`):

Default cap on filing rows returned by the submissions/filing_events tools when the caller does not set one.

## Actor input object example

```json
{
  "contactEmail": "you@example.com",
  "rateLimitPerSecond": 8,
  "maxFilingResults": 20
}
```

# Actor output Schema

## `results` (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 = {
    "contactEmail": "you@example.com",
    "rateLimitPerSecond": 8,
    "maxFilingResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("gp005/sec-edgar-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 = {
    "contactEmail": "you@example.com",
    "rateLimitPerSecond": 8,
    "maxFilingResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("gp005/sec-edgar-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 '{
  "contactEmail": "you@example.com",
  "rateLimitPerSecond": 8,
  "maxFilingResults": 20
}' |
apify call gp005/sec-edgar-mcp --silent --output-dataset

```

## MCP server setup

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