Skip to main content
Glama

Server Details

Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
cyanheads/secedgar-mcp-server
GitHub Stars
0

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

5 tools
secedgar_compare_metricSecedgar Compare Metric
Read-onlyIdempotent
Inspect

Compare a financial metric across all reporting companies for a specific period. Uses the same friendly concept names as secedgar_get_financials (e.g., "revenue", "assets").

ParametersJSON Schema
NameRequiredDescriptionDefault
sortNoSort direction. "desc" for highest values first (typical for revenue, assets). "asc" for lowest values.desc
unitNoUnit of measure. Use "USD-per-shares" for EPS, "shares" for share counts, "pure" for ratios.USD
limitNoNumber of companies to return.
periodYesCalendar period. Formats: "CY2023" — full year 2023 (duration, for income statement items) "CY2024Q2" — Q2 2024 (duration, for quarterly income items) "CY2023Q4I" — Q4 2023 instant (balance sheet items like assets, cash) Use duration periods (no I suffix) for income/cash flow items. Use instant periods (I suffix) for balance sheet items.
conceptYesFinancial concept — same friendly names as secedgar_get_financials (e.g., "revenue", "assets", "eps_basic") or raw XBRL tag.

Output Schema

ParametersJSON Schema
NameRequiredDescription
dataYesRanked companies for this metric.
unitYesUnit of measure.
labelYesHuman-readable concept label.
periodYesCalendar period.
conceptYesXBRL tag used.
total_companiesYesTotal companies reporting this metric for this period.
secedgar_get_filingSecedgar Get Filing
Read-onlyIdempotent
Inspect

Fetch a specific filing's metadata and document content by accession number. Returns the primary document as readable text, with option to fetch specific exhibits.

ParametersJSON Schema
NameRequiredDescriptionDefault
cikNoCompany CIK. Optional but recommended — speeds up URL construction. If omitted, derived from the accession number prefix.
documentNoSpecific document filename within the filing (e.g., "ex-21.htm" for subsidiaries list). Default: the primary document. Available documents listed in the response metadata.
content_limitNoMaximum characters of document text to return. 10-K filings can exceed 500,000 characters. Default 50,000 captures ~12,000 words (typically business overview, risk factors, and MD&A). Increase to 200,000 for full financial statements, or decrease for quick summaries.
accession_numberYesFiling accession number in either format: "0000320193-23-000106" (dashes) or "000032019323000106" (no dashes). Obtained from secedgar_company_search or secedgar_search_filings results.

Output Schema

ParametersJSON Schema
NameRequiredDescription
cikYesCompany CIK.
formYesForm type.
contentYesDocument text content, truncated to content_limit.
documentsYesAll documents in this filing. Use the name field with the document input param to fetch exhibits.
filing_urlYesDirect URL to the filing on SEC.gov.
filing_dateYesDate filed.
company_nameYesFiling entity name.
period_endingNoPeriod of report.
accession_numberYesFiling accession number.
primary_documentYesPrimary document filename.
content_truncatedYesTrue if content was truncated.
content_total_lengthYesFull document length before truncation.
secedgar_get_financialsSecedgar Get Financials
Read-onlyIdempotent
Inspect

Get historical XBRL financial data for a company. Accepts friendly concept names (e.g., "revenue", "net_income", "assets") or raw XBRL tags. Automatically handles historical tag changes and deduplicates data. See secedgar://concepts for available names.

ParametersJSON Schema
NameRequiredDescriptionDefault
companyYesTicker symbol (e.g., "AAPL") or CIK number. Ticker is preferred.
conceptYesFinancial concept — friendly name (e.g., "revenue", "net_income", "assets", "eps_diluted") or raw XBRL tag (e.g., "AccountsPayableCurrent"). Friendly names auto-resolve to the correct XBRL tags and handle historical tag changes. See secedgar://concepts for the full list of supported names and mappings.
taxonomyNoXBRL taxonomy. us-gaap for US companies, ifrs-full for foreign filers, dei for entity info (shares outstanding).us-gaap
period_typeNoFilter to annual (FY) or quarterly (Q1-Q4) data. "all" returns both.annual

Output Schema

ParametersJSON Schema
NameRequiredDescription
cikYesCompany CIK.
dataYesDeduplicated time series, newest first.
unitYesUnit of measure (e.g., "USD", "shares", "USD/shares").
labelYesHuman-readable label for the concept.
companyYesCompany name.
conceptYesXBRL tag name used.
tags_triedNoXBRL tags that were attempted (shown when using friendly names that map to multiple tags).
descriptionNoXBRL taxonomy description.
secedgar_search_filingsSecedgar Search Filings
Read-onlyIdempotent
Inspect

Full-text search across all EDGAR filing documents since 1993. Supports exact phrases, boolean operators, wildcards, and entity targeting (ticker:AAPL or cik:320193 in query).

ParametersJSON Schema
NameRequiredDescriptionDefault
formsNoFilter to specific form types (e.g., ["10-K", "10-Q", "8-K"]). Without this, searches all form types.
limitNoResults per page. Max 100. Default 20 to keep responses concise.
queryYesFull-text search query. Supports: exact phrases ("material weakness"), boolean operators (revenue OR income), exclusion (-preliminary), wildcard suffix (account*), entity targeting (ticker:AAPL or cik:320193 in the query). Terms are AND'd by default.
offsetNoPagination offset. Increment by limit for next page. Hard cap at 10,000 total results.
end_dateNoEnd of date range (YYYY-MM-DD). Both start_date and end_date must be provided for date filtering.
start_dateNoStart of date range (YYYY-MM-DD). Both start_date and end_date must be provided for date filtering.

Output Schema

ParametersJSON Schema
NameRequiredDescription
totalYesTotal matching filings (capped at 10,000).
resultsYesMatching filings.
total_is_exactYesFalse when total hits the 10,000 cap.
form_distributionNoCount of results by form type. Helps narrow follow-up searches.

Verify Ownership

Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:

{
  "$schema": "https://glama.ai/mcp/schemas/connector.json",
  "maintainers": [
    {
      "email": "your-email@example.com"
    }
  ]
}

The email address must match the email associated with your Glama account. Once verified, the connector will appear as claimed by you.

Sign in to verify ownership

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.