Extract stock labels verbatim
Read Code 128, EAN-13, UPC-A and 2D barcodes locally so digits and leading zeros stay exact instead of guessed.
Barcode Scanner hands back exact identifiers and symbologies so OpenClaw can verify labels without guessing digits.
Read Code 128, EAN-13, UPC-A and 2D barcodes locally so digits and leading zeros stay exact instead of guessed.
Use bundle MCP scan_image for supplied bytes, or run scripts/scan.mjs with ./runtime to scan local label files on disk.
Decode raw identifiers and symbologies locally without querying external retail, book or inventory databases.
Provide the image, copy the prompt and check the decoded content against the original.
Create a Code 128 barcode holding 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.Using the scanner, OpenClaw outputs the exact identifier and symbology instead of guessing.
Sample output for barcode-reference.png.
Setup routes, barcode formats, leading zeros, local privacy and MIT licence.
Choose the ClawHub plugin bundle for both the skill and stdio MCP config sharing one ./runtime folder, or pick the standalone ClawHub skill (clawhub install qrcode-barcode-scanner) if you only want scripts/scan.mjs.
The bundle ships without precompiled engine binaries. Running node scripts/setup.mjs installs @qrcode-ai-com/qrcode-barcode-scanner-mcp with scripts disabled, verifies ENGINE-LICENSE and sets up ./runtime for both MCP and the skill helper.
It reads 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. The scanner makes zero network calls during decoding and never queries product or ISBN APIs.
Inside the OpenClaw bundle, MCP scan_image accepts supplied base64 image bytes only. To scan a local image file on disk inside your workspace, invoke the bundled skill helper scripts/scan.mjs with --engine-root ./runtime.
Every detected symbol returns together inside the same detections array, each labelled with its symbology and exact content.text. Check each item's symbology rather than assuming index 0 is the barcode.
Decoding runs locally on your machine using Node.js 22.19+ or 24+ (OpenClaw sends conversation text to your configured LLM). Current bundle, skill, MCP adapter and engine releases are free under the MIT licence, independent of QR Code AI paid plans.
Check the official OpenClaw setup source and the MIT scanner adapter specification.