SEC API MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with SEC API MCP or direct API to search filings, analyze disclosures, retrieve company identifiers, and review ownership and enforcement data through natural language.

SEC API logoSEC API
Api Key

SEC API is a service for searching SEC filings, disclosure datasets, and company records. It brings structured regulatory data into one searchable API for faster research.

92 Tools

Try SEC API now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
SEC API
Try asking
TOOLS

Supported Tools

Every SEC API action and event your agent gets out of the box.

Convert XBRL To JSON

Convert one filing's XBRL data to standardized financial-statement JSON.

Download AAER Document

Download and offload one original PDF or HTML AAER document, or its provider-converted text form.

Download AAER Document Archive

Download and offload every AAER document published in one calendar year as a potentially large ZIP archive.

Download AAER Metadata

Download and offload the complete Accounting and Auditing Enforcement Releases metadata catalog as one potentially large JSON file.

Download Bulk Dataset

Download every container for one subscribed SEC API bulk dataset as a ZIP64 archive.

Download Bulk Dataset Container

Download one paid monthly SEC API bulk dataset archive using a dataset identifier and container key returned by the dataset index.

Download EDGAR File

Download one original EDGAR filing, exhibit, or attachment from the SEC API mirror.

Download File Index Archive

Download and offload one potentially large daily gzip JSONL filing-index archive for a date returned by List File Index Archives.

Download FOCUS Bulk File

Download and offload one paid, potentially large monthly Form X-17A-5 FOCUS JSONL gzip archive.

Download SRO Document

Download and offload one original PDF or HTML SRO filing document, or its provider-converted text form.

Download SRO Document Archive

Download and offload every SRO filing document published in one calendar year as a potentially large ZIP archive.

Download SRO Metadata

Download and offload the complete self-regulatory organization filings metadata catalog as one potentially large JSON file.

Download TAR Archive

Download and offload one potentially huge daily TAR archive containing the complete EDGAR directory tree for a date returned by List TAR Archives.

Extract Filing Item

Extract one documented section from a 10-K, 10-Q, or 8-K filing as plain text or HTML.

Find Companies

Find companies by CIK, ticker, CUSIP, name, exchange, sector, or industry.

Generate Filing PDF

Convert one SEC Archives filing or exhibit URL to a PDF.

Get Adviser Affiliations

Return an adviser's related financial-industry persons from Form ADV Schedule D 7.A.

Get Adviser Brochures

List a firm's Form ADV Part 2 brochures by CRD number.

Get Adviser Business Names

Return an adviser's other business names and their jurisdictions from Form ADV Schedule D 1.B.

Get Adviser Direct Owners

Return direct owners and executive officers from an adviser's Form ADV Schedule A.

Get Adviser Indirect Owners

Return indirect owners from an adviser's Form ADV Schedule B.

Get Adviser Managed Accounts

Return an adviser's separately managed account assets, exposures, and custodians from Schedule D 5.K.

Get Adviser Private Funds

Return private funds reported by an adviser in Schedule D 7.B.1.

Get Audit Report Content

Retrieve the complete plain-text content of one financial-statement or ICFR audit report by its search-result ID.

Get Bulk Dataset Index

Return metadata and monthly archive containers for one bulk dataset.

Get Company Compensation

Return all available executive compensation records across years for one company ticker or CIK.

Get EDGAR Entity

Look up one EDGAR entity profile by CIK.

Get Identifier Mapping

Return a complete, potentially large mapping snapshot between CIKs, CUSIPs, and ticker symbols in the selected direction.

Get Ingestion Log

Return every filing SEC API indexed for one publication date.

Get N-PX Voting Records

Return the complete Form N-PX filing and every proxy voting record for one accession number when the JSON response is at most 25 MB.

Get Shares And Float

Return current and historical outstanding shares and public float for exactly one company ticker or CIK.

List Bulk Datasets

List SEC API's complete bulk dataset catalogue and archive formats.

List File Index Archives

List paid daily gzip JSONL filing-index archives with dates, sizes, update times, and filing counts.

List FOCUS Bulk Files

List all monthly Form X-17A-5 FOCUS bulk archives with their paths, update times, and sizes.

List TAR Archives

List documented daily full-content EDGAR TAR archives for availability and size inspection before download.

Search 13D 13G Filings

Search Schedule 13D and 13G beneficial ownership filings.

Search 13F Cover Pages

Search institutional investment manager Form 13F cover pages.

Search 13F Holdings

Search institutional investment manager Form 13F holdings tables.

Search 8-K Auditor Changes

Search extracted Form 8-K Item 4.01 auditor-change disclosures with an item4_01 fielded Lucene query.

Search 8-K Leadership Changes

Search extracted Form 8-K Item 5.02 director, officer, compensation, and organization changes.

Search 8k Restatements

Search extracted Form 8-K Item 4.02 non-reliance and financial restatement disclosures.

Search AAERs

Search Accounting and Auditing Enforcement Releases published since 1997 with an AAER-specific fielded Lucene query.

Search Admin Proceedings

Search SEC administrative proceedings published since 1995 with a fielded Lucene query.

Search Adviser Firms

Search the latest Form ADV records for registered investment adviser firms.

Search Adviser Representatives

Search registered individual investment adviser representative records.

Search Agreement Terminations

Search structured Form 8-K Item 1.02 material agreement terminations.

Search Audit Fees

Search audit, audit-related, tax, and other fees disclosed in proxy statements.

Search Bankruptcy Receivership

Search structured Form 8-K Item 1.03 bankruptcy and receivership records.

Search Board Members

Search current and historical company directors and board members.

