edgrapi
US government data for AI agents, as clean JSON on one key.
What it can do
- Get Fundamentals: Normalized income statement, balance sheet, and cash flow for a US-listed ticker, parsed from SEC EDGAR XBRL. Counts as one request on the Edgrapi plan.
- Get Ratios: Margins, returns (ROE/ROA), leverage and liquidity ratios for a ticker, derived from SEC EDGAR fundamentals. Price-based ratios (P/E, P/B) excluded.
- Get Company: CIK, legal name, SIC industry, fiscal-year end, exchanges and website for a ticker, resolved from SEC EDGAR submissions.
What data it sees
Do you need an account
No: the server works without sign-in
US government data for AI agents, as clean JSON on one key. Federal contract opportunities from SAM.gov, awards and spending from USAspending, grant opportunities from Grants.gov, and congressional stock trades from House STOCK Act disclosures. SEC EDGAR is included too: Form 4 insider trades, 8-K material events, 13F fund holdings, 13D/13G stakes, normalized fundamentals and ratios, XBRL-to-JSON, filings, 10-K/10-Q sections and full-text search.
The data is free at the source. Getting it out is the work: SAM.gov keys take a while and then cap your day, USAspending wants a request body you have to learn, Grants.gov has its own conventions, and every source returns a different shape. Edgrapi normalizes them and links each record back to the official source.
Data is as fresh as each source publishes it. Congressional trades run up to 45 days behind by law, report dollar ranges rather than exact amounts, and cover the House only for now.
Free tier: 100 credits a month, no card. Calls cost 1-5 credits by weight. Get a key at https://edgrapi.com/app
How to connect
How to connect edgrapi to Claude
The server address to paste into Claude settings:
https://edgrapi--paperandbeyond23.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect edgrapi to ChatGPT
The server address to paste into ChatGPT settings:
https://edgrapi--paperandbeyond23.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect edgrapi to Cursor
The server address to paste into Cursor settings:
https://edgrapi--paperandbeyond23.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (5)
Raw names from tools/list. Only developers need these.
| get_fundamentals | Normalized income statement, balance sheet, and cash flow for a US-listed ticker, parsed from SEC EDGAR XBRL. Counts as one request on the Edgrapi plan. |
| get_ratios | Margins, returns (ROE/ROA), leverage and liquidity ratios for a ticker, derived from SEC EDGAR fundamentals. Price-based ratios (P/E, P/B) excluded. |
| get_company | CIK, legal name, SIC industry, fiscal-year end, exchanges and website for a ticker, resolved from SEC EDGAR submissions. |
| get_filings | Recent SEC filings for a ticker (10-K/10-Q/8-K) with filing/report dates and document links. |
| get_sections | Narrative sections from the latest 10-K/10-Q as clean text — Risk Factors (item 1A), MD&A (item 7), Business (item 1), etc. Built for LLM/RAG equity research. Omit 'item' to list the available sections first. |