mcpField
M
mcp-healthcare-provider-npi-enricher

mcp-healthcare-provider-npi-enricher

Local
github.com/mambalabsdevHealth0Updated 2d ago

About mcp-healthcare-provider-npi-enricher

An Apify-backed MCP server for looking up healthcare providers in the official US NPI Registry. It accepts NPIs, provider or organization names, and search filters, then returns registry records.

Key features

  1. 01Look up NPI numbers
  2. 02Search individual and organization names
  3. 03Filter by taxonomy and location
  4. 04Return registry details and identifiers

Use cases

  1. 01Retrieve a provider record by NPI
  2. 02Find specialists in a state or city
  3. 03Enrich provider names with practice details

MCP support

Exposes the `enrich_healthcare_providers_npi` tool to MCP clients. It starts the Apify actor, waits for completion, and returns dataset rows.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-mambabuilt-mcp-healthcare-provider-npi-enricher": {
"command": "npx",
"args": [
"-y",
"@mambalabsdev/mcp-healthcare-provider-npi-enricher"
],
"env": {
"APIFY_TOKEN": "<APIFY_TOKEN>"
}
}
}
}
Run commandnpx -y @mambalabsdev/mcp-healthcare-provider-npi-enricher
Environment variables to set
APIFY_TOKENSecretApify API token from https://console.apify.com/account/integrations

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@mambalabsdev/mcp-healthcare-provider-npi-enricher1.0.2

Tools

1

Saved tool list · updated 2d ago

ParameterTypeRequiredDescription
citystringNoCity filter. Applies to names and to the search.
npisarrayNo10 digit NPIs. Each returns its record. An invalid NPI or one with no record is a free row.
statestringNoTwo letter state code. Applies to names and to the search. The registry refuses state alone, so give it with a name, taxonomy, city, or postal code.
taxonomystringNoFilter or search by the registry's taxonomy wording, such as cardiovascular disease, or cardio* as a wildcard. Cardiology alone matches only Pharmacist, Cardiology. Applies to names and to the search. Does not apply to NPIs.
postal_codestringNo5 or 9 digit postal code, with a trailing * after 2 or more digits as a wildcard.
provider_typeenumNoFor the taxonomy, city, or postal code search: both (default), individual, or organization.both | individual | organization
max_charge_usdstringNoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.
individual_namesarrayNoPeople, as Jane Doe, Doe, Jane, or Dr. Jane Doe MD. The registry also matches common first name aliases. A trailing * after 2 or more letters is a wildcard. Add state to narrow common names.
organization_namesarrayNoOrganizations. The registry matches whole words, so add a trailing *, such as kaiser*, to widen the match.
max_results_per_lookupnumberNoProvider rows per name or search, from 1 to 1200. Default 25. The registry serves at most 1200 records per search.

Details

From the project README

Healthcare Provider NPI Enricher MCP Server

npm version license

An MCP server for the Mamba Labs Healthcare Provider NPI Enricher actor on Apify. Turn NPIs or provider names into NPI Registry records.

What's Inside

What it does

Give NPIs, individual names, organization names, or a taxonomy with a state. The actor reads the official US NPI Registry and returns one row per provider with taxonomy, license, practice address and phone, other identifiers, and organization official. It returns only what the registry publishes. An invalid NPI, a lookup with no match, and a summary row are free.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "mamba-healthcare-provider-npi-enricher": {
      "command": "npx",
      "args": [
        "-y",
        "@mambalabsdev/mcp-healthcare-provider-npi-enricher"
      ],
      "env": {
        "APIFY_TOKEN": "your-apify-token"
      }
    }
  }
}

Restart the client. The enrich_healthcare_providers_npi tool appears.

Prerequisites

Example prompts

  • "Look up NPI 1003000126."
  • "Find cardiovascular disease specialists in Boston in the NPI Registry."
  • "Enrich these provider names in California with taxonomy and practice phone."

Tool

enrich_healthcare_providers_npi. One tool. Example arguments:

{
  "npis": [
    "1003000126"
  ],
  "organization_names": [
    "mayo clinic"
  ],
  "state": "MN",
  "max_results_per_lookup": 5
}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
npisarrayno10 digit NPIs. Each returns its record. An invalid NPI or one with no record is a free row.
individual_namesarraynoPeople, as Jane Doe, Doe, Jane, or Dr. Jane Doe MD. The registry also matches common first name aliases. A trailing * after 2 or more letters is a wildcard. Add state to narrow common names.
organization_namesarraynoOrganizations. The registry matches whole words, so add a trailing , such as kaiser, to widen the match.
taxonomystringnoFilter or search by the registry's taxonomy wording, such as cardiovascular disease, or cardio* as a wildcard. Cardiology alone matches only Pharmacist, Cardiology. Applies to names and to the search. Does not apply to NPIs.
statestringnoTwo letter state code. Applies to names and to the search. The registry refuses state alone, so give it with a name, taxonomy, city, or postal code.
citystringnoCity filter. Applies to names and to the search.
postal_codestringno5 or 9 digit postal code, with a trailing * after 2 or more digits as a wildcard.
provider_typestringnoFor the taxonomy, city, or postal code search: both (default), individual, or organization.
max_results_per_lookupnumbernoProvider rows per name or search, from 1 to 1200. Default 25. The registry serves at most 1200 records per search.
max_charge_usdstringnoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
provider-row, one provider record$0.002$0.0019$0.0018$0.0017
apify-actor-start, per run start$0.002$0.002$0.002$0.002

Lookup summaries, NPIs not found, invalid NPIs, and refused input are free. Mamba Labs pays the platform costs of the run. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/healthcare-provider-npi-enricher

License

MIT. See LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.