SEC EDGAR MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SEC EDGAR MCP Servershow me Apple's revenue breakdown by geography for last quarter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unofficial SEC EDGAR MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to the U.S. Securities and Exchange Commission's EDGAR (Electronic Data Gathering, Analysis, and Retrieval) system. This server enables AI assistants and applications to search, retrieve, and analyze public company filings, financial statements, and dimensional XBRL data from the SEC's database.
Key Features
Company Discovery: Find companies by name or ticker with real-time SEC data
Complete Filing Access: Full company submission histories and document details
Advanced XBRL Analysis: Extract dimensional financial facts with geographic/segment breakdowns
Intelligent Fact Search: Find specific financial values with dimensional context
Business Intelligence: Automated fact classification and table generation
Multi-API Integration: Robust fallback mechanisms across SEC endpoints
Real-time Data: Direct access to SEC's live EDGAR database
MCP Compatible: Works seamlessly with Cursor, Claude Desktop, and other MCP clients
Related MCP server: SEC EDGAR MCP Server
European Filings - Sister Project
Looking for European company financial data? Check out our companion server:
EU Filings MCP Server - Access financial filings from 27+ EU countries via ESEF (European Single Electronic Format)
98% feature parity with this SEC server, optimized for European regulatory frameworks.
Usage
{
"mcpServers": {
"sec-mcp-server": {
"command": "node",
"args": ["/path/to/sec-mcp-server/build/index.js"],
"env": {}
}
}
}Dimensional XBRL Capabilities
Fact Table Generation
Extract precise financial facts with complete dimensional context:
{
"method": "build_fact_table",
"cik_or_ticker": "JNJ",
"target_value": 638000000,
"tolerance": 50000000
}Returns dimensional facts like:
$638.0M = J&J Electrophysiology Non-US Revenue (Q1 2025)
Complete dimensional breakdown: Geography + Business Segment + Subsegment
Full XBRL context:
us-gaap:NonUsMember+jnj:MedTechMember+jnj:ElectrophysiologyMember
Business Intelligence Extraction
Automatically classifies and analyzes financial facts:
Subsegment Revenue: Product-line specific performance
Geographic Revenue: International vs domestic breakdowns
Segment Revenue: Business division analysis
Comparative Analysis: Cross-product and cross-geography insights
Complete API Reference
The server provides a unified sec_edgar tool with 10 powerful methods:
Core Company Operations
1. Search Companies (search_companies)
Find companies by name or ticker using SEC's official database.
{
"method": "search_companies",
"query": "Johnson & Johnson"
}2. Get Company CIK (get_company_cik)
Convert ticker symbols to Central Index Keys with validation.
{
"method": "get_company_cik",
"ticker": "JNJ"
}3. Get Company Submissions (get_company_submissions)
Retrieve complete filing history with enhanced metadata.
{
"method": "get_company_submissions",
"cik_or_ticker": "0000200406"
}Financial Data Access
4. Get Company Facts (get_company_facts)
Access all XBRL financial data with structured organization.
{
"method": "get_company_facts",
"cik_or_ticker": "JNJ"
}5. Get Company Concept (get_company_concept)
Extract specific financial concepts with historical trends.
{
"method": "get_company_concept",
"cik_or_ticker": "JNJ",
"taxonomy": "us-gaap",
"tag": "RevenueFromContractWithCustomerExcludingAssessedTax"
}6. Get Frames Data (get_frames_data)
Analyze aggregated data across companies and periods.
{
"method": "get_frames_data",
"taxonomy": "us-gaap",
"tag": "Assets",
"unit": "USD",
"frame": "CY2024Q1I"
}Advanced Dimensional Analysis
7. Get Dimensional Facts (get_dimensional_facts)
Extract facts with complete dimensional context from XBRL instance documents.
{
"method": "get_dimensional_facts",
"cik_or_ticker": "JNJ",
"accession_number": "0000200406-25-000119",
"search_criteria": {
"concept": "RevenueFromContractWithCustomerExcludingAssessedTax",
"valueRange": {
"min": 588000000,
"max": 688000000
},
"dimensions": {
"subsegment": "Electrophysiology"
}
}
}8. Search Facts by Value (search_facts_by_value)
Find financial facts around specific target values with filters.
{
"method": "search_facts_by_value",
"cik_or_ticker": "JNJ",
"target_value": 638000000,
"tolerance": 50000000,
"filters": {
"concept": "Revenue",
"formType": "10-Q"
}
}9. Build Fact Table (build_fact_table)
Generate comprehensive dimensional fact tables with business intelligence.
{
"method": "build_fact_table",
"cik_or_ticker": "JNJ",
"target_value": 638000000,
"tolerance": 50000000,
"options": {
"maxRows": 25,
"showDimensions": true,
"sortBy": "deviation"
}
}Utility Operations
10. Filter Filings (filter_filings)
Enhanced filtering with date ranges and form types.
{
"method": "filter_filings",
"filings": [...],
"form_type": "10-Q",
"start_date": "2024-01-01",
"end_date": "2024-12-31"
}🏗️ Enhanced Architecture
Multi-Tier API Access Strategy
Primary: Direct iXBRL document parsing from EDGAR Archives
Secondary: SEC Submissions API for filing discovery and metadata
Tertiary: Company Facts API with dimensional inference
Emergency: Known dimensional structure mapping
SEC API Compliance
Official Endpoints: Uses
data.sec.govAPIs per SEC guidelinesProper User-Agent:
SEC-Research-Tool/1.0 (contact@research.org)Rate Limiting: Respects 10 requests/second SEC limit
Error Recovery: Graceful degradation with meaningful diagnostics
iXBRL Parser Technology
Modern Format Support: Handles Inline XBRL (HTML-embedded) instead of legacy XML
Dimensional Extraction: Parses
<ix:nonFraction>,<ix:fraction>, and context relationshipsBusiness Classification: Automatically categorizes facts by type and dimensional scope
Context Resolution: Maps XBRL contexts to readable dimensional breakdowns
Real-World Use Cases
Investment Analysis
{
"method": "build_fact_table",
"cik_or_ticker": "AAPL",
"target_value": 100000000000,
"tolerance": 10000000000
}Find all facts around $100B for Apple with dimensional context
Competitive Intelligence
{
"method": "search_facts_by_value",
"cik_or_ticker": "TSLA",
"target_value": 20000000000,
"filters": {
"concept": "Revenue",
"dimensions": {"geography": "International"}
}
}Analyze Tesla's international revenue performance
Regulatory Compliance Monitoring
{
"method": "get_dimensional_facts",
"cik_or_ticker": "JPM",
"search_criteria": {
"concept": "LoanLossProvision",
"valueRange": {"min": 1000000000, "max": 5000000000}
}
}Monitor JPMorgan's loan loss provisions with risk segmentation
Cross-Company Benchmarking
{
"method": "get_frames_data",
"taxonomy": "us-gaap",
"tag": "OperatingIncomeLoss",
"unit": "USD",
"frame": "CY2024Q3I"
}Compare operating income across all companies for Q3 2024
SEC Filing Reference
Major Form Types
Form | Description | Frequency | Key Data |
10-K | Annual Report | Yearly | Complete financials, business overview |
10-Q | Quarterly Report | Quarterly | Unaudited financials, interim updates |
8-K | Current Report | As needed | Material events, acquisitions |
DEF 14A | Proxy Statement | Annually | Executive compensation, voting matters |
20-F | Foreign Annual | Yearly | Non-US company annual report |
S-1 | Registration | As needed | IPO registration statement |
XBRL Taxonomies
US-GAAP (us-gaap)
Primary financial concepts:
Assets- Total company assetsLiabilities- Total liabilitiesStockholdersEquity- Shareholders' equityRevenueFromContractWithCustomerExcludingAssessedTax- Revenue excluding taxesNetIncomeLoss- Net income or lossOperatingIncomeLoss- Operating income or lossCashAndCashEquivalents- Cash and equivalents
Dimensional Axes
srt:StatementGeographicalAxis- Geographic segmentationus-gaap:StatementBusinessSegmentsAxis- Business segment breakdownus-gaap:SubsegmentsAxis- Product line subsegmentsus-gaap:StatementEquityComponentsAxis- Equity components
Common Members
Geography:
us-gaap:UsMember,us-gaap:NonUsMemberBusiness:
*:TechnologyMember,*:HealthcareMember,*:MedTechMemberProducts:
*:ElectrophysiologyMember,*:OrthopedicsMember
Advanced Query Patterns
Finding Dimensional Revenue Facts
{
"method": "get_dimensional_facts",
"cik_or_ticker": "JNJ",
"search_criteria": {
"concept": "RevenueFromContractWithCustomerExcludingAssessedTax",
"dimensions": {
"us-gaap:StatementBusinessSegmentsAxis": "jnj:MedTechMember",
"us-gaap:SubsegmentsAxis": "jnj:ElectrophysiologyMember"
}
}
}Building Comprehensive Analysis Tables
{
"method": "build_fact_table",
"cik_or_ticker": "PFE",
"target_value": 15000000000,
"tolerance": 2000000000,
"options": {
"maxRows": 50,
"sortBy": "value",
"filters": {
"concept": "Revenue",
"formType": "10-Q"
}
}
}Cross-Period Comparison
{
"method": "search_facts_by_value",
"cik_or_ticker": "AMZN",
"target_value": 50000000000,
"tolerance": 5000000000,
"filters": {
"concept": "OperatingIncome"
}
}Performance Optimization
Best Practices
Use CIK instead of ticker when possible for faster lookups
Cache Company Facts data for repeated concept queries
Limit fact table rows with
maxRowsoption for large datasetsUse specific accession numbers to avoid submission lookups
Batch similar requests to respect rate limits
Resources
SEC EDGAR: Official SEC Resources
XBRL Resources: XBRL.org
Important: This is an unofficial tool. Please respect SEC's data usage guidelines and terms of service. Always verify critical financial data through official SEC sources.
Available Tools
1 toolsec-edgarC
Unified tool for SEC EDGAR (Electronic Data Gathering, Analysis, and Retrieval) operations: access company filings, financial statements, and XBRL data from the U.S. Securities and Exchange Commission. Provides comprehensive access to public company disclosures, financial metrics, and regulatory filings using the official SEC EDGAR API.
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | The operation to perform: search_companies (find companies by name/ticker), get_company_cik (convert ticker to CIK), get_company_submissions (filing history), get_company_facts (all XBRL financial data), get_company_concept (specific financial metric), get_frames_data (aggregated data across companies), filter_filings (filter filing results), get_dimensional_facts (get XBRL facts with dimensional context), search_facts_by_value (find facts around a target value with filters), build_fact_table (build comprehensive table of facts with dimensional analysis), time_series_dimensional_analysis (analyze subsegment revenue across time periods with geographic breakdowns) | |
| query | No | For search_companies: Company name or ticker symbol to search for (e.g., "Apple", "AAPL", "Microsoft") | |
| ticker | No | For get_company_cik: Stock ticker symbol to convert to CIK (e.g., "AAPL", "MSFT", "TSLA") | |
| cik_or_ticker | No | For get_company_submissions, get_company_facts, get_company_concept: Company CIK number (10-digit) or ticker symbol | |
| taxonomy | No | For get_company_concept, get_frames_data: XBRL taxonomy (e.g., "us-gaap" for US GAAP, "dei" for Document Entity Information, "invest" for Investment Company) | |
| tag | No | For get_company_concept, get_frames_data: XBRL concept tag (e.g., "Assets", "Revenues", "NetIncomeLoss", "StockholdersEquity") | |
| unit | No | For get_frames_data: Unit of measure (e.g., "USD" for US Dollars, "shares" for share counts) | |
| frame | No | For get_frames_data: Reporting frame in format like "CY2021Q4I" (Calendar Year 2021 Q4 Instant), "CY2021" (Calendar Year 2021), "Q1" (Q1 any year) | |
| filings | No | For filter_filings: Array of filing objects to filter (typically from get_company_submissions result) | |
| form_type | No | For filter_filings: Form type to filter by (e.g., "10-K" for annual reports, "10-Q" for quarterly, "8-K" for current reports) | |
| start_date | No | For filter_filings: Start date for filing date range in YYYY-MM-DD format | |
| end_date | No | For filter_filings: End date for filing date range in YYYY-MM-DD format | |
| limit | No | For filter_filings: Maximum number of results to return | |
| accession_number | No | SEC accession number of the specific filing to analyze (for get_dimensional_facts, search_facts_by_value, build_fact_table) | |
| search_criteria | No | Search criteria for finding dimensional facts (for get_dimensional_facts) | |
| target_value | No | Target value in dollars to search around (for search_facts_by_value, build_fact_table) | |
| tolerance | No | Tolerance range (±) in dollars for matching values (for search_facts_by_value, build_fact_table) | |
| filters | No | Additional filters for fact searches (for search_facts_by_value) | |
| options | No | Table formatting and analysis options (for build_fact_table) | |
| time_series_options | No | Options for time series dimensional analysis (for time_series_dimensional_analysis) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. While it mentions 'access' and 'operations,' it fails to describe critical behavioral traits such as whether this is a read-only or mutating operation, authentication requirements, rate limits, error handling, or response formats. For a tool interacting with an external API, this omission leaves the agent without necessary operational context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately concise—two sentences that efficiently convey the tool's scope and purpose without redundancy. It is front-loaded with key information. However, it could be slightly more structured by explicitly listing the main operation types, but this is minor.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's high complexity (20 parameters, nested objects, no output schema, and no annotations), the description is insufficiently complete. It lacks information about return values, error conditions, authentication, rate limits, and practical usage examples. For such a multifaceted tool, the description should provide more contextual guidance to help the agent understand how to effectively invoke it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents all parameters thoroughly with descriptions and examples. The description adds no parameter-specific information beyond what's in the schema. According to the rules, when schema coverage is high (>80%), the baseline score is 3 even with no param info in the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose as providing 'comprehensive access to public company disclosures, financial metrics, and regulatory filings using the official SEC EDGAR API.' It specifies the domain (SEC EDGAR), resources (company filings, financial statements, XBRL data), and operations (access, retrieval). However, it doesn't differentiate from siblings since none exist, so it cannot achieve a perfect 5 for sibling differentiation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It describes what the tool does but offers no context about appropriate use cases, prerequisites, or exclusions. For a complex tool with 20 parameters and multiple methods, this lack of usage guidance is a significant gap.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools, as there are no other tools to compare it to. The single tool's purpose is clearly defined and distinct by default.
Since there is only one tool, naming consistency is inherently perfect; there are no other tool names to compare it against, so no inconsistencies can exist. The tool name 'sec-edgar' is clear and follows a straightforward pattern.
A single tool for SEC EDGAR operations feels thin and under-scoped, as the domain involves complex tasks like accessing filings, financial statements, and XBRL data. This likely forces multiple functionalities into one tool, which could be confusing and limit agent effectiveness, making it borderline too few for the apparent scope.
The tool description suggests a broad range of operations (e.g., access filings, financial statements, XBRL data), but with only one tool, there are significant gaps in the surface. It lacks distinct operations for different tasks like searching, retrieving specific filings, or handling XBRL data separately, which will likely cause agent failures due to incomplete coverage.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Search SEC EDGAR filings, financial statements, and company data.
SEC EDGAR financials, insider trading, and economic data for AI agents. US GAAP + IFRS.
SEC filing intelligence for AI agents. Financials, screening, peer comparison for 5,000+ companies.
Scrape SEC EDGAR filings by company, form type, date, or full text. Pay per row.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables deep analysis of SEC EDGAR filings through universal company search, document content extraction, and advanced filing search capabilities. Provides AI-ready access to business descriptions, risk factors, financial statements, and full-text search across any public company's SEC documents.
- FlicenseAqualityDmaintenanceProvides access to SEC filings and detailed XBRL financial data for all publicly traded U.S. companies. It enables users to search for company info, retrieve historical metrics like revenue and assets, and compare financial performance across different industries.61
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to download, parse, and analyze SEC EDGAR filings, including 10-K/Q reports, XBRL financial statements, and insider trading data. It provides structured access to institutional holdings, corporate events, and financial facts for comprehensive investment research.4MIT
- AlicenseNot gradedqualityCmaintenanceEnables to search and retrieve SEC EDGAR filings, insider transactions, major shareholders, and executive compensation data through natural language.25MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/openpharma-org/sec-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server