Skip to content
Blog

Query SEC EDGAR From an MCP Client

Written by CMD+RVL.

Connect Claude, Codex, or another MCP client to bounded SEC EDGAR filing metadata for finance research and monitoring.

This is the connection guide for EDGAR MCP. Browse the task guides for related ways to find, query and check records.

Which filings did the SEC receive for this company, and when?

Agents and developers researching SEC filing records.

Interface
MCP server
Access
Request access
Availability
Access by arrangement
Runs on
Hosted service

API key required

Request EDGAR MCP access
Cairn roles
AI connectors, Public records library
Evidence roles
Source
Semantic context
Entity identity, Source meaning
Contribution
Find SEC filing records by company, form and date before selecting source material.
Limit
Filing metadata lookup does not validate filing contents or guarantee broader entity resolution.

Read the EDGAR setup guide

Follow a balance to its filing

Questions this tool can support

What it does

  • Query filing metadata by company or CIK, form, date range and amendment status.
  • Inspect filing history, counts and filing cadence within the configured coverage.

Live filing lookup, November 3, 2026

Resolve WFCM 2020-C58, then list its indexed 10-D filings since October 1, 2026.

Resolution identified CIK 1827054. The filing lookup returned one record, filed October 27, 2026, with accession 0001888524-26-019265. The response was not truncated.

edgar.com.entity.resolve({"query":"WFCM 2020-C58","limit":3})
edgar.com.entity.filings({"entity_ref":"cmdrvl:DEAL-WFCM-2020-C58","form_type":"10-D","since":"2026-10-01","limit":3})

This is an indexed filing record, not a validation of the filing's contents or a search of the entire SEC archive.

Open the SEC filing index

Setup

Request access before configuring your client. The guide has Claude Code, Codex and Claude Desktop setup instructions.

Read the access and setup guide

Coverage and freshness

SEC EDGAR filing metadata in the configured database. Confirm available tools, registry mappings and dataset scope during provisioning.

Limits

  • A filing index result is not the document's full contents or a validation of the filing.
  • Zero matching rows under a filter do not prove that no filing exists.
  • Entity lookup depends on the configured registry and CIK mappings.
  • Access uses an API key. OAuth discovery is not available; confirm client setup when requesting access.

Related tools and guides

Contact support

Connect an MCP client to bounded SEC EDGAR filing metadata so it can query filings by company, form type, date range, amendment, and cadence.

CMD+RVL's EDGAR MCP Server exposes SEC EDGAR filing metadata through this protocol. It is built for search, filing history, and monitoring. It is not a filing validator or investment adviser. This guide shows how to connect it to Claude Code, Codex, and Claude Desktop.

What You Can Query

The EDGAR MCP Server supports natural language queries across SEC filing metadata:

  • Annual reports (10-K): "Show me Amazon's latest 10-K filing"
  • Quarterly reports (10-Q): "List Microsoft's 10-Q filings from Q4 2025"
  • Current reports (8-K): "What 8-K filings did Tesla file this month?"
  • Proxy statements (DEF 14A): "Find Apple's most recent proxy filing"
  • Insider filings (Form 4): "How many Form 4 filings were submitted yesterday?"
  • Amended filings: "List amended filings for Goldman Sachs in 2025"

You can also ask aggregate questions: counts, trends, filing frequency by company, cadence analysis, amended-filing checks, and time-windowed comparisons.

Prerequisites

Before connecting, you'll need:

  1. An API key: Request EDGAR access. The server is in private beta.
  2. A current MCP client: Use Claude Code, Codex, or Claude Desktop.
  3. A supported Node.js version for the Desktop bridge: Check the mcp-remote requirements before installing. The Desktop setup below uses this local bridge.

Connecting to Claude Desktop

Claude Desktop uses mcp-remote as a local bridge so it can send the API-key header to EDGAR.

1. Open your config file:

~/Library/Application Support/Claude/claude_desktop_config.json