Search Board Oversight

Search board leadership, independence, meetings, attendance, evaluations, and oversight.

Search Compliance Signals

Search proxy-statement compliance and governance signals extracted into structured records.

Search Cybersecurity Incidents

Search structured Form 8-K Item 1.05 material cybersecurity incidents.

Search Director Compensation

Search director and fund-trustee compensation, pay programs, ownership guidelines, and pay limits.

Search EDGAR Entities

Search entities that have filed through EDGAR since 1994.

Search Enforcement Actions

Search structured SEC enforcement actions published since 1997 with a fielded Lucene query.

Search Equity Plan Dilution

Search equity-plan proposals, requested shares, overhang, dilution, warrants, and convertibles.

Search ESG Oversight

Search board and committee oversight of ESG, climate, human capital, cybersecurity, and risks.

Search Executive Compensation

Search standardized named-executive compensation records.

Search Executive Compensation Governance

Search executive-pay governance, say-on-pay, peer groups, policies, and committee practices.

Search Filings

Search EDGAR filings and exhibits filed since 1993 with a Lucene query.

Search Filing Text

Search the body text of EDGAR filings and exhibits filed since 2001.

Search Financial Statement Audits

Search structured financial-statement auditor reports.

Search FOCUS Reports

Search broker-dealer Form X-17A-5 Financial and Operational Combined Uniform Single reports.

Search Form 144

Search notices of proposed restricted or control securities sales.

Search Form 1-A

Search Regulation A Form 1-A offering statements.

Search Form 1-K

Search Regulation A Form 1-K annual reports.

Search Form 1-Z

Search Regulation A Form 1-Z exit reports and amendments.

Search Form C

Search structured Regulation Crowdfunding Form C filings.

Search Form D

Search Regulation D exempt private offering notices.

Search Fund Governance

Search fund governance, advisers, advisory agreements, fees, expense caps, and trustees.

Search Fund Reorganizations

Search fund mergers, liquidations, policy changes, legal-form changes, and leverage votes.

Search ICFR Audits

Search structured internal-control-over-financial-reporting auditor reports.

Search Insider 5 Percent Ownership

Search proxy beneficial ownership for insiders and holders above 5%, including voting power.

Search Insider Trading

Search standardized Forms 3, 4, and 5 insider holdings and transactions.

Search Litigation Releases

Search SEC litigation releases published since 1995 with a fielded Lucene query.

Search Material Agreements

Search structured Form 8-K Item 1.01 material definitive agreements.

Search N-CEN Filings

Search Form N-CEN annual investment-company census reports.

Search N-PORT Filings

Search Form N-PORT fund portfolio holdings and performance reports.

Search N-PX Filings

Search Form N-PX proxy-voting filing metadata.

Search Pay Versus Performance

Search pay-versus-performance tables, incentive outcomes, discretion, and shareholder returns.

Search Reg A Filings

Search structured Regulation A Forms 1-A, 1-K, and 1-Z together.

Search Registration Prospectuses

Search structured S-1, F-1, S-11, and 424B4 registration and prospectus data.

Search Related Party Transactions

Search related-party transaction disclosures, policies, parties, amounts, and approvals.

Search Severance Change In Control

Search executive severance, change-in-control triggers, multiples, tax treatment, and payments.

Search Shareholder Meetings

Search meeting dates, formats, locations, record dates, voting methods, and deadlines.

Search Shareholder Proposals Proxy Contests

Search shareholder proposals, proxy contests, nominees, settlements, engagement, and deadlines.

Search Shareholder Rights

Search voting structures, classified boards, shareholder rights, defenses, and governance proposals.

Search Shareholder Voting Results

Search structured Form 8-K Item 5.07 shareholder voting results.

Search SRO Filings

Search self-regulatory organization rule filings and associated SEC releases with a fielded Lucene query.

Search Strategic Transactions

Search mergers, acquisitions, asset sales, SPAC transactions, consideration, fees, and votes.

Search Subsidiaries

Search current and historical subsidiary lists extracted from Exhibit 21.

Search Vote Standards

Search ballot items, board recommendations, voting standards, broker non-votes, and vote rules.

SETUP GUIDE

Connect SEC API MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["sec_api"],
  mcp: true,
});
Create a session scoped to SEC API and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "Search SEC filings for Apple Inc.'s latest 10-K and summarize its material risks.",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a SEC API request
SETUP GUIDE

Connect SEC API API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["sec_api"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to SEC API
3

Run SEC API tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "Search SEC filings for Apple Inc.'s latest 10-K and summarize its material risks." }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the SEC API tool calls through the session, and print the final answer

Why Use Composio?

AI Native SEC API Integration

  • Supports both SEC API MCP and direct API integrations
  • Structured, LLM-friendly schemas for reliable filing and disclosure searches
  • Ready-to-use tools for company data, ownership records, and enforcement research

Managed Auth

  • Securely store and use your SEC API key without hard-coding it in agent prompts or application code
  • Central place to manage, scope, and revoke SEC API access
  • Per-user and per-environment credentials for safer research workflows

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve filing and disclosure query reliability over time
  • Clear schemas help agents choose the right SEC API tool and pass valid search parameters
  • Comprehensive execution logs show what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC helps control which agents and users can access SEC API
  • Scoped, least-privilege access to SEC API resources
  • Full audit trail of agent actions to support financial research review and compliance
FRAMEWORKS

Use SEC API with any AI Agent Framework

Choose a Framework you want to connect SEC API with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with SEC API.It takes 30 seconds.

Managed auth, hosted MCP servers, and every SEC API tool your agent needs.Free to start.

Start building