Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · Public Records

How to Use Grants.gov funding opportunity search in Claude Code

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.

Prompts to try with Grants.gov funding opportunity search in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Grants.gov funding opportunity search to find posted NSF opportunities about artificial intelligence, then add the titles, opportunity numbers, and deadlines to the project's grant tracker.

Grants.gov funding opportunity searchClaude Code
Try asking
  • Use Grants.gov funding opportunity search for rural broadband notices and build a CSV export in this project containing agency, title, status, closing date, and source link.

  • Use Grants.gov funding opportunity search to look this up and give me the result as a table. Save the result in ./assets.

  • 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 Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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.

    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.

    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: Claude Code finds Grants.gov funding opportunity search on Spiral, shows the price and runs it.

Grants.gov funding opportunity search providers and prices

Spiral runs Grants.gov funding opportunity search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Grants.gov · Search
grants-gov/opportunities/search

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortrelevance, posted_desc, posted_asc, close_asc, or close_descposted_desc

Ordering. A publication-date window requires posted_desc.

Expandon or off

Fetch the full detail record for every hit (one extra upstream request each; requires page_size <= 20).

Page size1 to 10020

page_size

Every API field of Grants.gov · Search is on its tool page: open its card above.

What can you do with Grants.gov funding opportunity search in Claude Code?

Build a grant tracker that separates planned funding from notices accepting applications. Add agency counts, opportunity shortlists, and detailed reviews to the project's existing workflow.

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.

Questions about Grants.gov funding opportunity search in Claude Code

Can Claude Code use Grants.gov funding opportunity search?

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

How much does Grants.gov funding opportunity search cost in Claude Code?

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

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

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 Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Grants.gov funding opportunity search runs?

Grants.gov funding opportunity search runs in the background. Claude Code 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.

Get started

Start using Grants.gov funding opportunity search in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options