Edgrapi — SEC EDGAR Financials
Data keuangan perusahaan SEC EDGAR yang bersih, rasio, pengajuan, dan bagian 10-K/10-Q sebagai JSON yang dinormalisasi — server MCP yang dihosting dengan 5 alat dan tingkat gratis.
Dokumentasi
edgrapi-skills
The US Government Data API for agents. A hosted MCP server that serves official US government data as clean JSON on one key: SEC EDGAR filings (insider trades, 8-Ks, 13F holdings, 13D/G stakes, fundamentals, ratios), SAM.gov contract opportunities, USAspending awards, Grants.gov grants, and congressional stock trades — over the Edgrapi API. Plus drop-in Python skills for the SEC financials workflow.
Official data is free, but each source ships its own headache — XBRL tag drift, agency-specific query languages, pipe-delimited statuses, dollar ranges. Edgrapi normalizes all of it into one clean JSON schema, so your agent gets numbers it can trust in one call.
Free to start — grab a key (100 free credits every month, no card required) and you're pulling data from Claude, ChatGPT, Cursor, or your own agent loop in under two minutes.
The hosted MCP server exposes the full toolset, including the government-data endpoints (
get_opportunities,get_awards,get_grants,get_congress). The packaged Pythonskills/below cover the SEC company-financials workflow; use the MCP server for everything else.
Pure Python standard library. No dependencies. MIT-0 licensed.
Install
# Claude Code, Cursor, Cline, etc. — `skills` CLI, installs straight from this repo
npx skills add paperandbeyond23-gif/edgrapi-skills --all
# or pick one: npx skills add paperandbeyond23-gif/edgrapi-skills --skill edgrapi-full
# OpenClaw / ClawHub — published to the ClawHub registry
npx clawhub@latest install edgrapi-full # also: edgrapi-fundamentals, edgrapi-filings
Use it as an MCP server
The skills above are one way in. The other is the hosted MCP server — point any MCP client at a single URL, with nothing to install and no local process:
{
"mcpServers": {
"edgrapi": {
"url": "https://api.edgrapi.com/mcp",
"headers": { "Authorization": "Bearer edgr_YOUR_KEY" }
}
}
}
Works in Claude Desktop, Claude Code, Cursor and Cline. Transport is streamable-http. Auth is
Authorization: Bearer edgr_..., or OAuth 2.1 — the server is its own provider. Discovery
(initialize, tools/list) is open, so you can inspect the tool list without a key; tools/call
needs one.
The MCP surface is wider than the skills in this repo: alongside fundamentals and filings it covers
Form 4 insider trades with cluster-buy detection, typed 8-K material events, 13F fund holdings
diffed quarter-over-quarter, 13D/13G >5% activist stakes, XBRL-to-JSON, shares outstanding, entity
resolution, and full-text search across every filing since 2001. For the live list, call
tools/list or read the server card —
both are generated from the server itself, so neither goes stale.
Skills in this repo
| Skill | Purpose |
|---|---|
edgrapi-full | Complete toolkit — fundamentals, ratios, company profile, and filings |
edgrapi-fundamentals | Normalized financial statements + computed ratios |
edgrapi-filings | Company profiles + recent SEC filings (10-K/10-Q/8-K) |
Install the bundled edgrapi-full for agents that need broad coverage. Install the focused variants when you want minimum tool surface.
Tools
| Tool | Returns |
|---|---|
get_fundamentals(ticker, period, limit) | Income statement, balance sheet, cash flow — periodized, USD |
get_ratios(ticker) | Margins, returns (ROE/ROA), leverage, liquidity |
get_company(ticker) | CIK, legal name, SIC industry, fiscal-year end, exchanges, website |
get_filings(ticker, limit, form) | Recent filings with filing/report dates and document links |
Authentication
Set the EDGRAPI_KEY environment variable to your Edgrapi key (format edgr_...). It's sent as the X-API-Key header — the base URL is hardcoded, so the key never reaches any other host.
export EDGRAPI_KEY="edgr_..."
Get a free key — 100 free credits every month, no card required. The same key works for these skills and direct REST calls.
Pricing
Credits are weighted by endpoint, not one per request: company, filings, events, entity resolution and full-text search cost 1; fundamentals, ratios and XBRL cost 3; sections, insider, holdings and activist cost 5. Credits never expire. All data is from public SEC EDGAR.
| Plan | Price | Credits |
|---|---|---|
| Free | $0 | 100 / month |
| Starter | $10/mo | 10,000 / month |
| Pro (monthly) | $29/mo | 30,000 / month |
| Pro (annual) | $290/yr | 360,000 up front |
Top-up packs (one-time, never expire): 5,000 / $7 · 15,000 / $18 · 50,000 / $55.
Manage plans at https://edgrapi.com/pricing. Also available metered on RapidAPI.
Source
- Docs: https://edgrapi.com/docs · OpenAPI: https://edgrapi.com/openapi.json
- Quickstart: get a key at https://edgrapi.com/app, then call any tool
Issues and contributions
See CONTRIBUTING.md. Security reports: SECURITY.md.
License
MIT No Attribution. Fork, ship, sublicense — no attribution required.
Independence
Edgrapi is an independent service and is not affiliated with, endorsed by, or sponsored by the U.S. Securities and Exchange Commission. All data originates from the SEC's public EDGAR system. "EDGAR" is a system operated by the U.S. SEC.