How to Use NIH RePORTER grant publications in Gemini CLI
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.
Prompts to try with NIH RePORTER grant publications in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
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 Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run NIH RePORTER grant publications
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": "reporter-nih-gov/research-grants/publications", "input": { "core_project_num": "<core_project_num>" } }'
Then paste one of the prompts above: Gemini CLI finds NIH RePORTER grant publications on Spiral, shows the price and runs it.
NIH RePORTER grant publications providers and prices
Spiral runs NIH RePORTER grant publications through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| 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. |
Every API field of NIH RePORTER · Publications is on its tool page: open its card above.
What can you do with NIH RePORTER grant publications in Gemini CLI?
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.
More on NIH RePORTER grant publications and Gemini CLI
Overview
NIH RePORTER grant publications in other agents
Questions about NIH RePORTER grant publications in Gemini CLI
Can Gemini CLI use NIH RePORTER grant publications?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run NIH RePORTER grant publications like any built-in tool.
How much does NIH RePORTER grant publications cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use NIH RePORTER grant publications in Gemini CLI?
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 Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while NIH RePORTER grant publications runs?
NIH RePORTER grant publications runs in the background. Gemini CLI 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.
Start using NIH RePORTER grant publications in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


