Give your agent US government data

Edgrapi is MCP-native. Point any MCP client at one hosted server and your agent pulls SEC filings, federal contracts, spending, grants and congressional trades — 19 tools, one key, one JSON schema. Works with Claude, Cursor, Cline, or anything that speaks MCP.

Connect your agent — freeREST docs

5official data sources
19agent tools (MCP)
26REST endpoints
1key for all of it

One prompt, many tools, real data

Your agent reads the tool list off the server and chains what it needs — SAM.gov, USAspending and the rest — in a single turn. No wrappers, no glue code, no hallucinated numbers.

Connect your agent — free →

agent session · connected to edgrapi mcp↻ Replay
YOU
Find open DoD solicitations for drones, and who tends to win similar work.
AGENT
Searching SAM.gov and USAspending…
TOOL
get_opportunities({ naics: "336411", ptype: "o" })
MCP
5 open solicitations · incl. FA8100-26-R-0000
TOOL
get_awards({ keyword: "drone", agency: "Department of Defense" })
MCP
42 awards · recipients + amounts
AGENT
5 open DoD aircraft/drone solicitations right now, and 42 related awards over the last year to rank by recipient and value. Want the solicitation details or the top awardees?

Simulated agent session using real MCP tool names.

Connect the hosted MCP server

A remote MCP server speaking JSON-RPC 2.0 over Streamable HTTP. Discovery (initialize, tools/list) is open, so a client sees every tool before you authenticate. Your Bearer key is required on tools/call and meters against your plan exactly like the REST API.

{
  "mcpServers": {
    "edgrapi": {
      "type": "streamable-http",
      "url": "https://api.edgrapi.com/mcp",
      "headers": { "Authorization": "Bearer edgr_your_key" }
    }
  }
}
// ~/.cursor/mcp.json
{
  "mcpServers": {
    "edgrapi": {
      "url": "https://api.edgrapi.com/mcp",
      "headers": { "Authorization": "Bearer edgr_your_key" }
    }
  }
}
Endpoint:  https://api.edgrapi.com/mcp
Transport: streamable-http
Auth:      Authorization: Bearer edgr_...
Discovery: initialize + tools/list are open (no key)

Or install the agent skill

Prefer a local skill over a remote server? Install the SEC toolset from the public repo. It's pure standard library, no dependencies to build.

npx skills add paperandbeyond23-gif/edgrapi-skills --skill edgrapi-full
export EDGRAPI_KEY=edgr_...
Honest scope note. The hosted MCP server exposes all 19 tools, including the government ones. The installable Python skills currently package the SEC tools (edgrapi-full, edgrapi-fundamentals, edgrapi-filings). For SAM.gov, USAspending, Grants.gov and Congress from an agent today, use the MCP server or call the REST endpoints directly.

Every tool your agent gets

SEC company data

Financial statements, ratios, filings, profiles and XBRL from EDGAR.

get_company · get_fundamentals · get_ratios · get_filings · get_sections · get_xbrl · get_shares · get_subsidiaries · resolve_entity

SEC market signals

Insider trades, 8-K events, 13F portfolios, activist stakes, private raises.

get_insider · get_events · get_holdings · get_activist · get_form_d · search_filings

Federal government data

Contract opportunities, spending awards, grants and congressional trades.

get_opportunities · get_awards · get_grants · get_congress

ToolReturnsGroup
get_companyGet a company profileSEC company data
get_fundamentalsGet company financial statementsSEC company data
get_ratiosGet computed financial ratiosSEC company data
get_filingsGet recent SEC filingsSEC company data
get_sectionsGet 10-K/10-Q narrative sectionsSEC company data
get_xbrlConvert SEC XBRL to JSONSEC company data
get_sharesGet shares outstanding & public floatSEC company data
get_subsidiariesGet company subsidiaries (10-K Exhibit 21)SEC company data
resolve_entityResolve a ticker, CIK, or CUSIPSEC company data
get_insiderGet parsed insider transactionsSEC market signals
get_eventsGet 8-K material eventsSEC market signals
get_holdingsGet 13F institutional holdingsSEC market signals
get_activistGet 13D/13G >5% activist stakesSEC market signals
get_form_dGet Form D private placementsSEC market signals
search_filingsFull-text search across SEC filingsSEC market signals
get_opportunitiesGet federal contract opportunities (SAM.gov)Federal government data
get_awardsGet federal awards (USAspending)Federal government data
get_grantsGet federal grant opportunities (Grants.gov)Federal government data
get_congressGet congressional stock trades (House STOCK Act)Federal government data

What it looks like in practice

Ask in plain language; the agent picks the tool and gets real data back, not a guess.

A real call and response

GET https://api.edgrapi.com/v1/opportunities?naics=336411&limit=1
200 OK
{
  "count": 1,
  "opportunities": [
    {
      "notice_id": "a1b2c3...",
      "title": "Aircraft component overhaul services",
      "solicitation_number": "FA8100-26-R-0000",
      "agency": "DEPT OF DEFENSE",
      "type": "Solicitation",
      "naics": "336411",
      "posted_date": "2026-09-10",
      "set_aside": "SBA",
      "link": "https://sam.gov/opp/a1b2c3.../view"
    }
  ]
}

The same call is the get_opportunities tool over MCP. Same data, same shape, whether a script or an agent asks.

How billing works for agents

One edgr_ key covers the skill, the MCP server, and direct REST calls. Discovery is free, so listing tools costs nothing.

Each tools/call debits the same credits as its REST twin. And a call that returns no rows — an empty search — is free, so an agent exploring dead-end queries doesn't burn your balance.

One key everywhere. Get one free at the dashboard: 100 credits a month, no card.

Common questions

Which clients work?
Any MCP client. Claude Desktop, Claude Code, Cursor, Cline, and Windsurf are the common ones; anything speaking JSON-RPC 2.0 over Streamable HTTP connects with the config above.
Do I need separate keys for SEC and government data?
No. One edgr_ key reaches all 19 tools across all five sources. Nothing extra to provision for the SAM.gov, USAspending, Grants.gov or Congress tools.
Do I need my own SAM.gov API key?
No. Edgrapi holds the SAM.gov key and system-account burden. Your agent calls get_opportunities with its Edgrapi key and gets normalized JSON — no 10-request-a-day personal-key wall, no 90-day rotation on your side.
Is the government data live?
It's as current as the source. SAM.gov, USAspending and Grants.gov are official public APIs; congressional trades come from House STOCK Act reports and lag the trade by up to 45 days by law.

Get your API keySee pricing