Skip to main content
Glama

edgar-mcp

Model Context Protocol (MCP) server for the SEC EDGAR data APIs on data.sec.gov.

No API key is required. The SEC asks that automated clients declare a descriptive User-Agent (with contact email) and stay under 10 requests/second.

Official docs: EDGAR Application Programming Interfaces

Features

Tool

Description

lookup_company

Search tickers / names / CIKs

get_company_info

Entity metadata (SIC, addresses, fiscal year end, …)

get_filings

Recent (and optional historical) filings with form/date filters

get_filing_documents

Document list + URLs for a specific accession

list_company_facts

Discover XBRL taxonomies and concept tags for a company

get_company_concept

Time series for one XBRL concept (e.g. us-gaap Assets)

get_xbrl_frames

Cross-company frame for a concept/period

get_bulk_data_info

Nightly bulk ZIP URLs and fair-access notes

Related MCP server: edgar-mcp

Requirements

  • Node.js 18+

Setup

npm install
npm run build

Set your identity (required by the SEC):

export EDGAR_USER_AGENT="YourName your.email@example.com"

(SEC_USER_AGENT is accepted as an alias.)

Run

npm start
# or
node dist/index.js

Claude Desktop / Cursor / MCP clients

Add to your MCP config (example for Claude Desktop):

{
  "mcpServers": {
    "edgar": {
      "command": "node",
      "args": ["/absolute/path/to/edgar-mcp/dist/index.js"],
      "env": {
        "EDGAR_USER_AGENT": "YourName your.email@example.com"
      }
    }
  }
}

Development (no build step):

npx tsx src/index.ts

API coverage

Maps to the public RESTful APIs:

  • Submissionshttps://data.sec.gov/submissions/CIK##########.json

  • Company factshttps://data.sec.gov/api/xbrl/companyfacts/CIK##########.json

  • Company concepthttps://data.sec.gov/api/xbrl/companyconcept/CIK##########/{taxonomy}/{tag}.json

  • Frameshttps://data.sec.gov/api/xbrl/frames/{taxonomy}/{tag}/{unit}/{period}.json

  • Ticker maphttps://www.sec.gov/files/company_tickers_exchange.json

  • Filing directorieshttps://www.sec.gov/Archives/edgar/data/{cik}/{accession}/index.json

Period formats for frames: CY2019 (annual), CY2019Q1 (quarterly duration), CY2019Q1I (instantaneous). Units with numerator/denominator use -per- (e.g. USD-per-shares).

Fair access

This server:

  1. Sends a configurable User-Agent on every request

  2. Rate-limits to ~9 requests/second (under the SEC’s 10 rps cap)

  3. Caches the company ticker map for 24 hours

Please do not raise the rate for bulk scraping; use the nightly bulk ZIPs instead (get_bulk_data_info).

Example prompts

  • “Look up NVIDIA’s CIK and latest 10-K.”

  • “What was Apple’s AccountsPayableCurrent over the last few years?”

  • “List us-gaap tags for Microsoft that contain Revenue.”

  • “Show CY2023 Q4 instantaneous Assets for USD across filers (first 20).”

  • “Documents in accession 0000320193-25-000079 for Apple.”

License

MIT. EDGAR data is public domain U.S. government work; reuse is free under SEC dissemination policy.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    MCP server providing read-only access to SEC EDGAR filings, allowing LLMs to look up companies, search filings, and retrieve securities offering data.
    Last updated
    3
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server for SEC EDGAR that provides real-time access to filings, financial statements, and full-text search across all EDGAR documents.
    Last updated
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    A free, key-less MCP server for SEC EDGAR that provides company filings, XBRL financial facts, and full-text search directly from the SEC.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • SEC XBRL MCP — wraps SEC EDGAR XBRL API (data.sec.gov)

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

  • SEC/XBRL issuer intelligence for crypto public companies via MCP, OpenAPI, x402, and MPP.

View all MCP Connectors

Latest Blog Posts

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/GeekLad/edgar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server