Home / Market / edgrapi

edgrapi

Query US government and SEC data through the Edgrapi MCP server or REST API: SAM.gov contracts, USAspending, Grants.gov, Congress trades, lobbying and EDGAR filings.

skill★ 508790 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: edgrapi description: "Query US government and SEC data through the Edgrapi MCP server or REST API: SAM.gov contracts, USAspending, Grants.gov, Congress trades, lobbying and EDGAR filings." category: finance risk: safe source: self source_type: self date_added: "2026-11-30" author: paperandbeyond23-gif tags: [mcp, government-data, sec-filings, govcon, grants, insider-trading, 13f, congress-trades, rest-api] tools: [claude, cursor, gemini]

---

Edgrapi: US Government and SEC Data

Overview

Edgrapi serves public US government data as normalized JSON on one key. It covers federal contract opportunities and awards (SAM.gov), federal spending (USAspending), grant opportunities (Grants.gov), US House STOCK Act trades, federal lobbying filings (LDA.gov) and SEC EDGAR (insider trades, 8-K events, 13F holdings, 13D/G stakes, XBRL fundamentals, full-text search). Every record links back to its official source.

The same data is available through a hosted MCP server with 23 read-only tools and a REST API. Existing finance skills such as @equibles and @dealport-us-company-filings focus on SEC company data; use this skill when the question also involves federal contracts, spending, grants, congressional trades or lobbying, or when one key should cover both.

When to Use

Prerequisites

How It Works

1. Connect

Use the configured Edgrapi connection when available. Ask before adding the hosted server or changing client settings. Clients that support remote OAuth can connect with just the URL. The server provides OAuth 2.1 with dynamic client registration.

{
  "mcpServers": {
    "edgrapi": {
      "url": "https://api.edgrapi.com/mcp",
      "headers": { "Authorization": "Bearer ${EDGRAPI_API_KEY}" }
    }
  }
}

Keep the key in an environment variable or the client’s secret store. Use variable expansion only where the client supports it and keep literal keys out of config examples, prompts, and logs.

2. Pick the tool

| Need | Tools | |---|---| | Federal contracts | get_opportunities (open SAM.gov solicitations), get_contract_awards (awarded contracts) | | Federal spending and grants | get_awards (USAspending), get_grants (Grants.gov) | | Congress and lobbying | get_congress (House STOCK Act trades), get_lobbying (LDA filings) | | Insiders and funds | get_insider (Form 4), get_holdings (13F), get_activist (13D/G), get_form144, get_form_d | | Company data | resolve_entity, get_company, get_filings, get_events (8-K), get_fundamentals, get_ratios, get_xbrl, get_shares, get_subsidiaries, get_sections | | Filing text | search_filings (EDGAR full-text search), get_filing_document |

Resolve a ticker, CIK or CUSIP with resolve_entity first when the user gives an ambiguous company name.

3. Keep calls small, then verify

Start with a small limit, since each call spends credits. Read the returned source links before stating a figure, and say which filing or record a number came from.

Examples

Illustrative requests and the calls an agent would make (not measured outputs):

User request: Find open DoD solicitations for drones and who tends to win similar work.
Calls: get_opportunities(naics="336411", ptype="o") then get_awards(keyword="drone", agency="Department of Defense")
Expected result: a short list of open solicitations with deadlines, plus the top award recipients with amounts and source links.
User request: Which insiders bought NVDA in the last quarter, and which funds added it?
Calls: get_insider(ticker="NVDA") then get_holdings for the funds the user names
Expected result: insider purchases with dates, roles and share counts, and the fund position changes, each linked to its SEC filing.

REST equivalent of the first call:

curl -s "https://api.edgrapi.com/v1/opportunities?naics=336411&limit=5" \
  -H "X-API-Key: $EDGRAPI_API_KEY"

Limitations

Safety and side effects

Sources and related skills

Contributed by the service maker at Paper and Beyond.