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.3.0.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.3.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edgar_mcp-0.3.0.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.3.0.tar.gz
Algorithm Hash digest
SHA256 578de0d18a966a48a8a653369be1c1d11772538fcac0c7e4ea0ddd9e6a91166d
MD5 aef3ca3646a8386b634d3046293a5d48
BLAKE2b-256 a1be2bcaf9748beeecf13b2abbc145dcca23367053b2b99e0b2454aef02ca1ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edgar_mcp-0.3.0-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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a49613db77e71012055096928e682861ad955561750a8bf1ce778e4bca9e22a
MD5 3cc13389495001721a563848656620c4
BLAKE2b-256 a52703d1c64bafc643d2a04bc8c481526b5f9361e4cf3a842c310c88d7d0f9da

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