[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [NIH RePORTER grant publications](https://spiral.ai/integrations/muse-code/nih-reporter-grant-publications)

# How to Use NIH RePORTER grant publications in Muse Code

Retrieve publication links connecting RePORTER projects to PubMed IDs. Use it to find papers associated with funded research; NIH warns that these links can be missing or assigned to the wrong grant.

|  |  |
| --- | --- |
| Model | NIH RePORTER grant publications |
| 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 RePORTER grant publications in Muse Code

- Use NIH RePORTER grant publications to retrieve available publication associations, then add a table in this app showing the returned core project numbers and PubMed IDs.
- Use NIH RePORTER grant publications to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NIH RePORTER grant publications and tell me what changed since last week.
- Check NIH RePORTER grant publications and summarize what you find in three bullet points.
- Pull the newest data from NIH RePORTER grant publications and give me the result as a table.

## How to set up NIH RePORTER grant publications 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 NIH RePORTER grant publications**: 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": "reporter-nih-gov/research-grants/publications",
    "input": {
      "core_project_num": "<core_project_num>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds NIH RePORTER grant publications on Spiral, shows the price and runs it.

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

## NIH RePORTER grant publications tools and prices

- [NIH RePORTER · Publications](https://spiral.ai/tools/alexandria/reporter-nih-gov/research-grants/publications) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 100 | 25 | limit |
| offset | 0 to 9999 | 0 | Rows to skip; pass next_offset from the previous page. RePORTER pages no further than offset 9,999. |

## What can you do with NIH RePORTER grant publications in Muse Code?

Build a research index that connects NIH-funded project summaries with recorded PubMed associations. A coding agent can add project records to your application's data model and preserve application IDs for later detail lookups.

### Prepare a research partnership shortlist

Find university projects on pancreatic cancer, read their abstracts, and examine associated publication links to identify institutions doing relevant work.

### Check a proposal's research context

Compare a proposed Alzheimer's disease study with funded projects, inspect overlapping research aims, and collect PubMed IDs for associated papers.

### Build an institutional research brief

Find Johns Hopkins projects on malaria, summarize their stated aims and award records, and add recorded publication associations.

### Support a science reporting assignment

Trace funded research on sickle cell disease from project discovery through award details to linked papers, giving a reporter a documented starting point.

### Review a public research portfolio

Assemble projects on antimicrobial resistance, compare their abstracts and fiscal-year funding records, and inspect the publication links recorded for those projects.

### Maintain a topic-specific evidence index

Revisit funded research on cystic fibrosis, refresh project summaries, and add newly observed PubMed associations without treating missing links as proof of no publications.

## Overview

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

## NIH RePORTER grant publications in other agents

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

## More Muse Code guides

- [NIH RePORTER grant details](https://spiral.ai/integrations/muse-code/nih-reporter-grant-details)
- [NIH RePORTER grant search](https://spiral.ai/integrations/muse-code/nih-reporter-grant-search)
- [NIH Guide source status](https://spiral.ai/integrations/muse-code/nih-guide-source-status)
- [Open Targets disease search](https://spiral.ai/integrations/muse-code/open-targets-disease-search)
- [NIH Guide search](https://spiral.ai/integrations/muse-code/nih-guide-search)
- [Open Targets drugs](https://spiral.ai/integrations/muse-code/open-targets-drugs)

## Questions about NIH RePORTER grant publications in Muse Code

**Can Muse Code use NIH RePORTER grant publications?**

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

**How much does NIH RePORTER grant publications 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 RePORTER grant publications in Muse Code?**

No. Spiral runs NIH RePORTER grant publications 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 RePORTER grant publications 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 RePORTER grant publications runs?**

NIH RePORTER grant publications runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**How fresh is NIH RePORTER?**

NIH generally updates its project database weekly. A scheduled review can use that weekly cycle to check for newly available or changed project records.

**Does RePORTER cover every paper produced by a grant?**

No. RePORTER lists publications found in PubMed or PubMed Central, so it does not cover every possible publication venue.

**How reliable are the links between grants and papers?**

NIH explicitly warns that publications can be linked to the wrong grant or missing altogether. A linked-paper count therefore measures recorded associations, not a grant's complete output.

**Does a project's funding amount represent its lifetime budget?**

RePORTER defines total project funding for a given fiscal year. Use the year attached to an award record when comparing funding with research aims or associated publications.

**What identifies an individual RePORTER project record?**

The application ID is the unique identifier for a project record in RePORTER. Keep that identifier when connecting a search result to its detailed award record.

