domdomegg avatar

Barcode Scanner

domdomegg/barcode-scanner-mcp

This server wraps barcode and QR code operations into three MCP tools. You can decode barcodes from images or base64 data, generate QR codes as PNGs with configurable error correction, and create barcodes in over 25 formats including Code 128, EAN-13, and UPC-A. It's useful when you need Claude to read barcodes from photos users send, generate QR codes for links or data on the fly, or create shipping labels with tracking numbers. Setup works over stdio with npx or you can run it as an HTTP server. The typical flow is asking Claude to scan a barcode image or requesting a QR code for a URL, and it handles the encoding and decoding behind the scenes.

tools
3
auth
Required
transport
STDIO, HTTP
env var
1
last updated
Mar 7, 2026

Tools

3 tools

Public tool metadata for what this MCP can expose to an agent.

decode_imageDecode a barcode or QR code from an image file or base64 data

Decode a barcode or QR code from an image file or base64 data

No parameter schema in public metadata yet.

generate_qrGenerate a QR code PNG from text or a URL

Generate a QR code PNG from text or a URL

No parameter schema in public metadata yet.

generate_barcodeGenerate a barcode PNG in 25+ formats (Code 128, EAN-13, UPC-A, etc.)

Generate a barcode PNG in 25+ formats (Code 128, EAN-13, UPC-A, etc.)

No parameter schema in public metadata yet.

Sponsors

Configuration

MCP_TRANSPORT*

Transport type.

Readme

barcode-scanner-mcp

MCP server for scanning and generating barcodes and QR codes.

Use Cases

Decode a barcode from a photo: "What does this barcode say?" → reads the image, detects the barcode format, and returns the decoded text.

Generate a QR code: "Create a QR code for https://example.com" → generates a PNG QR code image with configurable error correction.

Create shipping labels: "Generate a Code 128 barcode for tracking number 1Z999AA10123456784" → produces a barcode image in the specified format.

Verify printed barcodes: "Scan this product barcode and look up the item" → decodes the barcode and returns the text for further lookup.

Setup

Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more).

Tools


View the full README on GitHub

Details

Repository
github.com/domdomegg/barcode-scanner-mcp
Website
github.com/domdomegg/barcode-scanner-mcp#readme
Package
barcode-scanner-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active

More from domdomegg