Metadata-Version: 2.4
Name: rulestamp-cms-0057-api-gate
Version: 1.0.7
Summary: 14 rules read a FHIR CapabilityStatement against CMS-0057-F. A 2021 payer statement returned 6 blocking gaps - three of the four APIs missing - and 107 days left to 1 January 2027. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/cms-0057-api-gate?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/cms-0057-api-gate?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: fhir,cms-0057,prior authorization,capabilitystatement,interoperability,payer,hl7,us core
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: nodejs-wheel-binaries>=20
Dynamic: license-file

# CMS-0057 API Gate

> Runs the same checker as our npm package on a Node.js runtime that pip installs for you (`nodejs-wheel-binaries`) - no system Node.js needed. Your files are checked locally.

![FHIR API Gate - CMS-0057 prior authorization (Da Vinci) — finds the line](https://getreadystack.com/img/promo/cms-0057-api-gate_demo.gif)

14 rules read a FHIR CapabilityStatement against CMS-0057-F. A 2021 payer statement returned 6 blocking gaps - three of the four APIs missing - and 107 days left to 1 January 2027.

## Install

```
cms-0057-api-gate file
```

Node 18+. The same 14 rules as the VS Code extension, from a terminal or CI.

## Free

- Open any FHIR CapabilityStatement and see every CMS-0057-F gap in the editor: all 14 rules, each with its API name and the days left to 1 January 2027. The sample 2021 payer statement returns 10 findings, 6 of them blocking gaps.
- `--rules` lists every rule

## With a licence ($29 once)

- Export the same audit as a dated Markdown and CSV gap report, one row per gap with its CMS-0057-F citation, so the evidence leaves the editor and goes into the compliance file an auditor asks for.

```
cms-0057-api-gate --dir ./templates --report html --out report.html
```

A payer interoperability readiness review from an interop consultancy is commonly quoted as a five-figure engagement.

## Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

```json
{ "mcpServers": { "cms-0057-api-gate": { "command": "cms-0057-api-gate", "args": ["--mcp"] } } }
```

Tools: `check_text` and `check_file` (free) · `check_dir` (licence). The agent gets every finding with the line number.

## Use in CI

```yaml
- name: CMS-0057 API Gate
  run: pip install rulestamp-cms-0057-api-gate && cms-0057-api-gate --dir . --ci
```


The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set `READYSTACK_LICENSE=<key>` or run `--license <key>` once.

[Get a licence](https://getreadystack.com/api/buy/cl/polar_cl_RqXjvqSVkQXgBWNS56pWMaOQRkjbpSGQuPGL50WDgb6)


<!-- cms 0057 api gate -->


## Install (PyPI)

```
pip install rulestamp-cms-0057-api-gate
cms-0057-api-gate --help
```
