How to connect SEC API with ChatGPT

Connect ChatGPT to SEC API MCP. Search sec filings for quarterly revenue, compare company ownership records over time, and more using natural language, with authentication handled for you.

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

How to connect SEC API MCP with ChatGPT

ChatGPT can take action across your apps and files, stay with a project for hours, and turn a goal into finished materials like sheets, slides, and docs, not just answers.

In this guide, I will explain the easiest and most secure way to connect your SEC API account to ChatGPT via Composio Connect, so it can search filings, analyze disclosures, find company records, review ownership data, and track enforcement actions through natural language commands without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate SEC API with

Why use Composio over default connectors?

  • Apps with read and write access. Default connectors mostly can read your data. Composio's SEC API integration lets ChatGPT take actions like creating drafts, sending updates, labeling records, and more.
  • 1,800+ SaaS toolkits out of the box. Composio gives you instant access to a vast catalog of pre-built connectors, from Gmail and Slack to Notion, Linear, and Salesforce.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand.
  • Cross-app automation. Chain actions across multiple apps in a single run - fetch a thread, summarize it in Notion, and post highlights to Slack without leaving the conversation.

Prerequisites

Note: Composio connects through OAuth. You will be asked to sign in and approve specific permissions. Review the permission screen carefully if you are using a work account.

Step-by-step: Connect SEC API to ChatGPT

1. Install the Composio plugin

Click the button. ChatGPT opens the Composio plugin page. Click Install plugin.

Install in ChatGPT

Composio plugin page in ChatGPT with the Install plugin button

You can also find it inside ChatGPT: go to Settings, open Plugins, search the marketplace for Composio, and click Install plugin.

2. Authenticate

After you install, ChatGPT asks you to authenticate with Composio. Log in and click Allow access to authorize ChatGPT to use your Composio account.

Composio login and Allow access screen for ChatGPT

3. Start using Composio

That is it. Composio tools are now available in ChatGPT. Type @Composio followed by your request, for example @Composio find unread SEC API messages and summarize them, and it will run the actions you authorize. On first use it asks you to authorize SEC API.

Option 2: Add Composio as an MCP server

If you cannot use the plugin marketplace, add Composio as a custom MCP server instead.

1. Open the MCP settings

In ChatGPT, go to Settings and open the Plugins section. Inside the Plugins page, click the MCP tab.

ChatGPT settings showing the Plugins page with the MCP tab selected

2. Add the server

Click Add server. In the Name field enter Composio, for Type select Streamable HTTP, and in the URL field paste the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
ChatGPT Add server dialog with the name Composio, type Streamable HTTP, and the Composio MCP URL

Then click Save. The Composio server now appears in your MCP plugins list.

ChatGPT Plugins page showing the Composio MCP server added to the list

3. Authenticate

Click Authenticate on the Composio entry, log in via Composio, and click Allow access. Composio tools are then available in ChatGPT the same way as with the plugin.

What you can do after connecting SEC API

  • Search SEC filings for quarterly revenue
  • Compare company ownership records over time
  • Review enforcement actions for a company

Security + privacy notes (important)

  • Use least-privilege access: Only grant permissions you actually need.
  • Review OAuth permissions before approving: Make sure requested scopes match what you expect Composio and ChatGPT to do.
  • Keep write actions human-reviewed: For actions like sending messages, creating labels, or editing drafts, keep manual confirmation enabled.
  • Be careful with sensitive data: Avoid using this setup with highly sensitive information unless allowed by your personal, company, or client policies.
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.

FRAMEWORKS

How to build SEC API MCP Agent with another framework

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