npi-providers-mcp-server
MCP server by cyanheads Community
Searches the NPPES NPI Registry for US healthcare providers and resolves NUCC specialty codes, served over MCP via STDIO or Streamable HTTP. It is built for AI assistants that need provider directory lookups.
Install npi-providers-mcp-server
Built from the published package, never by AI.
claude mcp add npi-providers-mcp-server -- npx -y @cyanheads/npi-providers-mcp-serverRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install npi-providers-mcp-server in Claude Code
{
"mcpServers": {
"npi-providers-mcp-server": {
"args": [
"-y",
"@cyanheads/npi-providers-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install npi-providers-mcp-server in Claude Desktop
{
"mcpServers": {
"npi-providers-mcp-server": {
"args": [
"-y",
"@cyanheads/npi-providers-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"npi-providers-mcp-server": {
"args": [
"-y",
"@cyanheads/npi-providers-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add npi-providers-mcp-server -- npx -y @cyanheads/npi-providers-mcp-server{
"mcpServers": {
"npi-providers-mcp-server": {
"args": [
"-y",
"@cyanheads/npi-providers-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install npi-providers-mcp-server in Antigravity CLI
gemini mcp add npi-providers-mcp-server npx -y @cyanheads/npi-providers-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install npi-providers-mcp-server in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the npi-providers-mcp-server block.
About
The npi-providers-mcp-server gives AI assistants access to the US healthcare provider directory from the NPI Registry. It searches doctors and organizations by name, location, and specialty in plain language, decodes any NPI into its provider record, and browses the NUCC specialty taxonomy. It runs over STDIO or Streamable HTTP, and a public hosted instance is available.
Plain-language specialties are resolved through a bundled NUCC taxonomy of 883 codes, which loads at startup so taxonomy lookups work offline. Provider data comes from the CMS NPPES NPI Registry API (v2.1), which needs no API key. The server suits developers and agents that need provider lookups, and its results echo the searched taxonomy and disclose pagination limits.
Written from the project's README and checked against it.
Tools it gives your assistant
npi_search_providersSearches the NPPES registry by name, organization, location, provider type, and specialty.npi_get_providerFetches the professional-practice record for up to 10 distinct valid NPIs per call.npi_lookup_taxonomyResolves, fetches, or browses the NUCC Healthcare Provider Taxonomy offline.npi://provider/{npi}A single provider's decoded record by NPI, as a resource.npi://taxonomy/{code}A single NUCC taxonomy entry by code, as a resource.
What you need
- Bun v1.4.0 or higher, or Node.js v24+, for local development
- Docker, if running the container image
| Setting | Needed | What it is |
|---|---|---|
NPI_Environment variable | Optional | Clamp oversized limits and provider batches. False restores strict upper bounds. Default: true |
MCP_Environment variable | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). Default: info |
NPPES_Environment variable | Optional | NPPES NPI Registry API base URL. Override for a private mirror or testing. Default: https://npiregistry.cms.hhs.gov/api |
NPPES_Environment variable | Optional | Per-request HTTP timeout for NPPES calls, in milliseconds. Default: 15000 |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Find cardiologists in Austin, TX and show their practice addresses.
- Decode the provider record for NPI 1234567893.
- Which NUCC taxonomy codes match the term heart doctor?
Good to know
- Search results report the page size, not a true total count.
- Broad searches stop at a reachable ceiling of 1200 matches, then return postal-code prefixes to continue.
- For individual providers, only practice location addresses are returned, not mailing addresses.
- Limits are clamped by default: search to 200, taxonomy to 50, and NPI batches to 10 distinct valid NPIs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to npi-providers-mcp-server
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
npi-providers-mcp-server: common questions
Does this MCP server need an API key?
No. It runs against the public CMS NPPES NPI Registry API (v2.1), which is keyless, and no account is required.
Does specialty lookup work offline?
Yes. The 883-code NUCC Healthcare Provider Taxonomy (v26.1) is bundled with the server and loaded at startup, so specialty resolution and code lookups work without a second upstream.
Does it return mailing addresses for individual providers?
No. For individual providers, only LOCATION address rows are kept, so their mailing address is withheld.
How do I install npi-providers-mcp-server?
In Claude Code run claude mcp add npi-providers-mcp-server -- npx -y @cyanheads/npi-providers-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is npi-providers-mcp-server the official server?
npi-providers-mcp-server is a community project by cyanheads, not verified by a company domain.
Is npi-providers-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is npi-providers-mcp-server safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to npi-providers-mcp-server?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does npi-providers-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
