GnistAI GnistAI
Log in

SEC EDGAR

SEC filings — 10-K, 10-Q, 8-K, and other company disclosures.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Business

Data source: SEC EDGAR

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/sec-edgar/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-sec-edgar": {
      "url": "https://context.gnist.ai/mcp/sec-edgar/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/sec-edgar/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_filings", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/sec-edgar/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/sec-edgar/search_filings?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/sec-edgar/search_filings",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc sec-edgar

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

search_filings
Full-text search over all public SEC filings (10-K, 10-Q, 8-K, proxy, and more).
ParameterTypeRequiredDescription
querystringrequiredSearch terms — phrase-matched against filing text.
form_typeanyoptional
companyanyoptional
date_fromanyoptional
date_toanyoptional
max_resultsintegeroptional (default: 20)
get_company_filings
Retrieve recent SEC filings for any public company by ticker or CIK.
ParameterTypeRequiredDescription
ticker_or_cikstringrequiredCompany identifier — either a ticker symbol (e.g. "AAPL", "MSFT") or a numeric CIK (e.g. "320193" or "0000320193").
form_typeanyoptionalFilter to a specific form type: "10-K", "10-Q", "8-K", etc. Omit to return all recent filings.
limitintegeroptionalMaximum filings to return (default 10). (default: 10)
get_financial_facts
Retrieve XBRL-tagged financial data for a company concept across all reporting periods.
ParameterTypeRequiredDescription
ticker_or_cikstringrequiredTicker symbol (e.g. "AAPL") or numeric CIK (e.g. "320193").
conceptstringrequiredXBRL concept tag name. Case-sensitive, CamelCase.
unitstringoptionalUnit of measure — "USD", "shares", or "USD/shares". Default "USD". (default: "USD")
taxonomystringoptionalXBRL taxonomy — "us-gaap" (default) or "dei". (default: "us-gaap")
get_filing_section
Extract a specific section from a public SEC filing as plain text.
ParameterTypeRequiredDescription
accession_numberstringrequiredEDGAR accession number — e.g. "0000320193-23-000106".
sectionstringrequiredSection to extract. Named sections: "business", "risk_factors", "mda", "financial_statements", "executive_compensation", "quantitative_risk", "controls". Also accepts raw item numbers...
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related