About Leie
Leie is an MCP service for healthcare organizations and others screening providers against the HHS OIG exclusion list. Instead of returning a simple yes or no, it provides candidate records and match confidence to help distinguish people with the same name.
Key features
- 01Check provider exclusion records
- 02Return candidates with match confidence
- 03Provide birth date and location details
- 04Report list coverage and freshness
Use cases
- 01Screen providers before payment
- 02Check exclusion status before hiring or contracting
- 03Distinguish people with the same name using birth date and NPI
MCP support
It exposes exclusion checks and list-coverage tools to MCP clients. It can connect through the Pipeworx gateway or run as a local stdio MCP server.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://gateway.pipeworx.io/leie/mcpclaude mcp add --transport http pipeworx-io-leie https://gateway.pipeworx.io/leie/mcp{"mcpServers":{"pipeworx-io-leie":{"type":"http","url":"https://gateway.pipeworx.io/leie/mcp"}}}Open in Cursor{"servers":{"pipeworx-io-leie":{"type":"http","url":"https://gateway.pipeworx.io/leie/mcp"}}}Open in VS Code{"mcpServers":{"pipeworx-io-leie":{"type":"http","url":"https://gateway.pipeworx.io/leie/mcp"}}}{"mcpServers":{"pipeworx-io-leie":{"serverUrl":"https://gateway.pipeworx.io/leie/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMEleie
Is this healthcare provider barred from federal health programs? Screening against the HHS OIG List of Excluded Individuals/Entities — the check you make before paying, employing or contracting with a provider.
Part of Pipeworx — an MCP gateway connecting AI agents to 1882+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
| Tool | Answers |
|---|---|
check_provider_exclusion | "Is this provider on the OIG exclusion list?" — candidates with the fields that tell same-named people apart. |
provider_exclusion_coverage | How many exclusions are held, how current the copy is, and why NPI often cannot disambiguate. |
Auth
None. No key, no account.
Data source
HHS Office of Inspector General — List of Excluded Individuals/Entities (LEIE), which OIG publishes as a CSV for loading into your own system:
- https://oig.hhs.gov/exclusions/exclusions-list/
- https://oig.hhs.gov/exclusions/downloadables/UPDATED.csv
US federal public domain. 83,782 exclusions as loaded — 80,355 individuals and 3,427 businesses.
This names real people — read this before using it
A false positive here accuses somebody of healthcare fraud. The data makes that easy to do by accident:
- 690 excluded people share the surname SMITH. 591 share JOHNSON.
- Four different excluded men are called some form of John Smith — born 1949 (California, internal medicine), 1951 (Colorado, counselor), 1960 (New York, plastic surgery) and 1970 (Pennsylvania, general practice).
So check_provider_exclusion never returns a boolean. It returns candidates
with date_of_birth, state, city, specialty and npi, and a
match_confidence describing what was actually matched:
match_confidence | Meaning |
|---|---|
npi_match | The NPI matched. An NPI identifies one provider — this is an identification. |
exact_name_only | The full name matched exactly. Not an identification; several excluded people can share a name. |
strong_name_similarity | Very close but not identical. A lead to check. |
weak_name_similarity | Loosely similar. Most results at this level are different people. |
Pass npi whenever you have it — it is the difference between a lead and an
identification. Only 8,835 of 83,782 exclusions carry one, though, so for
most records date of birth is the practical discriminator.
Currently excluded, not historically
Everyone on this list is currently excluded. The file has a reinstatement column and it is empty on every row, because OIG removes a reinstated party rather than flagging them. The ingest therefore deletes rows absent from each new file — "no longer listed" is how a reinstatement reaches you, and there is no expired state to read.
What this does not cover
State Medicaid exclusion lists, SAM.gov debarment, and licensure actions that
have not led to an OIG exclusion. A clear result here is not a complete
background check, and check_provider_exclusion says so on every no-match
response.
Refreshing
Monthly, when OIG republishes:
node scripts/ingest-leie.mjs
Re-runnable: rows upsert on a content hash, and anything absent from the new file is deleted so reinstatements take effect. It refuses to load a file with fewer than 50,000 rows rather than quietly emptying the table.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"leie": {
"url": "https://gateway.pipeworx.io/leie/mcp"
}
}
}
What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/leie/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Both URLs reach the same gateway and the same 1882+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/check_provider_exclusion \
-H 'Content-Type: application/json' \
-d '{"name":"John Smith"}'
No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/check_provider_exclusion. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Standalone (no gateway account)
This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:
{
"mcpServers": {
"leie": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-leie"]
}
}
}
Or run it directly to confirm it starts:
npx -y @pipeworx/mcp-leie
It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call
for only this pack's tools — none of the shared meta-tools the gateway
connection above adds. Same source, same tools, no ask_pipeworx routing.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Leie data" })
The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.