Verify barcode labels in Pi tasks
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally in Pi agent with digits and leading zeros preserved.
Barcode Scanner returns exact identifiers and symbologies so Pi agent can check labels without guessing digits.
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally in Pi agent with digits and leading zeros preserved.
Declared under pi.extensions in package.json to wire up the local qrscan stdio MCP server cleanly.
Loaded from skills/ via pi.skills so identifiers stay verbatim strings without external product catalogue calls.
Supply the image, copy the request and compare the returned content.
Create a Code 128 barcode containing STOCK-4827 and save it as barcode-reference.png.
Read barcode-reference.png with Barcode Scanner.
Return the complete identifier as text and its format.
Preserve leading zeros. Do not run external lookups.
If the tool is unavailable or detects nothing, report that
instead of guessing.With the scanner, Pi agent returns the exact identifier and its format rather than a guess.
Example result for barcode-reference.png.
Setup routes, barcode formats, leading zeros, local privacy and MIT licence.
Run pi install git:github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin (or append @<release-tag> from GitHub Releases to pin a release).
Pi reads package.json (pi.skills and pi.extensions) from qrcode-barcode-scanner-plugin on GitHub, loading skills/qrcode-barcode-scanner and pi/extension.js to register the local qrscan MCP server.
It supports 16 barcode symbologies: Code 128, Code 39, Code 93, EAN-13 (including ISBN), EAN-8, UPC-A, UPC-E, ITF, Codabar, Telepen, GS1 DataBar, GS1 DataBar Expanded, Data Matrix, PDF417, Aztec and MaxiCode, plus QR codes.
Yes. content.text is always returned as a verbatim string so leading zeros stay intact, and EAN-13 reports also parse the 14-digit GS1 GTIN. No external retail, pricing or ISBN database is queried.
Only after you opt in. By default qrscan exposes scan_image (base64 bytes) only; set QRSCAN_MCP_ALLOWED_DIRECTORIES in the server env to allow local folders for scan_file.
Run pi remove git:github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin.
Decoding runs locally on Node.js 22.19+ or 24+ (Pi sends chat text to your LLM). Current plugin, skill, MCP server and engine releases are free and MIT-licensed, separate from QR Code AI paid plans.
Inspect the official Pi agent setup source and the MIT scanner adapter contract.