barcode-scanner-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@barcode-scanner-mcp Generate a QR code for https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: mcp-scan-qr
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
Tool | Description |
| Decode a barcode or QR code from an image file or base64 data |
| Generate a QR code PNG from text or a URL |
| Generate a barcode PNG in 25+ formats (Code 128, EAN-13, UPC-A, etc.) |
Contributing
Pull requests are welcomed on GitHub! To get started:
Install Git and Node.js
Clone the repository
Install dependencies with
npm installRun
npm run testto run testsBuild with
npm run build
Releases
Versions follow the semantic versioning spec.
To release:
Use
npm version <major | minor | patch>to bump the versionRun
git push --follow-tagsto push with tagsWait for GitHub Actions to publish to the NPM registry.
Available Tools
3 toolsdecode_imageDecode barcode/QR codeARead-only
Decode barcodes and QR codes from a base64-encoded image. Returns all codes found. Supports QR, EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, ITF, Codabar, and PDF 417. Handles noisy real-world photos by trying multiple preprocessing approaches.
Inputs: image (required), format_hint. Returns: codes
generate_barcodeGenerate barcodeARead-only
Generate a barcode image in various formats. Returns a PNG image. Supported formats: code128, code39, code93, ean13, ean8, upca, upce, itf14, interleaved2of5, isbn, issn, ismn, datamatrix, pdf417, azteccode, gs1-128, pharmacode, codabar, msi, plessey, postnet, onecode, royalmail, code11, code49.
Inputs: text (required), format (required), scale, height, +1 more.
generate_qrGenerate QR codeARead-only
Generate a QR code image from text or a URL. Returns a PNG image.
Inputs: text (required), scale, error_correction.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: decoding images, generating QR codes, and generating barcodes. There is no overlap or ambiguity between the tools.
All tool names follow a consistent verb_noun pattern: decode_image, generate_qr, generate_barcode. The naming is uniform and predictable.
With only 3 tools, the server is well-scoped and every tool serves a necessary core function in barcode/QR handling. The count is ideal for the domain.
The server provides both decoding and generation capabilities for barcodes and QR codes, covering the primary lifecycle of barcode operations. No obvious gaps exist within the stated purpose.
Maintenance
Related MCP Connectors
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
Generate barcodes and QR codes in 35 symbologies: QR, Data Matrix, PDF417, EAN-13, Code 128, more.
Remote MCP server for Scanduro QR codes, scan analytics and controlled code actions.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn advanced MCP server for generating styled QR codes with logos, batch processing, and specialized formats like WiFi or vCards. It also provides tools to decode existing QR code images and analyze their quality or content.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides tools for scanning and extracting data from QR codes using single or multiple image URLs. It supports both individual and batch processing to retrieve encoded information from images hosted online.13 npmMIT
- FlicenseNot gradedqualityDmaintenanceMCP server for creating and managing trackable QR codes. 6 tools, 12 QR types, scan analytics.-
- AlicenseNot gradedqualityCmaintenanceMCP server for looking up EAN/UPC barcodes to get localized product details like title, description, price, and images.8 npm1MIT