Skip to main content
Glama
claude-edgar-mcp

claude-edgar-mcp

by mmouradbahri

claude-edgar-mcp

A Model Context Protocol server that gives Claude, GPT, or any MCP-compatible LLM direct access to SEC EDGAR — the US Securities and Exchange Commission filings database used by every equity analyst on Wall Street.

Tools

Tool

What it does

`ticker_to_cik`

Resolves a US stock ticker to its SEC Central Index Key (CIK)

More tools coming — see roadmap.

Related MCP server: SEC EDGAR MCP Server

Example

Ask Claude:

What is Meta's SEC CIK?

Claude calls `ticker_to_cik("META")` and returns:

```json { "ticker": "META", "cik": "0001326801", "company_name": "Meta Platforms, Inc." } ```

Install

```bash git clone https://github.com/mmouradbahri/claude-edgar-mcp.git cd claude-edgar-mcp uv sync ```

Wire into any MCP-compatible client

Claude Desktop: edit `~/Library/Application Support/Claude/claude_desktop_config.json`:

```json { "mcpServers": { "claude-edgar-mcp": { "command": "/Users/YOU/.local/bin/uv", "args": ["--directory", "/PATH/TO/claude-edgar-mcp", "run", "main.py"] } } } ```

OpenAI Codex CLI: edit `~/.codex/config.toml`:

```toml [mcp_servers.claude-edgar-mcp] command = "/Users/YOU/.local/bin/uv" args = ["--directory", "/PATH/TO/claude-edgar-mcp", "run", "main.py"] ```

Restart your client. Works with Claude Desktop, Claude Code, OpenAI Codex, Cursor, VS Code + Copilot, and Gemini CLI.

Roadmap

  • v0.2 — `get_recent_filings(ticker, filing_type, limit)` — return list of a company's recent 10-K/10-Q/8-K filings

  • v0.3 — `get_10k_url(ticker)` — direct URL to a company's latest 10-K

  • v0.4 — `get_10k_section(accession, section)` — extract Business, Risk Factors, MD&A from a specific filing

  • v0.5 — `get_financials(ticker, years)` — pull revenue, net income, FCF from XBRL

Built by Mourad Bahri — part of a broader AI × financial-services project.

Available Tools

1 tool
ticker_to_cikA

Resolve a US stock ticker to its SEC Central Index Key (CIK).

Use this whenever a user gives you a ticker (like 'AAPL' or 'META') and
you need to look up SEC filings for that company. Every other EDGAR tool
starts with a CIK.

Args:
    ticker: The stock ticker (case-insensitive), e.g. 'AAPL', 'META', 'WING'.

Returns:
    Dict with `ticker`, `cik` (10-digit zero-padded string), and `company_name`.

Inputs: ticker (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possible confusion with other tools. The tool's purpose is clearly defined.

    Naming Consistency3/5

    The name 'ticker_to_cik' uses underscores and describes input and output, but does not follow a verb_noun pattern. However, it is descriptive and consistent with a single-tool set.

    Tool Count2/5

    One tool is very minimal for a server named 'claude-edgar-mcp', which implies broader EDGAR functionality. The tool only resolves tickers to CIKs, missing essential operations like filing retrieval or search.

    Completeness1/5

    The server provides only a ticker-to-CIK conversion, which is a prerequisite for EDGAR access but not useful alone. There are no tools to actually retrieve or search SEC filings, leaving a critical gap.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables to search and retrieve SEC EDGAR filings, insider transactions, major shareholders, and executive compensation data through natural language.
      -
    • 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
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching SEC EDGAR for companies, retrieving recent filings (e.g., 10-K, 10-Q), and accessing structured XBRL financial facts.
      143 npm
      MIT