# SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP

> SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP is a paid MCP server for legal and government. MCP server and REST API for searching US federal contracts, awards and grants. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, CLI, Web
- **Website:** https://apify.com/data-goose/us-sam-gov-contracts-grants-mcp
- **Repository:** https://github.com/datagoosedev/datagoose-mcp-docs
- **MCP Registry name:** io.github.datagoosedev/us-sam-gov-contracts-grants-mcp
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-12-04

## About

Gives AI assistants and developers structured access to three US federal procurement sources: SAM.gov contract solicitations, USAspending.gov prime contract awards, and Grants.gov funding opportunities. Queries can be filtered by keyword, agency, NAICS code, lookback window and minimum award value.

The service runs as a Streamable-HTTP MCP endpoint and as a multi-tenant REST API hosted on Apify in standby mode, so it can be called from Claude, Cursor, custom agents or plain HTTP clients. Results come back as normalized JSON records with fields such as solicitation number, deadlines, set-aside type, point of contact and source link. Batch runs can also be started through the Apify platform and exported as a dataset.

It is aimed at government contractors, business development teams and analysts who want to track new solicitations or find grant calls without registering for a SAM.gov API key.

## Features

- **Three federal sources:** Searches SAM.gov opportunities, USAspending.gov awards and Grants.gov funding notices from one interface.
- **No SAM.gov key needed:** Runs without a personal SAM.gov account or API credentials.
- **MCP and REST access:** Exposes MCP tools over Streamable HTTP and REST endpoints for opportunities, awards and grants.
- **NAICS and agency filters:** Narrows results by industry code, agency name, keyword and lookback window.
- **Structured JSON output:** Returns normalized records with deadlines, set-asides, NAICS codes and source URLs.
- **Batch dataset export:** Runs as an Apify actor to collect up to 200 records per run into a downloadable dataset.

## Good for

- Tracking new Sources Sought and set-aside solicitations for a government contracting pipeline
- Finding prime contractors with large recent awards who may need subcontract partners
- Monitoring open Grants.gov calls for research and non-dilutive funding by agency
- Letting an AI assistant answer questions about current federal opportunities in a chosen NAICS code

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http us-sam-gov-contracts-grants-mcp https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "type": "http",
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "type": "http",
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add us-sam-gov-contracts-grants-mcp --url https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.us-sam-gov-contracts-grants-mcp]
url = "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "httpUrl": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http us-sam-gov-contracts-grants-mcp https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "serverUrl": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "type": "streamableHttp",
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp
```

Enter a Name (for example "SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "us-sam-gov-contracts-grants-mcp": {
      "type": "http",
      "url": "https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 4 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `search_sam_gov_opportunities` (name suggests: reads): Search SAM.gov contract opportunities.
- `get_sam_gov_opportunity` (name suggests: reads): Fetch a single SAM.gov opportunity by ID.
- `search_usaspending_awards` (name suggests: reads): Search USAspending.gov prime contract awards.
- `search_federal_grants` (name suggests: reads): Search Grants.gov federal funding opportunities.

## FAQ

### Do I need a SAM.gov API key?

No. The service runs without any SAM.gov or Grants.gov credentials.

### Which MCP tools are available?

search_sam_gov_opportunities, get_sam_gov_opportunity, search_usaspending_awards and search_federal_grants.

### Can SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP be used from n8n or Make?

Yes, through the standard Apify actor integration or direct HTTP calls to the standby REST endpoints.

### How is SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP priced?

Pay per event at about $5 per 1,000 returned records, plus a small fee per empty lookup and a one-time startup event for batch runs.

### How do I add SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http us-sam-gov-contracts-grants-mcp https://data-goose--us-sam-gov-contracts-grants-mcp.apify.actor/mcp

### What are the best alternatives to SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP?

The closest alternatives to SAM.gov Contracts, USAspending Awards & Grants.gov API + MCP are SAM.gov US Federal Contracts & Grants + MCP, Government Contracts MCP, DirectAPI Labs: US Federal Contracts & Grants, SAM.gov & USAspending Federal Contracts MCP and Us Govcon Financial MCP Suite.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SAM.gov US Federal Contracts & Grants + MCP](https://ai-powered.com/mcp/sam-gov-us-federal-contracts-and-grants-mcp): SAM.gov US Federal Contracts & Grants + MCP is a paid MCP server for legal and government.
- [Government Contracts MCP](https://ai-powered.com/mcp/government-contracts-mcp): Government Contracts MCP is a freemium MCP server for legal and government.
- [DirectAPI Labs: US Federal Contracts & Grants](https://ai-powered.com/mcp/directapi-labs-us-federal-contracts-and-grants): DirectAPI Labs: US Federal Contracts & Grants is a paid MCP server for legal and government.
- [SAM.gov & USAspending Federal Contracts MCP](https://ai-powered.com/mcp/sam-gov-and-usaspending-federal-contracts-mcp): SAM.gov & USAspending Federal Contracts MCP is a paid MCP server for legal and government.
- [Us Govcon Financial MCP Suite](https://ai-powered.com/mcp/us-govcon-financial-mcp-suite): Us Govcon Financial MCP Suite is a freemium MCP server for finance and payments.
- [SAM.gov Contract Opportunities](https://ai-powered.com/mcp/sam-gov-contract-opportunities-2): SAM.gov Contract Opportunities is an MCP server for legal and government.
- [MCP Sam Gov](https://ai-powered.com/mcp/mcp-sam-gov): MCP Sam Gov is an open-source MCP server for public data.
- [SAM.gov Federal Contracting Opportunity Monitor MCP Server](https://ai-powered.com/mcp/sam-gov-federal-contracting-opportunity-monitor-mcp-server): SAM.gov Federal Contracting Opportunity Monitor MCP Server is a paid MCP server for government bids.

---
Source: https://ai-powered.com/mcp/sam-gov-contracts-usaspending-awards-and-grants-gov-api-mcp
