[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [NIH Guide search](https://spiral.ai/integrations/windsurf/nih-guide-search)

# How to Use NIH Guide search in Windsurf

Returns NIH Guide records matching a focused lookup. Use it to shortlist relevant notices or announcements; NIH moved official funding opportunity postings to Grants.gov in October 2025.

|  |  |
| --- | --- |
| Model | NIH Guide search |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NIH Guide search in Windsurf

- Use NIH Guide search to find available NIDA announcements about substance use disorder, then create a results table in this project.
- Use NIH Guide search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NIH Guide search and tell me what changed since last week.
- Check NIH Guide search and summarize what you find in three bullet points.
- Pull the newest data from NIH Guide search and give me the result as a table.

## How to set up NIH Guide search in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 NIH Guide 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-nih-gov/opportunities/search",
    "input": {
      "type": "active"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds NIH Guide search on Spiral, shows the price and runs it.

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

## NIH Guide search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| type | active, activenosis, expired, expirednosis, notices | active | type |
| query |  | — | Free text; wrap a phrase or a docnum in double quotes for an exact match. |
| cursor |  | — | cursor |
| doctype | RFA, PA, PAR, PAS, NOSIS | — | doctype |
| page_size | 1 to 100 | 20 | page_size |
| parent_ic |  | — | Parent organization code, e.g. NIH, CDC, FDA, AHRQ. Pattern: ^[A-Za-z]{2,10}$. |

## What can you do with NIH Guide search in Windsurf?

Build a searchable NIH policy notice index with links to the underlying documents. A coding agent can add imports, document views, and release digests to a research administration project.

### Prepare a research office briefing

Maintain a baseline notice index, check collection status, collect new releases, search for application-policy topics, and read relevant documents before drafting the office's daily briefing.

### Maintain an NCI notice watch

Build an initial inventory of National Cancer Institute notices, check for collection changes, and review newly released documents. Use focused searches to find notices relevant to cancer research administration.

### Review notices affecting planned applications

Keep an inventory of Guide notices relevant to an application shortlist. Check collection status, collect new releases, search for references to shortlisted announcements, and read the matching documents before updating the planning brief.

### Build a searchable public notice archive

Populate an archive from the record index and individual documents, then use collection status and release windows to guide refreshes. Add focused source searches for readers investigating specific NIH policy topics.

### Compare published application requirements

Find available Guide announcements on a research topic and compare their parsed eligibility, application counts, and due dates. Confirm current requirements against the latest full announcement on Grants.gov.

### Investigate earlier funding announcements

Search available expired announcements for a topic such as substance use disorder, retrieve relevant documents, and compare them with an index export. Describe the records retrieved without claiming complete historical coverage.

## Overview

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

## NIH Guide search in other agents

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

## More Windsurf guides

- [NIH Guide record index](https://spiral.ai/integrations/windsurf/nih-guide-record-index)
- [NIH Guide source status](https://spiral.ai/integrations/windsurf/nih-guide-source-status)
- [NIH Guide notice releases](https://spiral.ai/integrations/windsurf/nih-guide-notice-releases)
- [NIH RePORTER grant details](https://spiral.ai/integrations/windsurf/nih-reporter-grant-details)
- [NIH Guide document details](https://spiral.ai/integrations/windsurf/nih-guide-document-details)
- [NIH RePORTER grant publications](https://spiral.ai/integrations/windsurf/nih-reporter-grant-publications)

## Questions about NIH Guide search in Windsurf

**Can Windsurf use NIH Guide search?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run NIH Guide search like any built-in tool.

**How much does NIH Guide search cost in Windsurf?**

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

**Do I need an Alexandria account to use NIH Guide search in Windsurf?**

No. Spiral runs NIH Guide 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 NIH Guide search in Windsurf?**

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

**Does Windsurf wait while NIH Guide search runs?**

NIH Guide search runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**Does the NIH Guide cover all current NIH funding opportunities?**

Grants.gov became the single official source for NIH grant opportunities in October 2025. The Guide continues to publish policy and informational notices, so Guide results alone cannot establish complete current funding coverage.

**How often does NIH publish Guide notices?**

NIH publishes the Guide daily and issues a weekly table of contents. That describes the publisher's schedule; it does not establish a guaranteed refresh interval for the API.

**Does a release-window query capture every change to an older notice?**

Alexandria describes its release collection as publisher-dated notices. Use it to collect releases within a period, without assuming it supplies a complete history of edits to previously published documents.

**How far back does the NIH Guide archive go?**

NIH provides a separate historical archive for 1970 through 1992. The existence of that archive does not verify that these endpoints expose those years; active and expired funding opportunities are also searchable on Grants.gov.

**Which announcement version should I use to check application requirements?**

NIH directs readers to the full announcement on Grants.gov and says to choose the most recently updated version when multiple document links appear. Use that document to confirm requirements found in Guide records.

