Skip to main content
Glama
edgar-filings

edgar-filings

by Dxfory

EDGAR Filings MCP

PyPI MCP test

Cursor / Claude tools that return SEC filing numbers with accession, concept, period and EDGAR URL.

Who this is for: people already in an IDE chat who need a ticker’s 10-K/10-Q symbols, segment revenue, BDC non-accrual, or Form 4 lines without writing edgartools glue.

Pain it solves: models invent segment mix, insider trades, and BDC credit quality. These tools return accession, concept, period, open_market, non-accrual method, and the EDGAR index URL so you can check the filing.

Scope: four focused jobs on top of edgartools — symbols, segment revenue, BDC non-accrual, Form 4 — each returning accession, concept, period and the EDGAR index URL so every number is checkable.

Install

If uv is already on PATH, paste this into ~/.cursor/mcp.json (Windows: %USERPROFILE%\.cursor\mcp.json). Use a real name and email (SEC FAQ). Same snippet is in examples/cursor.mcp.json and examples/claude.mcp.json.

{
  "mcpServers": {
    "edgar-filings": {
      "command": "uvx",
      "args": ["edgar-filings-mcp"],
      "env": {
        "EDGAR_IDENTITY": "Your Name you@example.com"
      }
    }
  }
}

PyPI package edgar-filings-mcp is live. Registry name is io.github.Dxfory/edgar-mcp. Skip Smithery hosted. Pin mcp>=1.9,<2 — MCP 2.x renamed FastMCP; the package already pins that range.

The first uvx launch downloads edgartools (pandas / pyarrow). If the client looks stuck, run uvx edgar-filings-mcp once in a terminal so uv can cache the wheels, then restart the MCP server. After that, initialize is a couple of seconds.

No uv yet:

macOS / Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows (PowerShell):

irm https://astral.sh/uv/install.ps1 | iex

From git instead of PyPI:

uvx --from git+https://github.com/Dxfory/edgar-mcp.git edgar-filings-mcp

Clone (no uv)

git clone https://github.com/Dxfory/edgar-mcp.git
cd edgar-mcp
python -m venv .venv

macOS / Linux:

.venv/bin/python -m pip install -e .

Windows:

.\.venv\Scripts\python -m pip install -e .

Point the client at that interpreter with args ["-m", "edgar_mcp"].

If PyPI SSL fails (common with a local HTTPS proxy), use a mirror:

python -m pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple

Related MCP server: mcp-edgar

Tools

Tool

Returns

get_trading_symbols

Every dei:TradingSymbol on the latest 10-K or 10-Q, plus the legacy entity_info scalar

get_segment_revenue

Dimensioned XBRL revenue (product / business / geographic axes)

get_bdc_nonaccrual

BDC non-accrual rate, fair value, named investments, and extraction method

get_form4

Newest Form 4 summaries, transaction lines, open_market, and code_counts

form on get_trading_symbols, get_segment_revenue, and get_bdc_nonaccrual is 10-K (default) or 10-Q. get_bdc_nonaccrual accepts SEC BDCs (814- filers) such as ARCC.

Theme coverage

Four tools: trading symbols, segment revenue, BDC non-accrual, Form 4. Each figure carries accession, concept, period, and an EDGAR URL. NVDA segment revenue resolves through get_segment_revenue. BDC credit work resolves through get_bdc_nonaccrual. The server speaks stdio.

Theme

Filing figure

Tool

Listed symbols

Every dei:TradingSymbol on the latest 10-K or 10-Q

get_trading_symbols

AI infrastructure

NVDA Data Center segment revenue, tagged on the filing

get_segment_revenue on NVDA

Private credit / BDC

Non-accrual rate, fair value, named investments, extraction method

get_bdc_nonaccrual

Insider filings

Newest Form 4 summaries, transaction lines, open_market, and code_counts

get_form4

