# sec-ai: SEC EDGAR

> sec-ai: SEC EDGAR is an open-source MCP server for legal and government. Local MCP server with read-only SEC EDGAR tools for filings, XBRL, insiders and 13F. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/lkcair/sec-ai-mcp
- **MCP Registry name:** io.github.lkcair/sec-ai
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [finance and payments](https://ai-powered.com/categories/finance-and-payments), [analytics and data](https://ai-powered.com/categories/analytics-and-data)
- **Listing updated:** 2026-11-23

## About

This Python server reaches the official sec.gov APIs and needs no API key, only an optional `SEC_USER_AGENT` with your name and email, which the SEC asks programs to send. Every tool is read-only, and it runs over stdio through `uvx sec-finance-ai@latest`.

The tools fall into filings, reading inside a filing, search, ownership and insiders, and XBRL financial data. A filing can be read in 50,000-character pages or searched, with a link returned when a document is over 25 MB. XBRL frames rank one concept across every reporting company for a period, and full-text search covers EDGAR filings since 2001.

The README shows setup for Claude Code, VS Code, Claude Desktop, Cursor, Windsurf, LangChain, Google ADK and Strands Agents. The same code is also published as an OpenClaw skill, an OpenWebUI tool and a Python package.

## Features

- **Filing retrieval:** Gets recent 10-K, 10-Q, 8-K and proxy filings by ticker.
- **Paged filing reader:** Reads filings in pages, searches inside them, or lists their documents.
- **Full-text search:** Searches words or exact phrases across EDGAR filings since 2001.
- **Insider and ownership data:** Covers Forms 3, 4, 5, 13D, 13G and 13F portfolios.
- **XBRL facts and frames:** Reads company facts and ranks one concept across all reporters.
- **No key needed:** Uses sec.gov APIs with only an optional User-Agent string.

## Good for

- Ask what a latest 10-K says about a region or risk
- See an institution's top holdings from its latest 13F
- Find every 8-K this year mentioning going concern
- Rank companies by revenue for a period
- Track insider transactions for a ticker

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add sec-ai -- uvx sec-finance-ai
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add sec-ai -- uvx sec-finance-ai
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.sec-ai]
command = "uvx"
args = ["sec-finance-ai"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user sec-ai uvx -- sec-finance-ai

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "sec-ai": {
      "command": "uvx",
      "args": [
        "sec-finance-ai"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 21 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `get_company_filings` (name suggests: reads): Gets SEC filings for a company by ticker.
- `get_latest_10k` (name suggests: reads): Latest 10-K with a short text preview.
- `get_latest_10q` (name suggests: reads): Latest 10-Q with a short text preview.
- `get_recent_8k_filings` (name suggests: reads): Recent 8-K filings with a short preview of each.
- `analyze_8k_filing` (name suggests: reads): Gets and summarizes a company's latest 8-K.
- `get_proxy_statements` (name suggests: reads): Gets DEF 14A proxy statements.
- `get_recent_ipos` (name suggests: reads): Gets recent IPO activity from EDGAR.
- `get_filing_size` (name suggests: reads): Gives a filing document's exact size before download.
- `download_filing_text` (name suggests: reads): Reads a filing in pages or searches inside it.
- `get_filing_documents` (name suggests: reads): Lists every document in a filing.
- `get_filing_content` (name suggests: reads): Key XBRL figures or the full filing text in pages.
- `full_text_search` (name suggests: reads): Searches the full text of EDGAR filings since 2001.
- `search_filings` (name suggests: reads): Searches filings by company name or other criteria.
- `get_insider_transactions` (name suggests: reads): Gets Forms 3, 4 and 5 insider transactions.
- `get_beneficial_ownership` (name suggests: reads): Gets 13D and 13G ownership reports.
- `get_13f_holdings` (name suggests: reads): Gets an institutional manager's latest 13F portfolio.
- `get_company_facts` (name suggests: reads): Gets company facts from SEC XBRL data.
- `get_company_concept` (name suggests: reads): Gets one financial concept for a company.
- `get_available_metrics` (name suggests: reads): Discovers available metrics for a company.
- `get_xbrl_frames` (name suggests: reads): Ranks one concept across all reporting companies for a period.
- `get_sec_api_status` (name suggests: reads): Checks SEC API status.

## FAQ

### Do I need an API key?

No. An optional SEC_USER_AGENT name and email is recommended; a default is used if unset.

### How do I run sec-ai: SEC EDGAR?

With uv: uvx sec-finance-ai@latest, or pip install sec-finance-ai.

### Can sec-ai: SEC EDGAR change anything?

No. Every tool is read-only.

### Which agent frameworks are shown?

LangChain, Google ADK and Strands Agents, plus Claude, Cursor and VS Code.

### Is sec-ai: SEC EDGAR free?

Yes. sec-ai: SEC EDGAR is open source, so you can use and self-host it for free.

### How do I add sec-ai: SEC EDGAR to Claude Code?

Run this command in your terminal: claude mcp add sec-ai -- uvx sec-finance-ai

### What are the best alternatives to sec-ai: SEC EDGAR?

The closest alternatives to sec-ai: SEC EDGAR are Agent-Native Analytics, Solana MCP by Vybe, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP and Tapetide - Indian Stock Market MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [dashboard-icons](https://ai-powered.com/mcp/dashboard-icons): dashboard-icons is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Pitot](https://ai-powered.com/mcp/pitot): Pitot is an open-source MCP server for cloud and infrastructure.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/sec-ai-sec-edgar
