barcoding-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
barcoding-mcp
An MCP server that encodes 100+ barcode symbologies (via bwip-js) and
decodes all the common 1D/2D formats (via zxing-wasm), with zero native
dependencies. Node runtime, served over both stdio and streamable HTTP.
Plus an ASCII/Unicode terminal QR for output that needs no image channel.
The funnel is asymmetric on purpose: encode 100+, decode the common set, round-trip-verified where both overlap. We do not claim "decode anything."
Direction | Library | Coverage |
Encode | 100+ symbologies (full BWIPP) | |
Decode | ~20 common 1D/2D (QR, Micro QR, DataMatrix, Aztec, PDF417, MaxiCode, Code128/39/93, EAN/UPC, ITF, Codabar, DataBar) | |
Terminal QR | block-character QR, pure text |
Tools
Tool | Purpose |
| Render a barcode (bcid + text + typed common options + freeform |
| Encode data to a block-character QR. |
| Detect + decode 1D/2D barcodes from an image ( |
| Decode many images in one call; per-item results, isolated errors. |
| Rasterize a PDF (mupdf WASM) and pull every barcode, tagged with page number. |
| Parse a decoded GS1 string into structured Application Identifiers (GTIN, dates, batch, serial, weights…). |
| Encode → decode the render → assert the payload round-trips. Self-verifying label QA. |
| Supported symbologies flagged encode / decode / both. |
| Valid encode options for a bcid, segmented |
Related MCP server: barcode-mcp
Install & run
npm (stdio — for Claude Code, Cursor, local agents)
npx @cordfuse/barcoding-mcp # stdio transport (default)
npx @cordfuse/barcoding-mcp --http # streamable HTTP on :3900MCP client config (stdio):
{
"mcpServers": {
"barcoding": { "command": "npx", "args": ["-y", "@cordfuse/barcoding-mcp"] }
}
}Docker / GHCR (streamable HTTP — for remote wiring)
docker run -p 3900:3900 ghcr.io/cordfuse/barcoding-mcp:latest
# or, from a checkout:
docker compose -f docker/compose.yaml upServes streamable HTTP at http://<host>:3900/mcp, with a liveness probe at
/health. Port is settable via the PORT env. stdio is per-invocation and not
containerised — the image is the HTTP endpoint.
Repository layout (monorepo)
barcoding-mcp/
packages/
mcp/ @cordfuse/barcoding-mcp (the server) → packages/mcp/README.md
docker/ Dockerfile + compose.yaml (the --http server)
.github/ CI + release workflowsnpm workspace; node_modules hoists to the root.
Development
npm ci # install (root)
npm run build -w @cordfuse/barcoding-mcp # tsc + copy option catalog into dist
npm test -w @cordfuse/barcoding-mcp # node:test smoke suite
npm run gen:options -w @cordfuse/barcoding-mcp # regenerate the option catalog from bwip-jsThe list_symbology_options catalog is generated from bwip-js's own sources
(dist/bwip-js-gen.d.ts for common options, barcode.ps for the per-symbology
option preambles) into packages/mcp/src/data/symbology-options.json.
CI / Release
CI (
.github/workflows/ci.yml) — typecheck + build + test on Node 20 & 22 for every push and PR tomain.Release (
.github/workflows/release.yml) — pushing av*tag publishes:the npm package
@cordfuse/barcoding-mcp(guards that the tag matches the package version), andthe Docker image
ghcr.io/cordfuse/barcoding-mcp:<version>+:latest.
npm version patch -w @cordfuse/barcoding-mcp
git commit -am "release vX.Y.Z" && git tag vX.Y.Z && git push --follow-tagsSecrets: npm publish needs the org NPM_TOKEN (this repo must be on the
org token's selected-repo allow-list). GHCR uses the built-in GITHUB_TOKEN
(packages: write) — no secret required.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate barcodes and QR codes in 35 symbologies: QR, Data Matrix, PDF417, EAN-13, Code 128, more.
Static QR codes and 1-D barcodes (Code 128, EAN-13, UPC-A, EAN-8) as SVG, PNG or data URL.
Decode, render, validate barcodes: QR, DataMatrix, EAN, UPC, PDF417. All tools free, no auth.
Generate QR codes (URL, WiFi, vCard) and barcodes as PNG/SVG
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables barcode decoding from URLs, uploaded files, or raw bytes via HTTP and MCP, supporting formats like EAN13, QRCode, and DataMatrix.MIT
- AlicenseAqualityDmaintenanceMCP server for generating and decoding barcodes, QR codes, and encoding RFID EPCs according to GS1 standards. All processing is local with no network calls.5MIT
- AlicenseAqualityBmaintenanceMCP server for scanning and generating barcodes and QR codes. Enables decoding barcodes from images, generating QR codes, and creating barcodes in multiple formats.362 npm1MIT
- AlicenseAqualityAmaintenanceEnables AI assistants to decode QR codes from images, with tools for scanning full images and enhancing blurry or reflective regions before decoding, plus quality diagnostics to guide retry strategies.3MIT