Skip to main content
Glama
NPI Registry MCP Server

NPI Registry MCP Server

NPI Registry MCP Server

Python MCP server that exposes the public CMS NPPES NPI Registry API as tools.

Tools

  • lookup_npi: Look up one provider or organization by a 10-digit NPI number.

  • search_npi_registry: Search providers by name, organization, taxonomy, city, state, ZIP code, and enumeration type.

Related MCP server: npi-verify

Setup

Create and activate a virtual environment, then install the dependencies:

python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt

Run

MCP clients usually start stdio servers for you. To test that the server starts:

python .\server.py

The process waits for MCP messages on stdin, so a blank terminal is normal.

Client Configuration

Use the contents of mcp_config.example.json in your MCP client configuration.

{
  "mcpServers": {
    "npi-registry": {
      "command": "C:\\path\\to\\NPI_MCP\\.venv\\Scripts\\python.exe",
      "args": [
        "C:\\path\\to\\NPI_MCP\\server.py"
      ]
    }
  }
}

If you move this folder, update both absolute paths.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables interaction with the CMS NPPES NPI Registry to search, lookup, and validate National Provider Identifier records. It features offline-capable search using a local SQLite database that automatically updates with the latest provider data.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for looking up and searching US healthcare providers in the CMS NPPES NPI Registry.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables LLM clients to search and retrieve U.S. healthcare provider records from the NPPES NPI Registry, including provider lookup, specialty search, checksum validation, and referral-eligibility assessment, all without an API key.
      MIT