Skip to content
Back to skills

Edgrapi

ASecurity

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.

  • 50,717 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgobashgitapi

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add sickn33/agentic-awesome-skills --skill edgrapi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Edgrapi?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Edgrapi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sickn33-edgrapi/badge)](https://www.skillsdirectory.com/skills/sickn33-edgrapi)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- Use when the user wants open federal contract opportunities by NAICS code, set-aside, state or keyword.
- Use when the user asks who won federal awards, how much an agency spent, or which grants are open.
- Use when the user wants insider trades, 13F fund holdings, 13D/G activist stakes, 8-K events or financial statements for a US public company.
- Use when the user asks which members of the House traded a stock, or who lobbied on an issue.
- Use `@equibles` instead for earnings-call transcripts or daily prices, which Edgrapi does not provide.

## Prerequisites

- The user chose Edgrapi for this task, with network access to `api.edgrapi.com`.
- For tool calls and REST requests: an Edgrapi account. A free account gets one-time credits without a card. See [current plans and credit charges](https://edgrapi.com/pricing).
- MCP discovery (`initialize`, `tools/list`) works without credentials. Every `tools/call` and every REST request needs OAuth 2.1 sign-in or an API key (`edgr_...`).
- Each call spends 1 to 5 credits depending on the endpoint (for example 2 for SAM.gov, USAspending, Grants.gov, Congress and lobbying; 5 for insider trades, 13F holdings and 13D/G stakes). Failed calls are free according to the provider. A successful lookup can consume a credit even when it returns no results.

## 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.

```json
{
  "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):

```text
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.
```

```text
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:

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

## Limitations

- US federal data only. No state or local procurement, and no non-US filings.
- Congressional trades cover the House only, report dollar ranges rather than exact amounts, and can lag up to 45 days by law.
- Data is only as fresh as each agency publishes it; SEC data follows EDGAR filing times.
- No earnings-call transcripts, intraday prices or investment advice. Do not present results as recommendations.
- An empty result means no matching records were returned for those filters, not that none exist; widen the filters before concluding.

## Safety and side effects

- The 23 data tools query public records. Successful calls can debit the user's Edgrapi credit balance.
- Requests and the API key go to `api.edgrapi.com`. Use a key scoped to this use and revoke it if exposed.
- Check the current credit cost for the requested operations. Confirm before expanding the query scope or running large or repeated pulls.

## Sources and related skills

- [Edgrapi](https://edgrapi.com) and [agent setup docs](https://edgrapi.com/agents)
- [REST docs](https://edgrapi.com/docs) and [OpenAPI spec](https://edgrapi.com/openapi.json)
- [Public client repository](https://github.com/paperandbeyond23-gif/edgrapi-skills) (MCP config, agent skills, `server.json`)
- Related: `@equibles`, `@dealport-us-company-filings`

Contributed by the service maker at Paper and Beyond.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.