Skip to main content

MCP server for SEC EDGAR financial data - 6 tools for filings, financials, and metrics

Project description

edgar-mcp

SEC EDGAR financial data for your AI agent.

What your AI can do

  • get_filings: fetch filing metadata (10-Q/10-K/8-K earnings release references)
  • get_financials: fetch full period facts (inline JSON or local file output)
  • get_metric: fetch a specific metric/tag for a period
  • list_metrics: list candidate metrics/tags in a filing period
  • search_metrics: fuzzy-search metrics by natural-language query
  • get_filing_sections: extract filing narrative sections/tables (10-K/10-Q default, or 8-K earnings release with source="8k")

Install

pip install edgar-mcp

Configuration

  • EDGAR_API_KEY (required): API key for EDGAR Financial API
  • EDGAR_API_URL (optional): defaults to https://www.financialmodelupdater.com
  • EDGAR_MCP_OUTPUT_DIR (optional): path for output="file" responses
    • default: ./exports/file_output from current working directory
    • fallback: ~/.cache/edgar-mcp/file_output

Run

edgar-mcp

Claude Code config snippet:

{
  "mcpServers": {
    "edgar-financials": {
      "type": "stdio",
      "command": "edgar-mcp",
      "env": {
        "EDGAR_API_KEY": "YOUR_KEY_HERE"
      }
    }
  }
}

Requirements

  • Python 3.11+
  • EDGAR API key

See also

  • edgar-parser — The underlying Python library for parsing SEC EDGAR filings. Use this directly if you want to integrate EDGAR data into your own Python application without MCP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edgar_mcp-0.2.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgar_mcp-0.2.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file edgar_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: edgar_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for edgar_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8a6af4d4f3f9cd4b63d45eda46ff205761b855b599b5936a5cb7eb57867bb29f
MD5 5f4d9063b78e6c91f9b62a8a9cbdaee5
BLAKE2b-256 856c175acdca27210b9045da29389ff0219be3505b6e1ff5ccf0aa82b5b6b867

See more details on using hashes here.

File details

Details for the file edgar_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: edgar_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for edgar_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecaa853ed65721bc0cd50690bf776885a7f51053e67c80b341e1834e18bf6d3c
MD5 8d801ee54dcd45eb89152720559512db
BLAKE2b-256 9931babcf7ca6715d93a2b94a8249cb9a5f344c61e44d0e29699718bcea4c8e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page