edgrapi-skills
Edgrapi — SEC EDGAR Financials
Documentation
edgrapi-skills
Agent skills for clean company financials from SEC EDGAR. Drop-in skills that let any agent pull normalized income/balance/cash-flow fundamentals, computed ratios, company profiles, and recent SEC filings for any US-listed ticker — over the Edgrapi REST API.
EDGAR is free, but its XBRL company-facts payloads are brutal to parse (tag drift, mixed periods, trailing-twelve-month windows hiding inside 10-Qs). Edgrapi normalizes all of that into clean JSON, keyed by fiscal period — 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 fundamentals from Claude, ChatGPT, Cursor, or your own agent loop in under two minutes.
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-filingsUse 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 . Also available metered on RapidAPI.
Source
- Docs: · OpenAPI:
- Quickstart: get a key at , 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.
Frequently asked questions
What is edgrapi-skills?
edgrapi-skills is Edgrapi — SEC EDGAR Financials
How do I install edgrapi-skills?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is edgrapi-skills open source?
Yes — it is hosted on GitHub at https://github.com/paperandbeyond23-gif/edgrapi-skills.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP