get_provider
Pack: npi-registry · Endpoint: https://gateway.pipeworx.io/npi-registry/mcp
Fetch a provider by 10-digit NPI.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
npi | string | yes | 10-digit NPI |
Example call
Arguments
{
"npi": "1234567890"
}
curl
curl -X POST https://gateway.pipeworx.io/npi-registry/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_provider","arguments":{"npi":"1234567890"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_provider', {
"npi": "1234567890"
});
Response shape
| Field | Type | Description |
|---|---|---|
results | array | Array containing single provider record |
result_count | number | Total number of results (0 or 1) |
Errors | array | API error messages if any |
Full JSON Schema
{
"type": "object",
"properties": {
"results": {
"type": "array",
"description": "Array containing single provider record",
"items": {
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "10-digit NPI identifier"
},
"enumeration_type": {
"type": "string",
"description": "NPI-1 (individual) or NPI-2 (organization)"
},
"basic": {
"type": "object",
"description": "Basic provider information",
"properties": {
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"organization_name": {
"type": "string"
},
"credential_text": {
"type": "string"
}
}
},
"addresses": {
"type": "array",
"description": "Provider address records",
"items": {
"type": "object",
"properties": {
"address_purpose": {
"type": "string"
},
"address_type": {
"type": "string"
},
"address_1": {
"type": "string"
},
"address_2": {
"type": "string"
},
"city": {
"type": "string"
},
"state": {
"type": "string"
},
"postal_code": {
"type": "string"
},
"country_code": {
"type": "string"
}
}
}
},
"taxonomies": {
"type": "array",
"description": "Provider taxonomy specializations",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"taxonomy_description": {
"type": "string"
},
"primary": {
"type": "boolean"
}
}
}
}
}
}
},
"result_count": {
"type": "number",
"description": "Total number of results (0 or 1)"
},
"Errors": {
"type": "array",
"description": "API error messages if any",
"items": {
"type": "string"
}
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"npi-registry": {
"url": "https://gateway.pipeworx.io/npi-registry/mcp"
}
}
}
See Getting Started for client-specific install steps.