Connect Claude, ChatGPT, and Codex to SEC EDGAR & Snowflake via MCP (2026 Guide)
Written by Zac Ruiz.
How to wire Claude Code, Claude Desktop, ChatGPT, and Codex to live SEC EDGAR filings and Snowflake tables via MCP without copying warehouse data into third-party prompts or losing source lineage.Most teams trying to connect Claude, ChatGPT, or Codex to SEC EDGAR filings and Snowflake tables hit the same pattern in their first week.
First, they wire up a thin SEC search wrapper or hand the agent a generic Snowflake run_sql tool. For ten minutes it feels like magic. Then someone asks a real credit, audit, or market-sizing question: "How many new-issuance CMBS deals filed in November?" or "Which loans in this trust moved past 60 days delinquent between the October and November 10-D?"
Without catalog semantics and source receipts, three things go wrong quietly:
- Entity drift: The model matches the wrong CIK or shelf name because two issuers share similar prefixes.
- Grain and clock mismatches: It counts
ABS-15G/Aamendments as separate deals, mixes filing dates with pricing dates, or joins a monthly snapshot against a daily table without noticing. - Zero audit trail: Nobody can verify which Snowflake snapshot or SEC accession produced the figure when an investment committee or auditor asks two weeks later.
This 2026 guide shows how to connect Claude Code, Claude Desktop, Codex, and ChatGPT to live SEC EDGAR data and governed Snowflake tables using Model Context Protocol (MCP) servers, progressing cleanly from a zero-key public check to a full warehouse-native lineage architecture.
Step 1: Test a live SEC MCP connection in 60 seconds (free, no key)
Before provisioning any API key or touching warehouse roles, verify your client's Streamable HTTP MCP plumbing against CMD+RVL's public Receipts MCP:
- Endpoint:
https://receipts.cmdrvl.com/mcp - Transport: Streamable HTTP
- Auth: None (free public access, no account or key)
- Scope: Verifies supported CMBS claims (loan balances, coupons, appraised values, building sizes, status counts) against public SEC ABS-EE and 10-D filings. A claim is required; it is not an open-ended loan lookup API.
Claude Code
claude mcp add --transport http --scope user receipts https://receipts.cmdrvl.com/mcpclaude mcp get receipts
Codex (~/.codex/config.toml)
[mcp_servers.receipts]url = "https://receipts.cmdrvl.com/mcp"startup_timeout_sec = 60tool_timeout_sec = 120
Claude Desktop (claude_desktop_config.json)
{"mcpServers": {"receipts": {"command": "npx","args": ["-y", "mcp-remote", "https://receipts.cmdrvl.com/mcp", "--transport", "http-only"]}}}
ChatGPT (Custom MCP Connector)
On ChatGPT plans that support remote MCP connectors, add a new custom connector pointing to https://receipts.cmdrvl.com/mcp with no authentication required.
Once connected, prompt your client to follow the three-step Receipts workflow: call quickstart, call coverage for a deal, then call verify_claims on a passage containing a concrete CMBS loan claim. Notice what comes back: confirmed claims return filing receipts, disagreements return explicit mismatches, and unsupported claims come back as unverified rather than guessed.
Step 2: Connect EDGAR MCP for entity-resolved SEC filing history
When you need search, cadence, amendment tracking, and filing history across 10-K, 10-Q, 8-K, DEF 14A, Form 4, 10-D, and ABS-15G filings, connect EDGAR MCP (https://edgar.cmdrvl.com/mcp, private beta with an X-API-Key header; see the dedicated EDGAR MCP setup guide for full details).
Client configuration matrix (2026)
| Client | Transport | Credential handling | Config entry |
|---|---|---|---|
| Claude Code | Native Streamable HTTP | --header "X-API-Key: ..." | claude mcp add --transport http --scope user --header "X-API-Key: $EDGAR_MCP_API_KEY" edgar https://edgar.cmdrvl.com/mcp |
| Codex CLI | Native Streamable HTTP | env_http_headers from shell env (never hardcode keys in git) | url = "https://edgar.cmdrvl.com/mcp" + env_http_headers = { "X-API-Key" = "EDGAR_MCP_API_KEY" } |
| Claude Desktop | Local mcp-remote bridge | env block in claude_desktop_config.json | npx -y mcp-remote https://edgar.cmdrvl.com/mcp --transport http-only --header "X-API-Key:${EDGAR_MCP_API_KEY}" |
| ChatGPT | Remote MCP connector (plan-dependent) | Connector auth settings | Add https://edgar.cmdrvl.com/mcp where custom API-key headers are supported; confirm current header support in your ChatGPT workspace settings |
Enforce the two-step EDGAR discipline
Never let an agent jump straight to free-text filing queries for a named issuer or securitization trust. Put this rule in your project prompt or CLAUDE.md / AGENTS.md:
- Resolve the entity first: Call
edgar.com.entity.resolve(for example{"query": "WFCM 2020-C58", "limit": 3}) and proceed only whendecisionisresolved. - Query filings with the canonical reference: Pass the returned
entity_reftoedgar.com.entity.filingswith explicitform_typeandsincedates, and inspecttruncatedbefore claiming a list is complete.
For an example of what a complete, verifiable filing universe looks like once extracted and sealed, inspect our live November 2026 SEC Form ABS-15G Issuance Filings pack, where all 92 filings carry sec.gov-reproducible hash_rule 2 document hashes you can verify in your browser.
Step 3: Bridge SEC filings into Snowflake without raw SQL guesswork
Connecting an agent to EDGAR metadata solves filing discovery, not warehouse analytics. The real payoff arrives when your assistant queries structured SEC tables alongside your own Snowflake tables (loan tapes, internal holdings, counterparty watchlists, underwriting models).
Teams usually try the naive route first: attach a generic Snowflake MCP server with one execute_sql tool and hand it read-only warehouse credentials. Here is why that fails in finance:
- Schema blind spots: Production Snowflake accounts contain hundreds of raw, staging, and mart tables. Without a metadata catalog, the agent queries an old staging view or misses an
is_amendmentfilter. - Unbounded scans and context bloat: One unguarded
SELECT *pulls thousands of rows into the LLM context window, burning tokens and truncating the rows that actually matter. - Broken lineage: Even if the SQL returns the right number today, there is no recorded link tying that Snowflake row back to the exact dbt model revision and S3/EDGAR source bytes.
The three-MCP warehouse pattern (Reveal, Data, Evidence)
In CMD+RVL's paid lineage stack (the Loom stack, deployed in our cloud or directly over your Snowflake account), warehouse access is split across three focused MCP servers instead of one blunt SQL pipe:
Analyst prompt in Claude / Codex / ChatGPT|+-> 1. Reveal MCP (/tools/reveal/)| Find the canonical table, column grain, owner, and documented caveats| (e.g., filing-date vs. pricing-date, amendment handling, exemption blind spots)|+-> 2. Data MCP (/tools/data/)| Run guarded, read-only SQL over Snowflake with bounded result sets,| measurement history, and reusable saved queries|+-> 3. Evidence MCP (/tools/evidence/)Trace dbt/SQL transformation lineage and raw SEC S3 ingestion hashesso every cited metric links back to source accessions and byte hashes
Look at what changes for the analyst and the engineering team:
- Your data never leaves your Snowflake perimeter when deployed in your account. Standard Snowflake roles, network policies, and query history stay authoritative.
- Semantic caveats live in the catalog, not tribal memory. When
Reveal MCPreturns table metadata and outcome notes alongside column names, the agent knows before running SQL that Form ABS-15G excludes agency securities exempt under Rule 15Ga-2 or thatABS-15G/Arows are amendments rather than new deals. - Every saved query and lineage hop is inspectable. See our walkthroughs for finding a table in Reveal, querying a loan balance in Data, and tracing table lineage in Evidence.
Step 4: Pair warehouse MCPs with local Rust CLIs for heavy diffs and sealing
MCP is ideal for bounded lookups, catalog discovery, and aggregated SQL. It is not meant for streaming 50,000 raw loan rows into an LLM prompt so the model can eyeball what changed since last month.
Keep the boundary clean:
- Use MCP for discovery and governed queries (narrow entity resolution, aggregated Snowflake tables, lineage lookup, and source receipts).
- Use local open-source Rust CLIs for heavy tabular work and audit sealing: Export or pull bounded CSV/Parquet slices, then run
shape,rvl,verify,coverage, andpacklocally at zero token cost before handing the compact diff or verdict to Claude, Codex, or ChatGPT. - Rehearse before touching live Snowflake: Use
twinning snowflakeandtwinning mcp(v0.9.1) to test agent prompts and SQL queries locally against offline Arrow IPC and JSON-RPC twins before connecting live warehouse credentials.
We break down the token math of deterministic CLI pre-shaping in Cut LLM Token Spend 10x to 100x With Local Rust CLIs and the full offline test harness in Offline Twinning & Evals for Finance AI.
Security and governance checklist before rollout
Before enabling SEC EDGAR and Snowflake MCP connectors for a broader finance or credit team:
- Never put API keys or Snowflake credentials in tracked repo files. Use shell environment variables (
EDGAR_MCP_API_KEY) or your client's secret store. - Bind least-privilege read-only Snowflake roles scoped strictly to curated mart/presentation schemas rather than raw landing zones.
- Separate public discovery from private files. When coding agents run locally alongside confidential client folders, put
veilandairlockin front of sensitive directories so raw client files cannot cross into model prompts unnoticed. - Require explicit coverage and truncation reporting. Reject answers that omit the query date window, table name, or whether a result set was truncated.
Start free or wire your Snowflake account with a founder
- Try MCP with zero friction today: Connect free Receipts MCP (
https://receipts.cmdrvl.com/mcp) to Claude Code, Codex, or Claude Desktop, or inspect a live verified SEC pack on /stats/abs-15g-issuance-filings/. - Request EDGAR or Loom warehouse MCP access: Explore the full MCP server catalog and Warehouse Data Catalog.
- Wire one real workflow in half a day: Book a $500 half-day founder workshop online or in person across Philadelphia, the Main Line, and King of Prussia. Bring one SEC or Snowflake reporting workflow and leave with working MCP wiring and deterministic checks your team owns.
Common questions
Can I test an SEC EDGAR MCP server with Claude or Codex without an API key?
Yes. CMD+RVL's Receipts MCP at https://receipts.cmdrvl.com/mcp is free over Streamable HTTP with no account or API key required. It verifies supported CMBS loan and deal claims against public SEC ABS-EE and 10-D filings. For broader SEC filing discovery across 10-K, 10-Q, 8-K, Form 4, and amended filings, EDGAR MCP at https://edgar.cmdrvl.com/mcp requires a provisioned X-API-Key header.
Why not just point Claude or Codex directly at Snowflake with a raw SQL MCP server?
Raw SQL MCP wrappers give an agent table execution without catalog meaning, grain rules, or ingestion lineage. Agents guess table names, mix filing dates with pricing dates, double-count amended filings, and return numbers reviewers cannot trace back to source. Separating catalog lookup (Reveal MCP), guarded SQL execution (Data MCP), and lineage/source hashes (Evidence MCP) prevents those silent errors.
How do Claude Code, Claude Desktop, Codex, and ChatGPT differ when connecting to Streamable HTTP MCP servers?
Claude Code and Codex connect natively to remote Streamable HTTP MCP servers with custom headers via CLI or ~/.codex/config.toml. Claude Desktop typically uses a local npx mcp-remote bridge in claude_desktop_config.json when passing an X-API-Key header. ChatGPT supports remote MCP connectors on supported plans via workspace connector settings; always verify current custom-header support in your client plan before provisioning keys.
Do I have to copy our Snowflake tables into CMD+RVL's cloud to use Reveal, Data, and Evidence MCP?
No. CMD+RVL's paid lineage stack runs either in our cloud over public SEC and market datasets or deployed inside your own cloud and Snowflake account under your existing IAM, role permissions, and warehouse audit logs.
Read next:
- Query SEC EDGAR From an MCP Client - Step-by-step EDGAR MCP setup and verified WFCM 2020-C58 walkthrough
- Offline Twinning & Evals for Finance AI - Rehearse Snowflake, Postgres, REST, and MCP agents locally before touching prod
- Verified SEC Form ABS-15G Issuance Filings Pack - Inspect live
sec.govhash_rule 2receipts and browser-verifiedcompute.js - Cut LLM Token Spend 10x to 100x With Local Rust CLIs - Keep heavy CSVs and filings out of LLM context windows
- Open & Verifiable vs. Hosted Closed AI Workspaces - Compare warehouse-native MCP stacks against per-seat hosted platforms
Zac Ruiz
Co-Founder
Technology leader with 25+ years' experience, including a decade in securitization and capital markets.
LinkedIn