Query SEC EDGAR filings, XBRL financial data, and company information via a standards-compliant MCP server. Built for developers integrating regulatory and financial research into AI workflows.
io.github.cyanheads/secedgar-mcp-server
https://secedgar.caseyjhand.com/mcp
HTTP
2 required env vars
How models use it and what it is built for.
Query SEC EDGAR filings, XBRL financial data, and company information via a standards-compliant MCP server. Built for developers integrating regulatory and financial research into AI workflows.
Hosted endpoint — paste into any MCP client.
Configuration this server reads at startup.
User-Agent header for SEC compliance. Format: "AppName contact@email.com".
User-Agent header for SEC compliance. Format: "AppName contact@email.com".
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
The hostname for the HTTP server.
The port to run the HTTP server on.
The endpoint path for the MCP server.
Public-facing origin override for TLS-terminating proxies (e.g., https://mcp.example.com). Leave unset for direct deployments.
Authentication mode to use: 'none', 'jwt', or 'oauth'.
Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Where to find authoritative docs and source for Cyanheads Secedgar.
Paste any of these into Agent Studio after connecting Cyanheads Secedgar.
Common questions about connecting and running Cyanheads Secedgar.
What is the SEC EDGAR MCP server and what can I query with it?
It's an MCP server that lets you programmatically access SEC EDGAR filings, XBRL financial data, and company information. You can search filings by company, CIK, or filing type, and extract structured financial metrics.
Do I need to set up authentication to use this server?
The server supports three auth modes (none, JWT, or OAuth) via the MCP_AUTH_MODE environment variable. You must always provide a User-Agent header in the EDGAR_USER_AGENT env var in the format 'AppName contact@email.com' for SEC compliance.
Can I self-host this server or do I have to use the hosted endpoint?
You can self-host using `npx @cyanheads/secedgar-mcp-server@0.4.3`. Configure the HTTP host, port, and endpoint path via MCP_HTTP_HOST, MCP_HTTP_PORT, and MCP_HTTP_ENDPOINT_PATH environment variables.
What's the difference between this and directly querying the SEC EDGAR API?
This MCP server wraps EDGAR access in the Model Context Protocol, making it easy to integrate with Claude and other AI tools. It handles User-Agent compliance and XBRL parsing automatically.
How do I debug issues or see what the server is doing?
Set the MCP_LOG_LEVEL environment variable to 'debug', 'info', or 'warn' to control logging verbosity. This helps troubleshoot connection and query issues.
Connect Cyanheads Secedgar to Claude, GPT, Gemini, DeepSeek and 60+ AI models in MCP Agent Studio. Compare answers side-by-side, save reusable agent presets, share runs — all in your browser, no install required.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams