Secedgarmcp MCP Server

An MCP server for querying SEC EDGAR financial data — company info, financial statements, XBRL metrics, filings, insider trading, and more. Built

Local serverstdioGo

What is the Secedgarmcp MCP server?

Most developer tooling work still happens through a UI a human drives. Secedgarmcp MCP server moves it into the conversation instead. An MCP server for querying SEC EDGAR financial data — company info, financial statements, XBRL metrics, filings, insider trading, and more. Built with Go.

Getting it running

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

The tools it exposes

The server publishes 3 tools. What each one is for:

  • Company — The Company tool exposed by this server
  • Filings — view_filing accepts either a direct url (primary-document URL from get_recent_filings) or a form_type to auto-resolve the latest filing. It strips
  • Financials — The Financials tool exposed by this server

What it needs from you

Configuration is passed through the environment: SEC_EDGAR_USER_AGENT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Docker (recommended, no local toolchain needed) or Go 1.21+ - For view_filing: native (non-Docker) server + w3m + ghostty or konsole terminal

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How it compares

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Secedgarmcp's toolset — Company, Filings, Financials — is a fair guide to whether it matches your workflow. It is maintained by chinmaykhachane; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
CompanyThe Company tool exposed by this server.
Filingsview_filing accepts either a direct url (primary-document URL from get_recent_filings) or a form_type to auto-resolve the latest filing. It strips inline XBRL and CSS before rendering.
FinancialsThe Financials tool exposed by this server.

How to install the Secedgarmcp MCP server

Add to your `.mcp.json`:

```json
{
  "mcpServers": {
    "sec-edgar": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "--platform", "linux/amd64",
               "-e", "SEC_EDGAR_USER_AGENT=Your Name (you@email.com)",
               "sec-edgar-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Docker (recommended, no local toolchain needed) or Go 1.21+ - For view_filing: native (non-Docker) server + w3m + ghostty or konsole terminal
VariableDescriptionRequired
SEC_EDGAR_USER_AGENTConfiguration value read at startup.Optional

Example prompts to try

  • Use Secedgarmcp to Company.
  • Use Secedgarmcp to Filings.
  • Use Secedgarmcp to Financials.

Frequently asked questions

It connects Secedgarmcp to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Company, Filings, Financials) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Secedgarmcp directly.