LabelProof ZPL Linter
v0.1.0Lint ZPL barcode labels with LabelProof.
Stdio MCP server for LabelProof, a ZPL validator / ZPL linter for Zebra barcode labels. It finds problems that survive every viewer and still fail at the scanner: GS1-128 bar width, Code 128 subset C dropping a digit, quiet-zone and edge issues, and fields that print off the printhead. This package is an HTTP client, not a second engine. It calls the public LabelProof API so a label is always checked against the current catalogue. A key is optional. Without one you are on the free tier: the same 43 shipping rules, 60 lints and 12 renders per IP per minute, and no monthly render quota.
Summary extracted from the README.
labelproof-mcp
Stdio MCP server for LabelProof, a ZPL validator / ZPL linter for Zebra barcode labels. It finds problems that survive every viewer and still fail at the scanner: GS1-128 bar width, Code 128 subset C dropping a digit, quiet-zone and edge issues, and fields that print off the printhead.
This package is an HTTP client, not a second engine. It calls the public LabelProof API so a label is always checked against the current catalogue.
Package version 0.1.0. Tools:
lint_zplposts one label toPOST https://labelproof.dev/api/lint. You must providedpi(203,300or600) andprofile(gs1_logistic,gs1_otherornon_gs1), and exactly one ofzplorfile_path.renderdefaults to true; set it false for the source-only pass (no render quota). The preview PNG is omitted unlessinclude_previewis true.list_rulescallsGET https://labelproof.dev/api/rules.get_rulecallsGET https://labelproof.dev/api/rules/{id}.
API key
A key is optional. Without one you are on the free tier: the same 43 shipping rules, 60 lints and 12 renders per IP per minute, and no monthly render quota. Set LABELPROOF_API_KEY when you want a private bucket (shared CI runners, or heavier use). An invalid key produces a clear error telling you to check that variable. LABELPROOF_ENDPOINT can point at a self-hosted instance.
The service does not store labels sent to /api/lint. See privacy.
This is not an ISO/IEC 15416 print-quality grade. No amount of ZPL source produces one.
Install with npx -y labelproof-mcp. Registry name in server.json: io.github.wenboteng/labelproof. The Glama maintainer file glama.json lives at the repository root. The pinned MCP image is mcp/Dockerfile in this folder. The repository-root Dockerfile is the GitHub Action image for the CLI, and must not be replaced.
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"labelproof": {
"command": "npx",
"args": ["-y", "labelproof-mcp"]
}
}
}
Optional key:
{
"mcpServers": {
"labelproof": {
"command": "npx",
"args": ["-y", "labelproof-mcp"],
"env": {
"LABELPROOF_API_KEY": "lp_your_key"
}
}
}
}
Cursor
~/.cursor/mcp.json or .cursor/mcp.json:
{
"mcpServers": {
"labelproof": {
"command": "npx",
"args": ["-y", "labelproof-mcp"]
}
}
}
VS Code
.vscode/mcp.json:
{
"servers": {
"labelproof": {
"type": "stdio",
"command": "npx",
"args": ["-y", "labelproof-mcp"]
}
}
}
From a checkout of labelproof-cli, before the npm publish: cd mcp && npm install && npm run build, then node dist/index.js.
Docs: https://labelproof.dev/docs · Rules: https://labelproof.dev/rules · CLI: npx labelproof
MIT. Copyright (c) 2026 Wenbo Teng.