Skip to main content
Glama
CLIA Certificate Renewal Sentinel

CLIA Certificate Renewal Sentinel

README.md
# CLIA Certificate Renewal Sentinel

When does this US clinical laboratory's CLIA certificate expire, and is its renewal window open?

Under the Clinical Laboratory Improvement Amendments (42 U.S.C. 263a), no laboratory in the United States may examine human specimens unless a CLIA certificate is in effect for it. Each certificate (waiver, provider-performed microscopy, registration, compliance, accreditation) is valid for no more than two years. The regulation (42 CFR 493.37(f), 493.49(g) and 493.61(h)) asks for a renewal application 9 to 12 calendar months before expiration; current CMS guidance describes no application, but a fee invoice about 6 months before expiration and a renewed certificate about 1 month before, once the fees are paid.

For 1 to 10 CLIA numbers, this MCP server and HTTP API read the latest quarterly Provider of Services File for clinical laboratories (data.cms.gov) and return, for each laboratory:

- whether it is on file, the type of certificate, the termination code and its label;
- the effective and expiration dates on file, and the days left or past;
- whether the term on file is the standard two years;
- the renewal window written in the regulation (9 to 12 months before expiration), its status and the days left to open or close;
- the approximate CMS billing calendar, returned apart, and the texts that disagree (never merged);
- the current date in the laboratory's state;
- when the expiration date on file has passed after the cutoff of the quarterly file, the state `expiration_after_data_cutoff`: the service concludes nothing and points to the official CMS lookup, which is updated weekly.

Dates are never moved for a weekend or a holiday. No penalty amount is returned, only the legal references. No laboratory name, address or telephone number is read or returned.

- MCP (streamable HTTP): `https://clia.amacunia.fr/mcp`, tools `clia_certificate_lookup` (paid, 0.01 USDC per call via x402 on Base) and `clia_certificate_example` (free).
- HTTP: `GET https://clia.amacunia.fr/v1/clia-certificate?numbers=01D0726657` (x402, 0.01 USDC).
- Free sample: `https://clia.amacunia.fr/v1/exemple`.
- Machine-readable: `/llms.txt`, `/.well-known/x402`, `/terms`.
- Paying client example: [`examples/pay_mcp.py`](examples/pay_mcp.py).

No account, no API key.

## Data

Provider of Services File - Clinical Laboratories, published every quarter by the Centers for Medicare & Medicaid Services on data.cms.gov. U.S. Government work (17 U.S.C. 105), as declared by the catalogue (https://www.usa.gov/government-works). Source: CMS, Provider of Services File - Clinical Laboratories. Only six fields are read: CLIA number, state, termination code, certificate type, expiration or termination date, effective date.

## Disclaimer

Information only, not legal advice; it does not replace an attorney. Not a consumer report under the FCRA. Not affiliated with or endorsed by the Centers for Medicare & Medicaid Services (CMS), the U.S. Department of Health and Human Services or any U.S. government agency. The file is quarterly: a certificate renewed after its cutoff does not show, and the official CMS records are authoritative. Terms of use: https://clia.amacunia.fr/terms. Contact: contact@amacunia.fr