# DirectAPI Labs: US Federal Contracts & Grants

> DirectAPI Labs: US Federal Contracts & Grants is a paid MCP server for legal and government. MCP server and REST API for searching new US federal contract awards and open Grants.gov. 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/whthpnd/us-federal-contracts-grants-api
- **Repository:** https://github.com/whthpnd/directapi-mcp-servers
- **MCP Registry name:** io.github.whthpnd/us-federal-contracts-grants
- **Categories:** [legal and government](https://ai-powered.com/categories/legal-and-government), [government bids](https://ai-powered.com/categories/government-bids)
- **Listing updated:** 2026-11-28

## About

This server gives AI assistants and automation pipelines access to recent federal contract awards from USASpending.gov and open funding opportunities from Grants.gov. Results include recipient names, UEIs, obligated amounts, awarding agencies and award dates, which makes it straightforward to pull contractor lead lists or track who is winning government work.

It runs as a Streamable HTTP MCP server with three tools: one for searching contracts, one for searching grants, and one that summarizes a contractor's awards. The same functions are also available as a standby REST API hosted on Apify, and access uses an Apify API token in the Authorization header.

The server suits sales and business development teams prospecting government contractors, researchers tracking R&D funding calls with their deadlines and CFDA codes, and developers who want federal procurement data inside an MCP-compatible client.

## Features

- **Federal contract award search:** Finds newly awarded contracts from USASpending.gov with recipient, UEI, amount, agency and dates.
- **Open grant search:** Lists posted and forecasted Grants.gov opportunities with open and close deadlines and CFDA codes.
- **Contractor awards summary:** Summarizes a contractor's recent federal awards in a single tool call.
- **Remote MCP endpoint:** Connects to MCP clients such as Cursor or Claude Desktop over Streamable HTTP without a local install.
- **REST API alternative:** Offers the same data through a standby REST API for scripts and workflow tools.

## Good for

- Build lists of companies recently winning federal contracts for outbound sales
- Monitor open federal R&D and business grants with upcoming deadlines
- Check how much a specific contractor has been awarded by federal agencies
- Feed government funding data into an n8n or other automation workflow

## Install

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

```sh
claude mcp add --transport http us-federal-contracts-grants https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "type": "http",
      "url": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

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

```text
https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "type": "http",
      "url": "https://whthpnd--us-federal-contracts-grants-api.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://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants --url https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp
```

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

```toml
[mcp_servers.us-federal-contracts-grants]
url = "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
```

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

```json
{
  "mcpServers": {
    "us-federal-contracts-grants": {
      "httpUrl": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http us-federal-contracts-grants https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp

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

```json
{
  "mcpServers": {
    "us-federal-contracts-grants": {
      "serverUrl": "https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "type": "streamableHttp",
      "url": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "us-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.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-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "us-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "us-federal-contracts-grants": {
      "url": "https://whthpnd--us-federal-contracts-grants-api.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://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp
```

Enter a Name (for example "DirectAPI Labs: US Federal Contracts & Grants"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for sign-in. Add the credentials it needs under HTTP headers or in the OAuth fields, as its docs describe.

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

```json
{
  "mcpServers": {
    "us-federal-contracts-grants": {
      "type": "http",
      "url": "https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp"
    }
  }
}
```

## Tools

Going by the tool names, all 3 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `search_us_federal_contracts` (name suggests: reads): Search newly awarded US federal contracts.
- `search_us_federal_grants` (name suggests: reads): Search open federal grants on Grants.gov.
- `get_us_contractor_awards_summary` (name suggests: reads): Summarize federal awards for a contractor.

## FAQ

### Does DirectAPI Labs: US Federal Contracts & Grants need an API key from the government data sources?

No. The server uses public USASpending.gov and Grants.gov data, and the only credential needed is an Apify API token for access to the hosted endpoint.

### Which MCP tools are available?

search_us_federal_contracts, search_us_federal_grants and get_us_contractor_awards_summary.

### How is DirectAPI Labs: US Federal Contracts & Grants priced?

The Apify Store page lists pay-per-event pricing starting from $2.55 per 1,000 contract or grant records, billed through an Apify account.

### How do I add DirectAPI Labs: US Federal Contracts & Grants to Claude Code?

Run this command in your terminal: claude mcp add --transport http us-federal-contracts-grants https://whthpnd--us-federal-contracts-grants-api.apify.actor/mcp

### What are the best alternatives to DirectAPI Labs: US Federal Contracts & Grants?

The closest alternatives to DirectAPI Labs: US Federal Contracts & Grants are Government Contracts MCP, Government Contracts Procurement MCP Server, Federal Contracts & Grants, AwardCast Federal Contracts and USAspending Awards MCP: Federal Contract & Grant Awards.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Government Contracts MCP](https://ai-powered.com/mcp/government-contracts-mcp): Government Contracts MCP is a freemium MCP server for legal and government.
- [Government Contracts Procurement MCP Server](https://ai-powered.com/mcp/government-contracts-procurement-mcp-server): Government Contracts Procurement MCP Server is a paid MCP server for legal and government.
- [Federal Contracts & Grants](https://ai-powered.com/mcp/federal-contracts-and-grants): Federal Contracts & Grants is an MCP server for legal and government.
- [AwardCast Federal Contracts](https://ai-powered.com/mcp/awardcast-federal-contracts): AwardCast Federal Contracts is a paid MCP server for legal and government.
- [USAspending Awards MCP: Federal Contract & Grant Awards](https://ai-powered.com/mcp/usaspending-awards-mcp-federal-contract-and-grant-awards): USAspending Awards MCP: Federal Contract & Grant Awards is a freemium MCP server for legal and government.
- [USASpending Federal Contracts & Grants Intelligence](https://ai-powered.com/mcp/usaspending-federal-contracts-and-grants-intelligence): USASpending Federal Contracts & Grants Intelligence is a paid MCP server for legal and government.
- [Fed Contracts](https://ai-powered.com/mcp/fed-contracts): Fed Contracts is a free MCP server for legal and government.
- [USAspending Federal Contract Awards](https://ai-powered.com/mcp/usaspending-federal-contract-awards): USAspending Federal Contract Awards is an MCP server for legal and government.

---
Source: https://ai-powered.com/mcp/directapi-labs-us-federal-contracts-and-grants
