[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [NPI Registry provider details](https://spiral.ai/integrations/muse-code/npi-registry-provider-details)

# How to Use NPI Registry provider details in Muse Code

Returns one provider's public NPPES record, including its name, specialty classifications, addresses, and update date. Use it to reconcile a known NPI with a directory entry or organization record.

|  |  |
| --- | --- |
| Model | NPI Registry provider details |
| 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 details in Muse Code

- Use NPI Registry provider details for Cleveland Clinic's NPI 1679525919 and prepare a proposed update to its name, classifications, addresses, and last update date in our directory.
- Use NPI Registry provider details 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 details and tell me what changed since last week.
- Check NPI Registry provider details and summarize what you find in three bullet points.
- Pull the newest data from NPI Registry provider details and give me the result as a table.

## How to set up NPI Registry provider details 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 NPI Registry provider 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": "npiregistry-cms-hhs-gov/providers/provider",
    "input": {
      "npi": "<npi>"
    }
  }'
```

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

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

## NPI Registry provider details tools and prices

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

## What can you do with NPI Registry provider details in Muse Code?

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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## NPI Registry provider details in other agents

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

## More Muse Code guides

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

## Questions about NPI Registry provider details in Muse Code

**Can Muse Code use NPI Registry provider details?**

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

**How much does NPI Registry provider details 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 NPI Registry provider details in Muse Code?**

No. Spiral runs NPI Registry provider 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 NPI Registry provider details in Muse Code?**

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

**Does Muse Code wait while NPI Registry provider details runs?**

NPI Registry provider details runs in the background. Muse Code 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.

