Use Edgrapi in Claude Code (MCP)
One command gives Claude Code tools for SEC filings, financial statements, insider trades, 13F holdings, congressional trades and federal contracts.
Add the server
claude mcp add --transport http edgrapi https://api.edgrapi.com/mcp
Then type /mcp inside Claude Code, pick edgrapi and finish the browser sign-in.
To use a key instead of signing in:
claude mcp add --transport http edgrapi https://api.edgrapi.com/mcp --header "Authorization: Bearer edgr_your_key"
Add --scope project to share it with your team through .mcp.json, or --scope user
to use it in every project. Run /mcp to confirm it connects: a bad header shows up as a connection failure.
Try it
Pull Apple's last 5 years of revenue and net income from Edgrapi and chart them in a notebook.
For a worked example, see building a due diligence agent in Claude Code.