[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Grants.gov opportunity details](https://spiral.ai/integrations/muse-code/grants-gov-opportunity-details)

# How to Use Grants.gov opportunity details in Muse Code

Returns one funding notice with eligibility, award amounts, deadlines, amendment information, and document links. Use it to assess a specific opportunity before preparing a proposal.

|  |  |
| --- | --- |
| Model | Grants.gov opportunity details |
| 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 opportunity details in Muse Code

- Use Grants.gov opportunity details for opportunity 363779 and create a review document with eligibility, cost sharing, funding amounts, and supporting-document links.
- Use Grants.gov opportunity details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Grants.gov opportunity details and tell me what changed since last week.
- Check Grants.gov opportunity details and summarize what you find in three bullet points.
- Pull the newest data from Grants.gov opportunity details and give me the result as a table.

## How to set up Grants.gov opportunity details in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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.

```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 opportunity details**: 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/detail",
    "input": {
      "opportunity_id": "<opportunity_id>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Grants.gov opportunity details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Grants.gov opportunity details tools and prices

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

## What can you do with Grants.gov opportunity details in Muse 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.

### Review a saved funding notice

Retrieve a previously shortlisted opportunity and compare its deadline, eligibility text, amendment information, and document links with an earlier review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Grants.gov opportunity details in other agents

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

## More Muse Code guides

- [Grants.gov funding opportunity search](https://spiral.ai/integrations/muse-code/grants-gov-funding-opportunity-search)
- [Grants.gov opportunity filter counts](https://spiral.ai/integrations/muse-code/grants-gov-opportunity-filter-counts)
- [GovInfo publication search](https://spiral.ai/integrations/muse-code/govinfo-publication-search)
- [IEA country codes](https://spiral.ai/integrations/muse-code/iea-country-codes)
- [GovInfo publication collections](https://spiral.ai/integrations/muse-code/govinfo-publication-collections)
- [IEA energy dataset catalog](https://spiral.ai/integrations/muse-code/iea-energy-dataset-catalog)

## Questions about Grants.gov opportunity details in Muse Code

**Can Muse Code use Grants.gov opportunity details?**

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

**How much does Grants.gov opportunity details cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use Grants.gov opportunity details in Muse Code?**

No. Spiral runs Grants.gov opportunity details 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 opportunity details in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Grants.gov opportunity details runs?**

Grants.gov opportunity details runs in the background. Muse 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.

