[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [NPI Registry provider search](https://spiral.ai/integrations/goose/npi-registry-provider-search)

# How to Use NPI Registry provider search in goose

Returns matching public NPPES provider records, including names, specialty classifications, and addresses. Use it to find healthcare organizations in a location before reviewing individual records.

|  |  |
| --- | --- |
| Model | NPI Registry provider search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with NPI Registry provider search in goose

- Use NPI Registry provider search to find organizations in Boston, Massachusetts, and create a directory preview showing their names, NPIs, reported classifications, and practice addresses.
- Use NPI Registry provider search for organizations in ZIP code 44195 in Ohio, then compare the returned NPIs and practice addresses with our project's directory records.
- Use NPI Registry provider search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NPI Registry provider search and tell me what changed since last week.
- Check NPI Registry provider search and summarize what you find in three bullet points.

## How to set up NPI Registry provider search in goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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 NPI Registry provider 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": "npiregistry-cms-hhs-gov/providers/search",
    "input": {
      "city": "<city>"
    }
  }'
```

Then paste one of the prompts above: goose finds NPI Registry provider search on Spiral, shows the price and runs it.

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

## NPI Registry provider search tools and prices

- [NPI Registry · Search](https://spiral.ai/tools/alexandria/npiregistry-cms-hhs-gov/providers/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| city |  | — | City of the mailing or practice address. Up to 100 ASCII characters (NPPES rejects accented letters; O'Brien, Smith-Jones and St. John are fine); one trailing `*` wildcard is allowed after at least two characters. |
| skip | 0 to 1200 | 0 | Records to skip; pass next_skip from the previous page. NPPES allows at most 1200. |
| limit | 1 to 200 | 10 | Records per page. |
| state |  | — | Two-letter US state/territory code. Needs another criterion. Pattern: ^[A-Za-z]{2}$. |
| last_name |  | — | Individual provider last name (NPI-1 only). Up to 100 ASCII characters (NPPES rejects accented letters; O'Brien, Smith-Jones and St. John are fine); one trailing `*` wildcard is allowed after at least two characters. |
| first_name |  | — | Individual provider first name (NPI-1 only). Up to 100 ASCII characters (NPPES rejects accented letters; O'Brien, Smith-Jones and St. John are fine); one trailing `*` wildcard is allowed after at least two characters. |

## What can you do with NPI Registry provider search in goose?

Build a healthcare organization directory with each NPI attached to its reported business addresses. Compare NPPES records with existing project data and flag address mismatches for review.

### Audit a healthcare organization directory

Compare directory names and business addresses with reported NPPES records. Identify entries that need an address correction or a closer review of the organization match.

### Prepare a referral facility directory

Find healthcare organizations in a city, review their reported classifications, and organize their practice addresses for referral staff.

### Map reported care sites

Build a map from organization practice addresses, keeping mailing addresses separate. Include reported secondary locations when reviewing an organization's geographic presence.

### Review business contact records

Compare a hospital or clinic directory's business address and telephone number with NPPES. Prepare a review queue for discrepancies before changing published contact information.

### Report organization address changes

Compare successive registry checks for selected organizations. Summarize changes to reported practice and mailing addresses for the team maintaining the directory.

### Reconcile duplicate organization entries

Compare NPIs and reported locations when similarly named organizations appear in a directory. Preserve separate NPI records while flagging entries that may describe the same organization.

## Overview

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

## NPI Registry provider search in other agents

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

## More goose guides

- [NPI Registry provider details](https://spiral.ai/integrations/goose/npi-registry-provider-details)
- [Namecheap TLD pricing](https://spiral.ai/integrations/goose/namecheap-tld-pricing)
- [NPI Registry practice locations](https://spiral.ai/integrations/goose/npi-registry-practice-locations)
- [Namecheap domain auctions](https://spiral.ai/integrations/goose/namecheap-domain-auctions)
- [MoltSets people search](https://spiral.ai/integrations/goose/moltsets-people-search)
- [Namecheap domain availability check](https://spiral.ai/integrations/goose/namecheap-domain-availability-check)

## Questions about NPI Registry provider search in goose

**Can goose use NPI Registry provider search?**

Yes. Add Spiral to goose as an MCP server, and goose can find and run NPI Registry provider search like any built-in tool.

**How much does NPI Registry provider search cost in goose?**

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

**Do I need an Alexandria account to use NPI Registry provider search in goose?**

No. Spiral runs NPI Registry provider 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 NPI Registry provider search in goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while NPI Registry provider search runs?**

NPI Registry provider search runs in the background. goose starts the run, checks on it and gives you the json when it's ready.

**Does NPPES cover organizations as well as individual clinicians?**

Yes. NPPES distinguishes individual healthcare providers, such as physicians, from organizations, such as hospitals.

**How fresh are NPI Registry records?**

The registry refreshes daily. Providers have 30 days to report changes to required data, so a daily refresh can still contain an address that has recently changed.

**Does an NPI listing verify a provider's license?**

No. CMS states that having an NPI does not ensure a provider is licensed or credentialed; providers certify the information they submit to NPPES.

**How many records can a registry search return?**

The NPPES API returns up to 200 records per request. The rOpenSci client documentation describes a 1,200-record search ceiling, so larger result sets need narrower geographic searches.

**What is the difference between a practice address and a mailing address?**

NPPES separates location addresses from mailing addresses. The primary practice entry includes a reported address and telephone number, and CMS also maintains reported non-primary practice locations.

