[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [NIH RePORTER grant details](https://spiral.ai/integrations/codex/nih-reporter-grant-details)

# How to Use NIH RePORTER grant details in Codex

Retrieve a funded project's abstract, organization, investigators, and award information from NIH RePORTER. Use it to examine a specific grant's research aims and funding after finding a relevant project.

|  |  |
| --- | --- |
| Model | NIH RePORTER grant details |
| 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 details in Codex

- Use NIH RePORTER grant details for project number 5P01CA244114-05 and add its returned abstract, organization, and award information to the project's research-detail view.
- Use NIH RePORTER grant details for https://reporter.nih.gov/project-details/11171443 and create a JSON fixture from the actual response for our grant-summary component.
- Use NIH RePORTER grant details 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 details and tell me what changed since last week.
- Check NIH RePORTER grant details and summarize what you find in three bullet points.

## How to set up NIH RePORTER grant details in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 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": "reporter-nih-gov/research-grants/project",
    "input": {
      "url": "<url>"
    }
  }'
```

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

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

## NIH RePORTER grant details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A RePORTER project page, e.g. https://reporter.nih.gov/project-details/11171443. |
| appl_id | 1 to … | — | Application id from search_projects, e.g. 11171443. |
| project_num |  | — | Full project number, e.g. 5P01CA244114-05. Returns the parent record (not a subproject); when several fiscal-year records share the number, the latest one with a warning. Pattern: ^\s*[A-Za-z0-9-]+\s*$. |

## What can you do with NIH RePORTER grant details in Codex?

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 Codex guides](https://spiral.ai/integrations/codex)

## NIH RePORTER grant details in other agents

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

## More Codex guides

- [NIH Guide source status](https://spiral.ai/integrations/codex/nih-guide-source-status)
- [NIH RePORTER grant publications](https://spiral.ai/integrations/codex/nih-reporter-grant-publications)
- [NIH Guide search](https://spiral.ai/integrations/codex/nih-guide-search)
- [NIH RePORTER grant search](https://spiral.ai/integrations/codex/nih-reporter-grant-search)
- [NIH Guide record index](https://spiral.ai/integrations/codex/nih-guide-record-index)
- [Open Targets disease search](https://spiral.ai/integrations/codex/open-targets-disease-search)

## Questions about NIH RePORTER grant details in Codex

**Can Codex use NIH RePORTER grant details?**

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

**How much does NIH RePORTER grant details cost in Codex?**

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

**Do I need an Alexandria account to use NIH RePORTER grant details in Codex?**

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

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

**Does Codex wait while NIH RePORTER grant details runs?**

NIH RePORTER grant details runs in the background. Codex 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.

