Metadata-Version: 2.4
Name: rulestamp-hmrc-fraud-prevention-header-lint
Version: 0.1.6
Summary: Finds the Gov-Client and Gov-Vendor header mistakes HMRC rejects, in your editor, offline, before you send the request. (bundled Node.js runtime)
Author-email: Rulestamp <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/hmrc-fraud-prevention-header-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/hmrc-fraud-prevention-header-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: hmrc,mtd,making-tax-digital,fraud-prevention,vat
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

# HMRC Fraud Prevention Header Lint for Making Tax Digital (VAT and Income Tax)

> 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.

Finds the Gov-Client and Gov-Vendor header mistakes HMRC rejects, in your editor, offline, before you send the request.

## Install

```
hmrc-fraud-prevention-header-lint file
```

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

## Free

- Check the file you have open, or just the lines you select, against all 34 HMRC fraud prevention header rules, offline, and get the exact spelling HMRC accepts for every problem found.
- `--rules` lists every rule

## With a licence ($29 once)

- Scans every file in the workspace, exports a CSV, JSON or HTML report, prints machine-readable output so CI can fail the build, and auto-corrects the header names that have exactly one correct spelling.

```
hmrc-fraud-prevention-header-lint --dir ./templates --report html --out report.html
```

HMRC charges a 200 pound penalty once a filer crosses the points threshold for late MTD quarterly updates, and HMRC's own header validator only grades a live request you have already sent.

## Use from an AI agent (MCP)

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

```json
{ "mcpServers": { "hmrc-fraud-prevention-header-lint": { "command": "hmrc-fraud-prevention-header-lint", "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: HMRC Fraud Prevention Header Lint for Making Tax Digital (VAT and Income Tax)
  run: pip install rulestamp-hmrc-fraud-prevention-header-lint && hmrc-fraud-prevention-header-lint --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_afnAFHpBatzPOX0Juw1NBd0sBcQU2K7p6IwUF0MYaZ8)


<!-- hmrc fraud prevention header lint -->


## Install (PyPI)

```
pip install rulestamp-hmrc-fraud-prevention-header-lint
hmrc-fraud-prevention-header-lint --help
```
