NPI Registry MCP server for AI agents
Let Claude, ChatGPT or your own agent read NPI Registry: 2 typed functions through one MCP server. No NPI Registry API key needed.
- Functions
- 2
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just NPI Registry
An MCP server for NPI Registry alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/npi_registryEvery site
One MCP server for NPI Registry and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 2
lookupOne clinician or organization by its 10-digit NPI: name, credential, specialties with state licenses, addresses and practice locations; null when the…Arguments
Name Type Required npistringYes Returns
npiProvider | nullinterface npiAddress { purpose: string; line1: string; line2: string | null; city: string; state: string; postalCode: string; country: string; phone: string | null; fax: string | null; } interface npiTaxonomy { code: string; description: string; primary: boolean; state: string | null; license: string | null; } interface npiProvider { npi: string; kind: "individual" | "organization"; name: string; firstName: string | null; lastName: string | null; organizationName: string | null; credential: string | null; status: string | null; enumerationDate: string | null; lastUpdated: string | null; primaryTaxonomy: string | null; taxonomies: npiTaxonomy[]; addresses: npiAddress[]; practiceLocations: npiAddress[]; /** Other names the registry holds (former, professional, doing-business-as). * A name search matches these too, which is why a "Smith" search can return a * row whose current lastName is not SMITH. */ otherNames: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/npi_registry/lookupCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.npi_registry.lookup("1003000126");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.npi_registry.lookup("1003000126"))curl -X POST https://api.bowmark.ai/v1/sites/npi_registry/lookup \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"npi":"1003000126"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.npi_registry.lookup("1003000126");searchSearch the registry by name, organization, specialty, city, state or ZIP, up to 200 rows per call.Arguments
Name Type Required firstNamestringNo lastNamestringNo organizationNamestringNo citystringNo statestringNo postalCodestringNo taxonomystringNo kind"individual" | "organization"No limitnumberNo Returns
npiProvider[]interface npiAddress { purpose: string; line1: string; line2: string | null; city: string; state: string; postalCode: string; country: string; phone: string | null; fax: string | null; } interface npiTaxonomy { code: string; description: string; primary: boolean; state: string | null; license: string | null; } interface npiProvider { npi: string; kind: "individual" | "organization"; name: string; firstName: string | null; lastName: string | null; organizationName: string | null; credential: string | null; status: string | null; enumerationDate: string | null; lastUpdated: string | null; primaryTaxonomy: string | null; taxonomies: npiTaxonomy[]; addresses: npiAddress[]; practiceLocations: npiAddress[]; /** Other names the registry holds (former, professional, doing-business-as). * A name search matches these too, which is why a "Smith" search can return a * row whose current lastName is not SMITH. */ otherNames: string[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/npi_registry/searchCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.npi_registry.search({ firstName: "John", lastName: "Smith", state: "TX", limit: 3 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.npi_registry.search({ "firstName": "John", "lastName": "Smith", "state": "TX", "limit": 3 }))curl -X POST https://api.bowmark.ai/v1/sites/npi_registry/search \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"firstName":"John","lastName":"Smith","state":"TX","limit":3}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.npi_registry.search({ firstName: "John", lastName: "Smith", state: "TX", limit: 3 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/npi_registry/<function> - OpenAPI
/v1/sites/npi_registry/openapi.json