barcode-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-mcp generate a QR code that links to 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.
@convalexa/barcode-mcp
MCP (Model Context Protocol) server that gives AI assistants Convalexa's barcode, QR and RFID/EPC tools — generate, bulk-generate, encode EPCs and decode barcodes. Runs locally over stdio; nothing is uploaded.
Built by Convalexa Solutions LLP — Make-in-India UHF RFID & barcode. Companion to the free web tools at https://www.convalexa.in/tools/.
Tools
Tool | What it does |
| Encode SGTIN-96 / SSCC-96 / GIAI-96 EPC (hex + EPC URI + 96-bit binary) from a GS1 company prefix, reference and serial, per the GS1 EPC Tag Data Standard. |
| Generate a 1D barcode (Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14) or QR as a PNG. |
| Generate a QR code as a PNG (convenience wrapper). |
| Generate up to 50 barcodes/QRs at once from a list. |
| Decode 1D/2D barcodes from an image (base64 or file path) → value + format. |
encode_epccomputes the EPC value to write to a tag — a browser/host cannot program a physical tag. SGTIN-96 output is validated against the GS1 reference vector3074257BF7194E4000001A85.
Related MCP server: eanscan-mcp
Install
Claude Desktop / Claude Code (after npm publish)
{
"mcpServers": {
"convalexa-barcode": {
"command": "npx",
"args": ["-y", "@convalexa/barcode-mcp"]
}
}
}Local / from source (before publish)
{
"mcpServers": {
"convalexa-barcode": {
"command": "node",
"args": ["/absolute/path/to/convalexa-mcp/src/index.js"]
}
}
}Claude Desktop config lives at: macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json. For Claude Code: claude mcp add convalexa-barcode -- npx -y @convalexa/barcode-mcp.
Remote hosting (optional)
For a hosted connector (e.g. https://mcp.convalexa.in/mcp) usable without a local install, run the Streamable HTTP variant on a Node host. Your .aspx/IIS host can't run this — use a Node host (Railway, Fly.io, Render, or a small VPS).
npm install express # express is an optional dependency
PORT=8787 MCP_API_KEY=secret npm run start:http
# endpoints: POST /mcp GET /healthzOr with Docker:
docker build -t convalexa-barcode-mcp .
docker run -p 8787:8787 -e MCP_API_KEY=secret convalexa-barcode-mcpThen point a subdomain (e.g. mcp.convalexa.in) at the host over HTTPS and add it as a custom MCP connector. MCP_API_KEY (optional) requires Authorization: Bearer <key>. The server runs stateless (a fresh MCP instance per request).
Develop
npm install
npm test # unit smoke test (epc vector, generate, decode round-trip)
node test/client.js # end-to-end MCP handshake + tool calls
npm start # run the stdio server directlyStack
Node ≥18, ESM. @modelcontextprotocol/sdk, zod, bwip-js (generation), @zxing/library + jimp (decoding). No network calls; all processing is local.
License
MIT © Convalexa Solutions LLP
Available Tools
5 toolsbulk_barcodeBulk generate barcodesA
Generate many barcodes/QR codes at once from a list. Returns one PNG per item (capped at 50).
Inputs: items (required), scale, height, symbology, +1 more.
decode_barcodeDecode barcode from imageA
Decode 1D and 2D barcodes (QR, Code 128, EAN, UPC, Code 39, DataMatrix, etc.) from an image supplied as a base64 string or a local file path. Returns the decoded value(s) and format(s).
Inputs: path, base64, formats.
encode_epcEncode EPC (UHF RFID)A
Encode an SGTIN-96, SSCC-96 or GIAI-96 EPC for UHF RFID tags from a GS1 company prefix, reference and (for SGTIN) serial. Returns the EPC hex, EPC tag URI and 96-bit binary. This computes the value to write to a tag; it does not program a physical tag.
Inputs: scheme (required), reference (required), companyPrefix (required), filter, +1 more.
generate_barcodeGenerate barcodeC
Generate a 1D barcode (Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14) or QR code as a PNG image.
Inputs: data (required), scale, height, eclevel, +2 more.
generate_qrGenerate QR codeA
Generate a QR code as a PNG image. Convenience wrapper around generate_barcode for QR.
Inputs: data (required), scale, eclevel.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation: decoding, generating a QR, encoding an EPC, generating a general barcode, and bulk generation. The potential overlap between generate_qr and generate_barcode is explicitly resolved by naming generate_qr as a convenience wrapper.
Most tools follow a clear verb_noun pattern (decode_barcode, generate_qr, encode_epc, generate_barcode). bulk_barcode deviates slightly as an adjective_noun, but it's understandable and not chaotic.
With 5 tools, the server covers a coherent set of barcode operations without being bloated. This is an appropriate scope for a specialized barcode MCP server.
The server provides decoding, generation, bulk generation, and EPC encoding, covering common workflows. However, it lacks generation support for 2D formats other than QR (e.g., DataMatrix), which are decodable, creating a minor gap.
Maintenance
Related MCP Connectors
Paid MCP server for EAN, UPC, and GTIN validation, normalization, correction, and batch analysis.
Screenshots, PDFs, image editing, QR codes, email validation and more through one hosted MCP server.
MCP server for real-time product search by barcode (EAN, UPC, GTIN) or keyword on ean-search.org
Generate barcodes and QR codes in 35 symbologies: QR, Data Matrix, PDF417, EAN-13, Code 128, more.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceMCP server for looking up product information by UPC, EAN, GTIN barcodes and PLU produce codes.-
- AlicenseNot gradedqualityCmaintenanceMCP server for looking up EAN/UPC barcodes to get localized product details like title, description, price, and images.8 npm1MIT
- AlicenseNot gradedqualityCmaintenanceProvides GTIN barcode validation and check digit computation for EAN-13, UPC-A, EAN-8, and GTIN-14 formats as an MCP server, part of the Pipeworx gateway.112 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables encoding 100+ barcode symbologies and decoding common 1D/2D formats, plus terminal QR codes.1MIT