Skip to main content
Glama
SEC XBRL GAAP financials MCP

SEC XBRL GAAP financials MCP

README.md
# SEC XBRL GAAP financials MCP

Live SEC EDGAR XBRL company facts, US-GAAP concept series, cross-company quarterly frames, revenue history, and balance sheet ratios from `data.sec.gov` over Model Context Protocol (MCP). Financial analysts, equity researchers, and audit teams can query structured filings with zero API keys and zero sign-up. It works right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://sec-xbrl-gaap-financials-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `get_company_facts` | Browse available XBRL taxonomies and latest US-GAAP concept values for any SEC filer by CIK |
| `get_company_concept` | Fetch the historical filing series for a specific XBRL concept tag |
| `get_xbrl_frame` | Query a cross-company SEC XBRL frame ranking top filers for a metric and period |
| `get_revenue_history` | Extract annual or quarterly revenue history with year-over-year percentage growth |
| `compare_balance_sheet_metrics` | Compare latest and prior-period assets, liabilities, equity, cash, debt, and key ratios |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "sec-xbrl-gaap-financials": {
      "url": "https://sec-xbrl-gaap-financials-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream call to `data.sec.gov` follows the SEC EDGAR fair-access policy with a clear `User-Agent` header (`mcpstamp-xbrl/1.0 (hello@mcpstamp.com)`). Cloudflare edge caching applies strictly to HTTP 2xx answers, so transient upstream errors don't get stuck in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` cleanly to `2025-11-25`.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.sec-xbrl-gaap-financials-mcp) with hosted commercial servers and priority endpoints.