Footguns the tools already warn about

  • entity_info.ticker is last-wins on repeated TradingSymbol facts. Dual-class and preferred tickers can replace the common symbol.

  • Segment mix comes from dimensioned facts on this server. Statement “DETAILED” views can drop reportable-segment lines; get_financials() is a separate surface.

  • Form 4 A / M / F are grants, option exercises, and tax withholding — open_market is false.

  • BDC extraction_method=none or a zero rate plus extractor warnings marks a parse gap — read the Schedule of Investments in the filing for that BDC.

  • Latest 10-K can be a 10-K/A. The tools prefer the original form so Schedule-of-Investments footnotes stay in the extract.

Run without Cursor

python -m edgar_mcp

The server speaks stdio. Keep logs off stdout so the MCP stream stays the tool protocol.

python tests/run_offline.py
python scripts/smoke_stdio.py
python scripts/pressure.py

smoke_stdio.py checks initialize plus the four tool names. Live EDGAR calls belong to pressure.py. After uvx is on PATH:

python scripts/smoke_stdio.py -- uvx edgar-filings-mcp

pressure.py hits live EDGAR and needs EDGAR_IDENTITY.

License

MIT. Filing data is from the SEC EDGAR system; this project is not affiliated with the SEC.

Available Tools

4 tools
get_bdc_nonaccrualA

Non-accrual investments from a BDC 10-K or 10-Q, cited to the filing.

Use this instead of guessing private-credit quality. ticker_or_cik must be an SEC BDC (814- filer) such as ARCC. Operating companies like NVDA raise. Non-accrual is the filer's tagged status, not Fitch PCDR and not PIK.

Inputs: ticker_or_cik (required), form, accession.

get_form4A

Recent Form 4 insider filings: who, role, activity, and transaction lines.

limit: 1-20 filings, newest first. P/S are open_market true; A/M/F are false.

Inputs: ticker_or_cik (required), limit.

get_segment_revenueA

Dimensioned XBRL revenue facts from a 10-K or 10-Q (product, business, geographic axes).

This is filing data, not a consolidated income statement. ticker_or_cik: ticker like NVDA or a CIK. accession: optional filing accession; default is the latest of form. form: 10-K (default) or 10-Q.

Inputs: ticker_or_cik (required), form, accession.

get_trading_symbolsA

Every dei:TradingSymbol fact on a 10-K or 10-Q, plus the legacy entity_info ticker scalar.

Use this when you need the common stock ticker versus preferred, notes, or dual-class symbols. ticker_or_cik: ticker like NVDA or a CIK. accession: optional filing accession; default is the latest of form. form: 10-K (default) or 10-Q.

Inputs: ticker_or_cik (required), form, accession.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct data type: trading symbols, segment revenue, BDC non-accrual status, and Form 4 insider filings. There is no overlap in purpose or output, so an agent can reliably select the correct tool.

    Naming Consistency5/5

    All four tools follow the consistent 'get_' prefix followed by a descriptive noun phrase (trading_symbols, segment_revenue, bdc_nonaccrual, form4). The naming pattern is predictable and uniform.

    Tool Count4/5

    Four tools is a modest but reasonable number for a focused EDGAR data extraction server. Each tool addresses a specific analytical need, and the scope does not feel inflated; however, a few more supporting tools could round it out slightly.

    Completeness2/5

    The tool set covers a few specialized extractors (symbols, segment revenue, BDC non-accrual, Form 4) but misses obvious core EDGAR operations like retrieving standard financial statements (balance sheet, income statement) or general filing search. The selection feels arbitrary and leaves significant gaps for a server claiming to cover 'edgar-filings'.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to download, parse, and analyze SEC EDGAR filings, including 10-K/Q reports, XBRL financial statements, and insider trading data. It provides structured access to institutional holdings, corporate events, and financial facts for comprehensive investment research.
      19
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to access SEC EDGAR data: search filings, extract sections, pull structured financials, and track insider transactions.
      20 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables searching SEC EDGAR filings by full-text search and listing company filings, with accurate company name resolution to CIKs in code, avoiding hallucinated identifiers.
      2
      7 npm
      MIT