Barcode Scanner
Scan and generate barcodes and QR codes.
Ask AI about Barcode Scanner
Powered by Claude Β· Grounded in docs
I know everything about Barcode Scanner. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
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
claude mcp add barcode-scanner-mcp -- npx -y barcode-scanner-mcp
Or with HTTP transport:
# Start the server
MCP_TRANSPORT=http PORT=3000 npx -y barcode-scanner-mcp
# Add to Claude
claude mcp add --transport http barcode-scanner-mcp http://localhost:3000/mcp
Tools
| Tool | Description |
|---|---|
decode_image | Decode a barcode or QR code from an image file or base64 data |
generate_qr | Generate a QR code PNG from text or a URL |
generate_barcode | 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 install - Run
npm run testto run tests - Build with
npm run build
Releases
Versions follow the semantic versioning spec.
To release:
- Use
npm version <major | minor | patch>to bump the version - Run
git push --follow-tagsto push with tags - Wait for GitHub Actions to publish to the NPM registry.
