Skip to main content
Glama
US GovCon & SEC EDGAR MCP Suite (SAM, Grants, USAspending)

US GovCon & SEC EDGAR MCP Suite (SAM, Grants, USAspending)

README.md
# πŸ‡ΊπŸ‡Έ US GovCon & Financial Intelligence MCP Suite

**An open-source Model Context Protocol (MCP) server, plus a ready-made integration kit, that give Claude Desktop, Cursor, Windsurf, n8n, and Make.com direct, live access to US federal contracting, federal award, and SEC financial data β€” with no scraping, no raw API keys to manage, and no custom integration code.**

> This repository ships a small, **100% open-source MCP server** (`src/index.ts`, MIT-licensed) exposing 3 tools over stdio. Each tool call proxies to one of three managed, pay-per-event Apify Actors that do the actual data-fetching β€” you run the lightweight wrapper locally (or via any MCP-compatible client) and only pay Apify for the data you actually pull. No scraper code, government API keys, or data-normalization logic to maintain yourself. Prefer a fully hosted, zero-install option? The same 3 tools are also reachable directly through [`mcp.apify.com`](https://mcp.apify.com) β€” see [Option B](#-option-b--fully-hosted-no-install-connect-via-mcpapifycom) below.

[![MCP](https://img.shields.io/badge/MCP-Model%20Context%20Protocol-6E56CF)](https://modelcontextprotocol.io) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Apify](https://img.shields.io/badge/Backend-Apify-00C0B5)](https://apify.com) [![Claude Desktop](https://img.shields.io/badge/Works%20with-Claude%20Desktop-D97757)](https://claude.ai/download) [![Cursor](https://img.shields.io/badge/Works%20with-Cursor-000000)](https://cursor.com) [![n8n](https://img.shields.io/badge/Works%20with-n8n-EA4B71)](https://n8n.io)

---

## What this suite does

If you sell to, compete for, or analyze US federal government contracts, you need three things an AI agent can't normally get without custom scrapers: **what's open to bid, who's already winning, and how winners are performing financially.** This suite covers all three, as three independent MCP tools an agent can call in any combination:

| # | Actor (MCP Server) | Answers | Source |
|---|---|---|---|
| 1 | [**US Gov RFP & Grant Radar**](https://apify.com/edmarsantos/us-gov-rfp-grant-radar) | *"What federal contracts and grants are open for bidding right now?"* | [SAM.gov](https://sam.gov) + [Grants.gov](https://grants.gov) |
| 2 | [**US Gov Award & Competitor Intel**](https://apify.com/edmarsantos/us-gov-award-competitor-intel) | *"Who already won contracts in this space, and for how much?"* | [USAspending.gov](https://www.usaspending.gov) (US Treasury) |
| 3 | [**SEC EDGAR Filings & Financial Intelligence**](https://apify.com/edmarsantos/sec-edgar-filings-mcp) | *"How is that winning contractor actually performing financially?"* | [SEC EDGAR](https://www.sec.gov/edgar) (`data.sec.gov`) |

Chained together, they cover the **entire GovCon capture lifecycle**: find the opportunity β†’ see who's winning similar ones β†’ audit the winner's own financial filings. Each Actor also works completely standalone.

---

## ⚑ Option A β€” run the open-source MCP server locally (recommended)

This is the code in this repository: a tiny (~150 line), dependency-light MCP server (`src/index.ts`) built on the official [`@modelcontextprotocol/sdk`](https://www.npmjs.com/package/@modelcontextprotocol/sdk). It exposes 3 MCP tools over stdio and proxies each call to the matching Apify Actor via `POST /v2/acts/{actor}/run-sync-get-dataset-items`.

```bash
git clone https://github.com/edmarsantos/us-govcon-financial-mcp-suite.git
cd us-govcon-financial-mcp-suite
npm install
npm run build
```

Then point your MCP client at `node dist/index.js` with your Apify token in the environment:

```json
{
  "mcpServers": {
    "us-govcon-financial-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/us-govcon-financial-mcp-suite/dist/index.js"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

Get a free Apify token from [Apify Console β†’ Settings β†’ Integrations](https://console.apify.com/account/integrations) β€” Claude Desktop goes in `claude_desktop_config.json`, Cursor in `.cursor/mcp.json`, same shape either way. Then ask your agent things like:

- *"Find open federal cybersecurity RFPs with a deadline in the next 14 days, set aside for small businesses."*
- *"Show me every contract Leidos has won in the last 12 months over $1M."*
- *"Pull Palantir's most recent 8-K and 10-Q filings and summarize what changed."*

The 3 exposed tools:

| Tool | Does |
|---|---|
| `search_us_gov_rfps_and_grants` | Searches SAM.gov + Grants.gov for open opportunities by keyword, NAICS code, set-aside type |
| `search_us_gov_contract_awards` | Searches USAspending.gov for contract/grant awards by keyword, NAICS code, or recipient name |
| `get_sec_edgar_company_filings` | Pulls 10-K/10-Q/8-K/Form 4/S-1/DEF 14A filings for a company by ticker |

**Also indexed on:** [Smithery.ai](https://smithery.ai) (via [`smithery.yaml`](./smithery.yaml)) and [Glama.ai](https://glama.ai) (via [`glama.json`](./glama.json)).

---

## 🌐 Option B β€” fully hosted, no install, connect via mcp.apify.com

Prefer zero local setup? All three Actors are also reachable through a single MCP endpoint via Apify's hosted MCP gateway β€” no Node runtime or build step on your machine:

```
https://mcp.apify.com/?actors=edmarsantos/us-gov-rfp-grant-radar,edmarsantos/us-gov-award-competitor-intel,edmarsantos/sec-edgar-filings-mcp
```

Copy the ready-made config for your client:

- **Claude Desktop:** [`mcp/claude_desktop_config.json`](./mcp/claude_desktop_config.json) β†’ paste into your `claude_desktop_config.json`.
- **Cursor:** [`mcp/cursor_mcp.json`](./mcp/cursor_mcp.json) β†’ paste into `~/.cursor/mcp.json` (or your project's `.cursor/mcp.json`).
- **Windsurf / Make.com / any MCP-compatible client:** point it at the same `mcp.apify.com` URL above with your Apify token as a Bearer token.

Replace `YOUR_APIFY_TOKEN` with your real token, then restart your client.

---

## 🧩 Use case 1 β€” Discover open federal RFPs & grants

**Actor:** [`edmarsantos/us-gov-rfp-grant-radar`](https://apify.com/edmarsantos/us-gov-rfp-grant-radar)

Scans **SAM.gov** (contract solicitations) and **Grants.gov** (grant opportunities) by keyword, NAICS code, and set-aside type (SBA, 8A, WOSB, SDVOSB, HUBZone…), and normalizes both into one clean, LLM-ready schema β€” no more hand-parsing two incompatible government JSON formats.

**Good for:** capture managers, grant writers, small-business GovCon teams, and any AI agent that needs to monitor new federal opportunities without polling two different APIs.

```
"Find open NAICS 541511 contracts posted in the last 7 days."
```

---

## 🧩 Use case 2 β€” Map contracts won by competitors in the US Treasury database

**Actor:** [`edmarsantos/us-gov-award-competitor-intel`](https://apify.com/edmarsantos/us-gov-award-competitor-intel)

Queries **USAspending.gov**, the official US Treasury award database, by keyword, NAICS code, or a specific recipient name β€” returning who got paid, how much, by which agency, for contracts *and* grants. No API key, no scraping: it's the government's own public award data, normalized.

**Good for:** business development teams answering "who's winning in this space?", tracking a named competitor's full award history, or watching which agencies are actively spending in your industry.

```
"Show me every contract Booz Allen Hamilton won in the last year over $1M."
```

---

## 🧩 Use case 3 β€” Audit a public contractor's 10-K / 10-Q / 8-K filings

**Actor:** [`edmarsantos/sec-edgar-filings-mcp`](https://apify.com/edmarsantos/sec-edgar-filings-mcp)

Give it a stock ticker, get back that company's recent **10-K** (annual), **10-Q** (quarterly), **8-K** (material event), Form 4 (insider trading), S-1, or DEF 14A filings β€” pulled directly from the SEC's own `data.sec.gov` and `company_tickers.json` endpoints, with direct links to the source documents.

**Good for:** financial analysts and GovCon capture teams who want to see how a win shows up in a public contractor's own numbers β€” with zero manual EDGAR navigation.

```
"What 8-Ks has Palantir (PLTR) filed in the last 30 days?"
```

---

## πŸ”— How the three Actors chain together

```
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ 1. RFP & Grant Radar  β”‚ ──▢ β”‚ 2. Award & Competitor     β”‚ ──▢ β”‚ 3. SEC EDGAR Filings &     β”‚
β”‚   (SAM.gov /          β”‚     β”‚    Intel                  β”‚     β”‚    Financial Intelligence  β”‚
β”‚    Grants.gov)        β”‚     β”‚   (USAspending.gov)       β”‚     β”‚    (data.sec.gov)          β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
   "What's open?"                "Who already won it?"           "How is the winner doing
                                                                   financially?"
```

An agent (or the included n8n workflow) can run all three in sequence to go from *open opportunity* β†’ *competitive landscape* β†’ *financial due diligence on the players already in it* β€” fully automated.

---

## πŸ€– For AI agents & automation platforms

| Platform | How to connect |
|---|---|
| **Claude Desktop** | [`mcp/claude_desktop_config.json`](./mcp/claude_desktop_config.json) β€” drop into your config, add your Apify token |
| **Cursor** | [`mcp/cursor_mcp.json`](./mcp/cursor_mcp.json) β€” drop into `.cursor/mcp.json` |
| **Windsurf** | Same `mcp.apify.com` endpoint, any MCP-compatible config format |
| **n8n** | [`n8n/govcon-full-intelligence-pipeline.json`](./n8n/govcon-full-intelligence-pipeline.json) β€” importable workflow that chains all 3 Actors into one weekly Slack/email digest |
| **Make.com** | Use an HTTP module against `https://api.apify.com/v2/acts/{actorId}/run-sync-get-dataset-items` with your Apify token |
| **Any LLM / RAG pipeline** | Call the Apify REST API directly β€” every Actor returns flat, normalized, LLM-ready JSON |

All three Actors are monetized with Apify's **Pay-Per-Event (PPE)** pricing model: you pay only for the queries and dataset items you actually generate, with no subscription and a built-in 2-hour cache to avoid paying twice for the same lookup.

---

## πŸ“¦ What's in this repository

```
us-govcon-financial-mcp-suite/
β”œβ”€β”€ README.md                              β€” this file
β”œβ”€β”€ package.json                           β€” MCP server package (name: us-govcon-financial-mcp)
β”œβ”€β”€ tsconfig.json                           β€” TypeScript build config
β”œβ”€β”€ smithery.yaml                          β€” Smithery.ai server manifest
β”œβ”€β”€ glama.json                              β€” Glama.ai server manifest
β”œβ”€β”€ src/
β”‚   └── index.ts                           β€” MCP server: 3 tools, stdio transport, proxies to Apify
β”œβ”€β”€ mcp/
β”‚   β”œβ”€β”€ claude_desktop_config.json         β€” copy-paste MCP config for Claude Desktop (hosted option)
β”‚   └── cursor_mcp.json                    β€” copy-paste MCP config for Cursor (hosted option)
└── n8n/
    └── govcon-full-intelligence-pipeline.json  β€” importable n8n workflow chaining all 3 Actors
```

The MCP server (`package.json`, `src/`, `smithery.yaml`, `glama.json`) is **100% open-source and MIT-licensed** β€” read it, fork it, self-host it. It contains no government data logic of its own; every tool call is a thin, auditable proxy to one of the three Apify Actors below, which do the actual SAM.gov/Grants.gov/USAspending.gov/SEC EDGAR fetching and normalization and are billed pay-per-event on Apify.

---

## πŸ” Keywords

MCP server, Model Context Protocol, Apify Actor, SAM.gov API, Grants.gov API, USAspending.gov API, SEC EDGAR API, GovCon intelligence, federal contract opportunities, federal grant opportunities, government contract awards, competitor intelligence, 10-K 10-Q 8-K filings, financial intelligence for AI agents, Claude Desktop MCP, Cursor MCP, Windsurf MCP, n8n government contracting workflow, AI agent tools for government contractors, NAICS code search, SBA set-aside search.

---

## License & ownership

The MCP server code in this repository (`package.json`, `src/`, `tsconfig.json`, `smithery.yaml`, `glama.json`) is **MIT-licensed** β€” see [`LICENSE`](./LICENSE). The README, configs, and workflow templates are provided as-is for integration purposes. The three Apify Actors this server proxies to are proprietary, independently maintained, and monetized Apify Actors owned by [edmarsantos](https://apify.com/edmarsantos). Using them requires an Apify account, an `APIFY_TOKEN`, and billing enabled for Pay-Per-Event Actors.