SEC EDGAR

SEC EDGAR

Open-source MCP server connecting AI models to SEC EDGAR filings for financial data.

173
Stars
50
Forks
11
Releases

Overview

SEC EDGAR MCP is an open-source Model Context Protocol server that connects AI models to the SEC's EDGAR filings. Built around the MCP standard, it exposes a comprehensive set of EDGAR tools and leverages the Edgartools Python library to fetch data from official SEC sources, with direct XBRL parsing for exact financial precision. Available tools include Company Tools (CIK lookup, company information, and company facts), Filing Tools (recent filings, filing content, 8-K analysis, and section extraction), Financial Tools (financial statements with direct XBRL parsing for exact precision), and Insider Trading Tools (Form 3/4/5 analysis with detailed transaction data). The server accesses data via the SEC EDGAR REST API and downloads complete filings (.txt) for content parsing, applying deterministic processing to ensure results are based solely on official data and including clickable filing references for verification. It uses flexible XBRL extraction (pattern-based) rather than hardcoded mappings to extract financial concepts. By default, it uses stdio transport, with potential integration to streamable HTTP; note that there is no authentication, so deployment should be secured in private networks.

Details

Owner
stefanoamorelli
Language
Python
License
GNU Affero General Public License v3.0
Updated
2025-12-07

Features

Deterministic Responses

All tools include strict instructions to prevent AI hallucination and ensure responses are based only on SEC filing data.

Exact Precision

Financial data maintains exact numeric precision (no rounding) as filed with the SEC.

Filing References

Every response includes clickable SEC URLs for independent verification.

Flexible XBRL Extraction

Uses pattern matching to find financial concepts without hardcoded mappings.

Audience

AI assistants / MCP clientsInvoke MCP tools to retrieve real-time SEC data and financial metrics from filings for accurate, source-backed responses.
Financial analystsResearch and extract exact numbers from SEC filings for financial analysis, reporting, and investment insights.
Developers / MCP integratorsIntegrate SEC EDGAR data into MCP-enabled apps using standard JSON-RPC interfaces and the MCP protocol.

Tags

SEC EDGARMCPEdgartoolsXBRLCIK lookupFiling contentFiling references