Barcode Scanner

io.github.domdomeggPublished by GitHub account domdomeggv1.2.0Updated Nov 3, 2026

Scan and generate barcodes and QR codes.

VerifiedSTDIODesktop onlyDeveloper ToolsMedia & Design

Overview

AI-generated overview

Local MCP server that lets an assistant decode barcodes and QR codes from images and generate QR code or barcode PNGs.

What you can do
  • Decode a barcode or QR code from an image file or base64 data, returning the decoded text and detected format
  • Generate a QR code PNG from text or a URL, with configurable error correction
  • Generate a barcode PNG in 25+ formats such as Code 128, EAN-13 and UPC-A
When to use it
Useful when you want an assistant to read a barcode or QR code from a photo, create QR codes for links, produce barcode images for shipping labels or tracking numbers, or verify printed codes before a lookup.
Requirements
Runs as a local process via npx from the npm package barcode-scanner-mcp over stdio; the MCP_TRANSPORT environment variable is required. No authentication is declared. Desktop-only; not available as a web executable.
Before you install
Images and base64 data you pass in are processed by the local server, so avoid sending sensitive documents or codes you would not want decoded. Generated images are written as PNG output; check where files are saved. No credentials or payments are involved.

Installation

In SourceWeft

  1. Open Barcode Scanner in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

ToolDescription
decode_imageDecode a barcode or QR code from an image file or base64 data
generate_qrGenerate a QR code PNG from text or a URL
generate_barcodeGenerate a barcode PNG in 25+ formats (Code 128, EAN-13, UPC-A, etc.)

Contributing

Pull requests are welcomed on GitHub! To get started:

  1. Install Git and Node.js
  2. Clone the repository
  3. Install dependencies with npm install
  4. Run npm run test to run tests
  5. Build with npm run build

Releases

Versions follow the semantic versioning spec.

To release:

  1. Use npm version <major | minor | patch> to bump the version
  2. Run git push --follow-tags to push with tags
  3. Wait for GitHub Actions to publish to the NPM registry.

Source: README.md at commit 7470365

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.2.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts