Compatible with every major AI agent and IDE
What is the SEC XBRL (Financial Reporting) MCP Server?
Connect your AI agent to the SEC EDGAR database and perform deep financial analysis using standardized XBRL data. This server provides programmatic access to the U.S. Securities and Exchange Commission's public filing infrastructure.
What you can do
- Filing History — Retrieve the complete submission history for any entity using its Central Index Key (CIK)
- Company Facts — Fetch the entire dictionary of XBRL facts reported by a company, covering all taxonomies (US-GAAP, IFRS, etc.)
- Concept Analysis — Drill down into specific financial concepts (e.g., Net Income, Assets) for a single company over time
- Market-Wide Frames — Aggregate specific financial data points across all reporting entities for a particular period and unit
How it works
- Subscribe to this server
- Enter your SEC User-Agent string (required by SEC Fair Access policy)
- Start querying financial statements from Claude, Cursor, or any MCP client
Who is this for?
- Financial Analysts — instantly pull raw XBRL data for modeling without manual spreadsheet entry
- Investors — monitor recent filings and compare metrics across industries using standardized frames
- Compliance Officers — verify submission histories and disclosure accuracy for specific CIKs
Built-in capabilities (4)
Get all XBRL disclosures for a single company concept
Get all company concepts data for a specific company
Includes metadata and recent filings. Get filing history for a specific entity
Get aggregated facts for a specific concept and period
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and SEC XBRL (Financial Reporting) tool infrastructure. Connect 4 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add SEC XBRL (Financial Reporting) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every SEC XBRL (Financial Reporting) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
SEC XBRL (Financial Reporting) in Mastra AI
SEC XBRL (Financial Reporting) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect SEC XBRL (Financial Reporting) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for SEC XBRL (Financial Reporting) in Mastra AI
The SEC XBRL (Financial Reporting) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 4 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
SEC XBRL (Financial Reporting) for Mastra AI
Every tool call from Mastra AI to the SEC XBRL (Financial Reporting) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I find the filing history for a specific company?
Use the get_submissions tool with the company's Central Index Key (CIK). For example, Apple is 320193. The tool automatically handles leading zeros.
Can I retrieve specific financial metrics like 'Net Income' for a company?
Yes. Use get_company_concept by providing the CIK, the taxonomy (usually 'us-gaap'), and the XBRL tag (like 'NetIncomeLoss').
How can I compare a single metric across all companies for a specific year?
Use the get_xbrl_frames tool. You can specify a concept, unit, and period (e.g., 'CY2023') to get data for every reporting entity in that timeframe.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Peerbie
16 toolsOrchestrate your entire team's workspace, from Kanban boards to calendar events, completely driven by AI.

Aptabase (Mobile Analytics)
1 toolsSend telemetry and custom events to Aptabase directly from your AI agent to track app usage and performance.

RenderForm
12 toolsGenerate dynamic images and social media graphics from templates with an API that personalizes visuals at scale for any campaign.

FormKeep
5 toolsManage form submissions, automate backends, and oversee data retrieval via AI agents with FormKeep.
