Npi Lookup Taxonomy
npi_lookup_taxonomyResolve and browse the NUCC Healthcare Provider Taxonomy — the specialty code set NPPES uses — fully offline (bundled). Mode resolve turns a plain-language specialty (e.g. "cardiologist", "heart doctor") into matching active taxonomy entries, excluding codes NUCC marks inactive; mode get returns the full entry for an exact code, including NUCC's Notes; mode browse walks the hierarchy (grouping → classification → specialization), optionally filtered by grouping, classification, and NUCC section; its first page lists the groupings the filters reach with entry counts, plus that grouping's classifications when they reach exactly one. Individual includes Group codes; section does not determine NPI entity type, which comes from NPPES enumeration_type. Every entry carries its status, and an inactive code names its replacement when NUCC gives one; get and browse still return inactive codes. An active entry's code goes straight into npi_search_providers taxonomy_description, which searches with that code's text.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"mode": "<mode>"
},
"name": "npi_lookup_taxonomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | For get only: exact NUCC taxonomy code, e.g. "207RC0000X". | |
| mode | Yes | resolve: plain-language specialty to codes; get: exact code; browse: hierarchy. | |
| skip | No | Entries to skip before the page (0–1000). Keep the same query and limit, then raise skip by limit each call. | |
| limit | No | Maximum entries for resolve/browse; defaults to 20. Positive integers above 50 are clamped to 50 unless NPI_CLAMP_LIMITS is disabled. | |
| query | No | The plain-language specialty term to resolve, e.g. "pediatric cardiologist". | |
| section | No | For browse only: NUCC section, independent of NPI entity type. Individual includes Group codes. | |
| grouping | No | Filter to a top-level grouping by case-insensitive substring, e.g. "physicians". | |
| classification | No | For browse only: one classification by its full name, case-insensitive, as browse lists it, e.g. "Internal Medicine". Combines with grouping and section. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit that was applied. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Number of entries returned. | |
| notice | No | Guidance — how to page a truncated result with skip, or how to broaden when nothing matched. | |
| matches | No | Matching taxonomy entries. For mode "get" this is the single requested entry; for "resolve"/"browse" it is the ranked/sorted matches up to limit. | |
| groupings | No | Browse, first page (skip 0) without classification: each grouping the grouping and section filters reach, sorted by name. Pass a name as grouping to page its entries. | |
| truncated | No | True when the list was capped at `limit` (more entries may match). | |
| classifications | No | With groupings, when the filters reach exactly one grouping: its classifications, sorted by name. Keep the filters and pass a name as classification to page exactly count entries. |