fairquery-edgar
Click on "Deploy 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., "@fairquery-edgarFind Nvidia's CIK and its last five 8-K filings"
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.
Fairquery EDGAR: SEC Company Filings & Financial Facts
Apify Store · MCP via Apify · Contact: fairquery@proton.me
Public Apify Actor that turns the SEC’s public EDGAR data into clean, structured rows for AI agents and MCP clients. Look up by ticker, CIK, or company name. Returns official entity metadata, recent filings (10-K, 10-Q, 8-K and more) with document URLs, XBRL company facts (Assets, Revenues, NetIncomeLoss, diluted EPS and more), and optional plain-text excerpts. Every row carries a schema version, a source SEC URL, and a timestamp. Errors are machine-readable codes.
Not investment advice. Output is a structured mirror of public SEC EDGAR data for research and tooling. It is not a recommendation to buy, sell, or hold any security.
When to use this (LLM / tool selection)
Use this Actor when an agent needs:
Map a ticker, CIK, or company name → official SEC CIK / entity metadata
Recent SEC filings (10-K, 10-Q, 8-K, …) with document URLs
XBRL company facts (Assets, NetIncomeLoss, EPS, …) from
companyfactsOptional plain-text excerpts from primary filing documents
Do not use it for realtime quotes, options chains, insider Form 4 parsing beyond what submissions expose, or non-US registries.
Related MCP server: Aegis Gov SEC Filings MCP
MCP connection (Apify hosted)
Connect any MCP client to Apify’s MCP server with this Actor scoped in:
{
"mcpServers": {
"fairquery-edgar": {
"type": "http",
"url": "https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings"
}
}
}Clients without OAuth can add "headers": {"Authorization": "Bearer <APIFY_TOKEN>"}.
MCP URL: https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings
Actor id: fairquery/edgar-company-facts-filings (lowercase).
Example agent prompts
"Using the EDGAR tool, get Apple's and Microsoft's 10-K and 10-Q filings since 2023 and their latest Assets, NetIncomeLoss and diluted EPS."
"Find the CIK for Nvidia and list its last five 8-K filings with links."
Local stdio MCP server
This repo also ships a stdio MCP server (TypeScript, @modelcontextprotocol/sdk) under mcp/. It exposes the tool edgar_company_filings_and_facts, which runs the same Apify Actor via the Apify API. initialize and tools/list work without a token; tool calls require APIFY_TOKEN.
Install & run (Node)
cd mcp
npm install
npm run build
APIFY_TOKEN=your_token node dist/index.jsMCP client config (Cursor / Claude Desktop)
{
"mcpServers": {
"fairquery-edgar": {
"command": "node",
"args": ["/absolute/path/to/edgar-company-facts-filings/mcp/dist/index.js"],
"env": {
"APIFY_TOKEN": "your_apify_token"
}
}
}
}Docker
Build from mcp/:
cd mcp
docker build -t fairquery-edgar-mcp .
docker run -i -e APIFY_TOKEN=your_token fairquery-edgar-mcpFor Glama, paste the repo-root Dockerfile from Dockerfile.mcp when adding the server (build context = repository root).
Glama
glama.json lists fairquery as maintainer. After Glama indexes the server, claim ownership if needed.
Data sources (SEC fair access)
Resource | URL |
Tickers map |
|
Submissions |
|
Company facts |
|
The Actor sends User-Agent: Fairquery fairquery@proton.me and throttles to ≤ 5 requests/second.
Input
Field | Type | Default | Description |
|
| — | Tickers ( |
|
|
| Which row types to emit (always emits |
|
|
| Form filter; empty = all |
|
| — | Keep filings with |
|
|
| Cap filing rows per company |
|
| defaults | XBRL concept names; empty uses a curated us-gaap set |
|
|
| Most-recent values per concept/unit |
|
|
| Fetch primary document text |
|
|
| Excerpt length cap |
Example input
{
"companies": ["AAPL", "MSFT"],
"mode": "both",
"formTypes": ["10-K", "10-Q"],
"since": "2023-01-01",
"maxFilingsPerCompany": 5,
"metrics": ["Assets", "NetIncomeLoss", "EarningsPerShareDiluted"],
"includeTextExcerpt": false
}Minimal:
{"companies":["AAPL"],"mode":"both","formTypes":["10-K"],"metrics":["Assets","NetIncomeLoss"]}Output
One dataset row per company, filing, fact, text excerpt, or error. Every row includes:
schema_version— currently1.0.0type—company|filing|fact|text_excerpt|errorsource_url— SEC URL the row came fromscraped_at— ISO timestamp
Error rows (machine-readable)
{
"schema_version": "1.0.0",
"type": "error",
"code": "COMPANY_NOT_FOUND",
"message": "Could not resolve company query: ZZNOTREAL",
"retryable": false,
"query": "ZZNOTREAL",
"source_url": "https://data.sec.gov/"
}Codes include: INPUT_EMPTY, COMPANY_NOT_FOUND, RESOLVE_FAILED, SUBMISSIONS_FETCH_FAILED, FACTS_FETCH_FAILED, EXCERPT_FETCH_FAILED.
Run summary
Key-value store record RUN_SUMMARY with counts, SEC request total, and echoed input.
Pricing (pay-per-event)
No subscription. Users are charged for these events (plus Apify’s default apify-actor-start):
Event | Price | When |
| $0.00005 | Once when the run starts (Apify default) |
| $0.002 | Each successfully resolved company row |
| $0.002 | Each filing row |
| $0.0005 | Each XBRL fact row |
| $0.003 | Each primary-document text excerpt row |
Primary Store display event: company-resolved.
Memory / runtime
Default 256 MB, timeout 300s. HTTP-only (no browser).
Local development
npm install
# put input in storage/key_value_stores/default/INPUT.json
npx apify run
npm testOptional local PPE dry-run: ACTOR_TEST_PAY_PER_EVENT=1 npx apify run.
Links
Apify Store: https://apify.com/fairquery/edgar-company-facts-filings
MCP: https://mcp.apify.com/?tools=fetch-actor-details,fairquery/edgar-company-facts-filings
Contact: fairquery@proton.me
License
MIT
Disclaimer
Data originates from the U.S. Securities and Exchange Commission EDGAR system. Fairquery and this Actor provide no warranty of completeness or fitness for trading decisions. This is not investment advice.
This server cannot be deployed
Maintenance
Related MCP Connectors
Resolves stock tickers to SEC CIK numbers, recent 10-K/10-Q/8-K filings, and entity metadata.
Primary-source SEC filing intelligence and financial/disclosure reconciliation for AI agents.
Search SEC EDGAR filings, financial statements, and company data.
SEC-signed profiles for 8,000+ US public companies from EDGAR filings. Token-efficient.
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.-
- AlicenseAqualityBmaintenanceQuery SEC EDGAR for company filings, financial data, and executive disclosures. Search by company name or ticker, retrieve 10-K/10-Q/8-K filings, and extract structured financials — backed by the official SEC EDGAR API, built for AI agents.4MIT
- AlicenseAqualityBmaintenanceEnables AI agents to research US public company filings, financials, and insider transactions using SEC EDGAR data, with no API keys required. Provides tools for company lookup, recent filings, full-text search, financial facts, and insider activity.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables searching SEC EDGAR for companies, retrieving recent filings (e.g., 10-K, 10-Q), and accessing structured XBRL financial facts.42 npmMIT