Read barcode labels in Goose
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally in Goose with digits and leading zeros preserved.
Barcode Scanner returns exact identifiers and symbologies so Goose can check labels without guessing digits.
Decode Code 128, EAN-13, UPC-A and 2D fixtures locally in Goose with digits and leading zeros preserved.
Pre-install @qrcode-ai-com/qrcode-barcode-scanner-mcp locally and run with node if the first npx download exceeds ~10s.
Switch off Goose’s developer extension when using MCP only, and keep retail or stock lookups in external systems.
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, Goose 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 goose plugin install https://github.com/qrcode-ai-com/qrcode-barcode-scanner-plugin.git for the skill and scan_image server, or copy goose/qrscan-extension.yaml on GitHub under extensions: in ~/.config/goose/config.yaml with QRSCAN_MCP_ALLOWED_DIRECTORIES to enable scan_file.
Goose waits about 10 seconds for an MCP server’s first reply (timeout: 300 does not extend that initial wait). Pre-install @qrcode-ai-com/qrcode-barcode-scanner-mcp locally with npm and start it with node for instant start-up.
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.
Yes, for MCP. Switch it off by setting enabled: false under developer in ~/.config/goose/config.yaml because the MCP server needs no shell access. Only scripts/scan.mjs requires a shell.
Move ~/.agents/plugins/qrcode-barcode-scanner out of ~/.agents/plugins/, delete its entry under plugins: in ~/.config/goose/config.yaml and remove any custom extensions: entry.
Decoding runs locally on Node.js 22.19+ or 24+ (Goose sends conversation 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 Goose setup source and the MIT scanner adapter contract.