On Windows, check %APPDATA%\Claude\.

2. Add the EDGAR server:

{
"mcpServers": {
"edgar": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://edgar.cmdrvl.com/mcp",
"--transport",
"http-only",
"--header",
"X-API-Key:${EDGAR_MCP_API_KEY}"
],
"env": {
"EDGAR_MCP_API_KEY": "your-api-key"
}
}
}
}

Replace your-api-key with the key you received.

3. Restart Claude Desktop. The EDGAR tools should appear in your available tools list.

Connecting to Claude Code

Claude Code connects directly over Streamable HTTP.

1. Replace your-api-key and run this command:

claude mcp add --transport http --scope user --header "X-API-Key: your-api-key" edgar https://edgar.cmdrvl.com/mcp

2. Check the saved server:

claude mcp get edgar

3. Start Claude Code. Use /mcp to check the connection. Then try: "How many 10-K filings were submitted last week?"

Connecting to Codex

Codex uses TOML configuration with environment variables for credentials.

1. Open your config file:

~/.codex/config.toml

2. Add the EDGAR server:

[mcp_servers.edgar]
url = "https://edgar.cmdrvl.com/mcp"
env_http_headers = { "X-API-Key" = "EDGAR_MCP_API_KEY" }
startup_timeout_sec = 60
tool_timeout_sec = 120

3. Set your environment variables, then start a new Codex session:

export EDGAR_MCP_API_KEY="your-api-key"

Find a filing for a named entity

Which 10-D filings does the index hold for WFCM 2020-C58 since October 1, 2026? After arranging access and connecting your client, call edgar.com.entity.resolve with these JSON arguments:

{"query":"WFCM 2020-C58","limit":3}

Proceed only when decision is resolved. On November 3, 2026, the result identified cmdrvl:DEAL-WFCM-2020-C58 and CIK 1827054 using registry version 2026-09-28. Use the returned entity reference in edgar.com.entity.filings:

{"entity_ref":"cmdrvl:DEAL-WFCM-2020-C58","form_type":"10-D","since":"2026-10-01","limit":3}

The executed lookup returned one record, filed October 27, 2026, accession 0001888524-26-019265, with truncated: false. Open its SEC filing index, which was separately checked for reachability on November 3. The call returns filing metadata; reading or validating the filing's contents is another step.

This connector contributes source identification and entity context to Cairn's public-records work. Keep the filing accession, filters and registry version with your answer. The tool constructs SEC links from index paths; an index gap does not prove a filing is absent from the SEC archive.

If resolution returns candidates or a miss, clarify the entity instead of selecting a likely match. An empty filing result means no rows were recorded under those filters. If truncated is true, narrow the dates or request an appropriate larger limit before claiming a complete list. Authentication failures require checking the provisioned key and header; do not interpret them as zero filings.

Other questions to try

Once connected, try these:

QueryWhat it returns
"How many 8-K filings were submitted yesterday?"Indexed 8-K count for the requested calendar date
"Show me Microsoft's 10-Q filings from Q4 2025"List of Microsoft's quarterly reports from Oct-Dec 2025
"What companies filed the most 10-Ks last month?"Ranked list of filers by 10-K volume
"List amended filings for Tesla in 2025"All amended filings (10-K/A, 10-Q/A, etc.) for Tesla
"What's the filing cadence for JPMorgan?"Frequency analysis of JPM's filing patterns

These are illustrative questions, not recorded results. The natural-language query tool uses a model to write SQL. Check its date interpretation and returned scope; use explicit dates when reproducing a result. For a named entity, resolve it first and use the returned reference rather than assuming a company name matched correctly.

Using a Different Client?

The EDGAR MCP Server uses Streamable HTTP at https://edgar.cmdrvl.com/mcp. A compatible client needs the endpoint and the X-API-Key header. The client manages the MCP session.

If you need help with a specific client, reach out.


The EDGAR MCP Server is currently in private beta. Request access.


Related