Metadata-Version: 2.4
Name: readystack-ai-model-license-lint
Version: 1.0.5
Summary: Reads the open-weight model IDs in your code and names the licence clause that binds you - 22 rules, 17 findings on a 33-line fixture (bundled Node.js runtime)
Author-email: ReadyStack <support@getreadystack.com>
License: Proprietary - see LICENSE.txt
Project-URL: Homepage, https://getreadystack.com/tools/ai-model-license-lint?ref=pypi
Project-URL: Documentation, https://getreadystack.com/tools/ai-model-license-lint?ref=pypi
Project-URL: Support, https://getreadystack.com/support
Keywords: llama license,model license,open weights,compliance,gemma terms,flux dev non-commercial,ai act,attribution
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

# AI Model License Lint

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

Reads the open-weight model IDs in your code and names the licence clause that binds you - 22 rules, 17 findings on a 33-line fixture

## Install

```
ai-model-license-lint file
```

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

## Free

- Scans the file you have open and names, for every open-weight model identifier, the exact licence clause that binds you and the case that breaks it - 22 rules, in VS Code and in the browser, no account. On the bundled 33-line fixture it returns 17 findings, 5 of them blocking, naming 7 licences; on the clean fixture it returns 0.
- `--rules` lists every rule

## With a licence ($29 once)

- Exports the evidence: a generated NOTICE / attribution file and a dated per-model obligation report for the whole workspace, in the form procurement and counsel ask for, plus a CI exit code so a new model ID cannot land unreviewed.

```
@readystack/ai-model-license-lint --dir ./templates --report html --out report.html
```

Outside technology counsel bills roughly USD 350-600 per hour for an open-source and model-licence review, repeated each time the model list changes

## Use from an AI agent (MCP)

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

```json
{ "mcpServers": { "ai-model-license-lint": { "command": "npx", "args": ["-y", "@readystack/ai-model-license-lint", "--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: AI Model License Lint
  run: npx -y @readystack/ai-model-license-lint --dir . --ci
```

(container: `docker run --rm -v "$PWD:/work" getreadystack/ai-model-license-lint --dir /work --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://buy.polar.sh/polar_cl_n48nKSGuBUvKyot5tlEi3ACu4uVv6EJrVAOvB2JgLDv)


<!-- ai model license lint -->


## Install (PyPI)

```
pip install readystack-ai-model-license-lint
ai-model-license-lint --help
```
