@pipeworx/pa-medical-exclusions
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/pa-medical-exclusions’s. Install: one-click buttons
Connect to just the @pipeworx/pa-medical-exclusions pack
https://gateway.pipeworx.io/pa-medical-exclusions/mcp — only @pipeworx/pa-medical-exclusions’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 2
Pennsylvania Department of Human Services (DHS) Medicheck Precluded
Providers List screening — check a provider by name, NPI, license number, or
FEIN against the ~6,750-row list of providers and businesses ever precluded
from Pennsylvania’s Medical Assistance (Medicaid) program, the state-level
counterpart to the federal HHS OIG LEIE (leie pack) and the sibling of
ny-omig-exclusions (New York), ca-medical-exclusions (California),
tx-medical-exclusions (Texas) and fl-medical-exclusions (Florida).
Tools
pa_medical_check_exclusion(name?, npi?, license?, fein?, limit?)— screens a provider against the DHS Medicheck list. An NPI, license, or FEIN match is an identification (all three are exact identifiers); a name match — even an exact one — is a candidate lead only, since the list carries no date of birth to disambiguate same-named providers. Every match carries DHS’s ownstatusfield and acurrently_precludedflag derived from it —nullwithstatus_unknown: trueon the minority of rows where DHS’s own status is blank, rather than a guess.pa_medical_exclusion_coverage()— total rows ever recorded, how many are currently precluded vs. ended vs. status-unknown, how many carry an NPI, license number, or FEIN, the distinct status values DHS uses, and the oldest/newest preclusion effective date. Passyearorstart_date/end_dateto instead count preclusions whose effective date falls in that range, over the whole list.
Auth
Keyless.
Data sources
- Pennsylvania Department of Human Services (DHS), Medicheck Precluded Providers List — the state’s published roster of individuals, businesses and other entities precluded from participating in Pennsylvania’s Medical Assistance program, searchable at https://www.humanservices.dhs.pa.gov/Medchk/ and downloadable as a full text file directly from that same application.
Why no open-data-portal mirror — checked, not assumed
A Socrata catalog search of data.pa.gov
(api.us.socrata.com/api/catalog/v1?domains=data.pa.gov) for “medicheck”,
“precluded”, “excluded provider” and “medicaid sanction” (2026-10-17)
returned zero matching datasets. DHS’s own Medicheck search application is
the only source.
Why this is baked, not a live proxy
Per root CLAUDE.md’s standing rule for a table this size, the full list
(6,751 rows at capture time, ~2.7MB as generated TypeScript) is baked by
scripts/bake-index.mjs into src/pa-medchk-index-data.ts, registered in
workers/gateway/src/pack-baked-indexes.json, uploaded to KV at deploy, and
injected into every call as args._bakedIndex — never a static module-scope
import (fleet #2754: six packs doing that put ~48MB of retained heap into
every gateway isolate and cost about one call in four as a Cloudflare 1102).
A missing or malformed injection throws loudly rather than answering
“not found” — see src/index.test.ts.
Unlike tx-medical-exclusions, no ASP.NET VIEWSTATE postback is needed: the
Medicheck application’s “Download Text File” button is a plain,
unauthenticated GET, verified live 2026-10-17.
Re-run node mcps/pa-medical-exclusions/scripts/bake-index.mjs periodically
and recommit; data_as_of on every response says how stale the baked copy
is.
Status is messy — currently_precluded is derived and labelled
DHS’s own Status field (Precluded, Terminated, Reinstated,
Suspended, Withdrawal, Voluntary Withdrawal, Permanent Preclusion,
Permanent Withdrawal, Terminated-No Cause) is the closest thing to a
current-state flag, but 466 of 6,751 rows (2026-10-17 capture) carry a
blank Status — checked directly, not assumed: EndDate presence does
not cleanly correlate with Status either way (plenty of Precluded rows
also carry an EndDate), so EndDate cannot be used to resolve the blanks.
This pack derives currently_precluded from Status alone when Status is
one of DHS’s own recognized values, and reports currently_precluded: null
with status_unknown: true on the blank rows — a guess here would be the
silent wrong-answer shape root CLAUDE.md’s loud-failure rule exists to
prevent.
Ever-precluded vs. currently-precluded
Same shape as the four precedent state packs: this download is the ever
precluded list, not a currently-precluded-only list — rows go back to 1957
and include providers long since reinstated, terminated, or withdrawn.
ever_vs_current_caveat states this on every response.
Matching
An npi query matches only exact 10-digit numeric NPI values. A license
query matches LicenseNumber, letters/digits only (case-insensitive,
punctuation/whitespace stripped) — Pennsylvania license numbers are
alphanumeric (e.g. AJ006399L) and sometimes carry an out-of-state
annotation in parentheses (e.g. 172434 (NY)), so license: "172434"
matches that row too. A fein query matches the federal EIN exactly,
digits only. Name queries match against the provider’s assembled individual
name (first/middle/last), business name, or DHS’s recorded alias, any word
order, case/punctuation-insensitive.
Reachability
Verified live 2026-10-17 with a laptop curl against
https://www.humanservices.dhs.pa.gov/Medchk/MedchkSearch/Medchk?target=_blank:
200, text/plain, quoted comma-delimited CRLF file, 6,751 data rows. No
session state, cookies, or form replay required — simpler than the
VIEWSTATE handshake tx-medical-exclusions needs.
Tools
- pa_medical_check_exclusion — Is this healthcare provider precluded from the Pennsylvania Medical Assistance (Medicaid) program? Screens a person or business name, an NPI, a license number, and/or a federal EIN against the Pennsyl
- pa_medical_exclusion_coverage — What the Pennsylvania DHS Medicheck Precluded Providers data covers and how current it is: total rows ever recorded, how many are currently precluded vs. ended vs. status-unknown, how many carry an NP
Tools
pa_medical_check_exclusion— Is this healthcare provider precluded from the Pennsylvania Medical Assistance (Medicaid) program? Screens a person or business name, an NPI, a license number, and/or a federal EIN against the Pennsylpa_medical_exclusion_coverage— What the Pennsylvania DHS Medicheck Precluded Providers data covers and how current it is: total rows ever recorded, how many are currently precluded vs. ended vs. status-unknown, how many carry an NP