[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Grants.gov funding opportunity search](https://spiral.ai/integrations/grok/grants-gov-funding-opportunity-search)

# How to Use Grants.gov funding opportunity search in Grok

Returns a page of funding notices with titles, agencies, statuses, dates, and assistance listing numbers. Use it to build a shortlist for a project or organization.

|  |  |
| --- | --- |
| Model | Grants.gov funding opportunity search |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Grants.gov funding opportunity search in Grok

- Use Grants.gov funding opportunity search to find 10 NSF notices about artificial intelligence that are accepting applications, ordered by the nearest closing date.
- Use Grants.gov funding opportunity search to find planned NIH cancer research notices and list their titles, agencies, and opportunity numbers.
- Use Grants.gov funding opportunity search to look this up and give me the result as a table.
- Pull the latest numbers from Grants.gov funding opportunity search and tell me what changed since last week.
- Check Grants.gov funding opportunity search and summarize what you find in three bullet points.

## How to set up Grants.gov funding opportunity search in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Grants.gov funding opportunity search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "grants-gov/opportunities/search",
    "input": {
      "sort": "posted_desc"
    }
  }'
```

Then paste one of the prompts above: Grok finds Grants.gov funding opportunity search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Grants.gov funding opportunity search tools and prices

- [Grants.gov · Search](https://spiral.ai/tools/alexandria/grants-gov/opportunities/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | relevance, posted_desc, posted_asc, close_asc, close_desc | posted_desc | Ordering. A publication-date window requires posted_desc. |
| query |  |  | Keyword(s) matched by Grants.gov full-text search over title, number, description and agency. Separate words are matched with OR (`community solar` returns every notice mentioning either word); wrap a multi-word concept in double quotes (`"community solar"`) for an exact-phrase match. A multi-term query adds a warning saying so. Empty = browse. |
| cursor |  | — | next_cursor from a previous response with the same filters. Cursors from a different filter set, malformed cursors, or cursors beyond depth 10000 are rejected with invalid_input. |
| expand |  | — | Fetch the full detail record for every hit (one extra upstream request each; requires page_size <= 20). |
| statuses |  | — | Normalized status. posted = open for applications (source `posted`); forecast = planned, not yet open (source `forecasted`); closed = deadline passed, still listed (source `closed`); archived = removed from the public search after its archive date (source `archived`). Default posted+forecast; add closed/archived explicitly. |
| page_size | 1 to 100 | 20 | page_size |

## What can you do with Grants.gov funding opportunity search in Grok?

Prepare a funding shortlist for a nonprofit, university, or local government. Compare the agencies behind relevant notices and explain which opportunities need a closer eligibility review.

### Build a nonprofit funding shortlist

Compare agency and applicant-category counts for food security, find relevant notices, and review eligibility and matching requirements before assigning proposal work.

### Plan a university research pipeline

Compare the agencies behind artificial intelligence research notices, identify forecasts, and review expected dates and applicant restrictions for research-office planning.

### Assess county wildfire funding

Check which agencies have wildfire notices, shortlist opportunities for county governments, and inspect deadlines, cost sharing, and supporting documents.

### Research rural water funding

Use matching counts to focus rural water research, collect relevant notices, and compare each notice's applicant requirements and funding amounts.

### Prepare a deadline review

Find posted conservation notices approaching their closing dates and review the current details before a grants team chooses which applications to pursue.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Grants.gov funding opportunity search in other agents

- [Amp](https://spiral.ai/integrations/amp/grants-gov-funding-opportunity-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/grants-gov-funding-opportunity-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/grants-gov-funding-opportunity-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/grants-gov-funding-opportunity-search)
- [Cline](https://spiral.ai/integrations/cline/grants-gov-funding-opportunity-search)
- [Codex](https://spiral.ai/integrations/codex/grants-gov-funding-opportunity-search)
- [Cursor](https://spiral.ai/integrations/cursor/grants-gov-funding-opportunity-search)
- [Devin](https://spiral.ai/integrations/devin/grants-gov-funding-opportunity-search)
- [dots](https://spiral.ai/integrations/dots/grants-gov-funding-opportunity-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/grants-gov-funding-opportunity-search)
- [Gemini](https://spiral.ai/integrations/gemini/grants-gov-funding-opportunity-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/grants-gov-funding-opportunity-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/grants-gov-funding-opportunity-search)
- [goose](https://spiral.ai/integrations/goose/grants-gov-funding-opportunity-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/grants-gov-funding-opportunity-search)
- [Hermes](https://spiral.ai/integrations/hermes/grants-gov-funding-opportunity-search)
- [Instinct](https://spiral.ai/integrations/instinct/grants-gov-funding-opportunity-search)
- [Manus](https://spiral.ai/integrations/manus/grants-gov-funding-opportunity-search)
- [Muse](https://spiral.ai/integrations/muse/grants-gov-funding-opportunity-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/grants-gov-funding-opportunity-search)
- [n8n](https://spiral.ai/integrations/n8n/grants-gov-funding-opportunity-search)
- [Notion](https://spiral.ai/integrations/notion/grants-gov-funding-opportunity-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/grants-gov-funding-opportunity-search)
- [opencode](https://spiral.ai/integrations/opencode/grants-gov-funding-opportunity-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/grants-gov-funding-opportunity-search)
- [Raycast](https://spiral.ai/integrations/raycast/grants-gov-funding-opportunity-search)
- [VS Code](https://spiral.ai/integrations/vscode/grants-gov-funding-opportunity-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/grants-gov-funding-opportunity-search)
- [Zapier](https://spiral.ai/integrations/zapier/grants-gov-funding-opportunity-search)

## More Grok guides

- [GovInfo publication search](https://spiral.ai/integrations/grok/govinfo-publication-search)
- [Grants.gov opportunity details](https://spiral.ai/integrations/grok/grants-gov-opportunity-details)
- [GovInfo publication collections](https://spiral.ai/integrations/grok/govinfo-publication-collections)
- [Grants.gov opportunity filter counts](https://spiral.ai/integrations/grok/grants-gov-opportunity-filter-counts)
- [GovInfo document text](https://spiral.ai/integrations/grok/govinfo-document-text)
- [IEA country codes](https://spiral.ai/integrations/grok/iea-country-codes)

## Questions about Grants.gov funding opportunity search in Grok

**Can Grok use Grants.gov funding opportunity search?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Grants.gov funding opportunity search like any built-in tool.

**How much does Grants.gov funding opportunity search cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use Grants.gov funding opportunity search in Grok?**

No. Spiral runs Grants.gov funding opportunity search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Grants.gov funding opportunity search in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Grants.gov funding opportunity search runs?**

Grants.gov funding opportunity search runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does Grants.gov include foundation grants or personal assistance?**

Grants.gov focuses on federal funding opportunities and points readers to separate resources for foundation and regional grants. Its opportunities do not provide personal financial assistance.

**Can a forecast be treated as an open application?**

A forecast is a planned opportunity that may never become an official announcement. Posted notices are the ones currently accepting applications.

**Are closed and archived notices still useful?**

Closed notices have passed their application deadline. Archived notices preserve historical announcements, which can help you research earlier funding rounds.

**How fresh are individual opportunity details?**

Each opportunity-detail request performs a live lookup without a cache. It retrieves the information currently supplied by Grants.gov.

**Does an applicant-category match establish eligibility?**

The notice of funding opportunity defines eligibility requirements. A broad category match, such as nonprofit or university, still requires checking the notice's specific restrictions.

