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

Muse Code · Health

How to Use NIH Guide search in Muse Code

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.

Prompts to try with NIH Guide search in Muse Code

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

Use NIH Guide search to find available NIDA announcements about substance use disorder, then create a results table in this project.

NIH Guide searchMuse Code
Try asking
  • 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 Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

    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.

    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: Muse Code finds NIH Guide search on Spiral, shows the price and runs it.

NIH Guide search providers and prices

Spiral runs NIH Guide search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
NIH Guide for Grants and Contracts · Search
grants-nih-gov/opportunities/search

Settings you can ask for

Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Typeactive, activenosis, expired, expirednosis, or noticesactive

type

DoctypeRFA, PA, PAR, PAS, or NOSIS

doctype

Page size1 to 10020

page_size

Clinical trialsRequired, Optional, Not_Allowed, Basic_Trial, or Required_Infrastructure

clinical_trials

Every API field of NIH Guide for Grants and Contracts · Search is on its tool page: open its card above.

What can you do with NIH Guide search in Muse Code?

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.

Questions about NIH Guide search in Muse Code

Can Muse Code use NIH Guide search?

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

How much does NIH Guide search 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 NIH Guide search in Muse Code?

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

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

Does Muse Code wait while NIH Guide search runs?

NIH Guide search runs in the background. Muse Code 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.

Get started

Start using NIH Guide search in Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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