Barcode

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.6更新於 Oct 28, 2026

QR codes and barcodes offline: WiFi, vCards, SEPA payment codes, Code 128, EAN-13, SVG or PNG.

已驗證STDIO僅桌面金融媒體與設計

概覽

AI 產生的概覽

離線產生 QR 碼與條碼——網址、WiFi、vCard、SEPA 付款碼、Code 128、EAN-13——以 SVG 或 PNG 檔案存在本機。

可以做什麼
  • 把文字或網址產生成指定容錯等級的 QR 碼,輸出 SVG 或 PNG
  • 產生掃描即可加入網路的 WiFi 碼與 vCard 3.0 聯絡人碼
  • 以 IBAN、姓名、金額與附註產生 EPC069-12 SEPA 付款碼及發票付款碼
  • 產生 Code 128、EAN-13、EAN-8、UPC-A 條碼,並計算或驗證檢查碼
  • 一次呼叫把多個碼批次寫入指定目錄(Pro)
  • 列出已產生的碼、查看本月免費額度,以及查詢或啟用授權
適用情境
適合在對話中直接產出並存成檔案的場合:傳單上的網址 QR 碼、辦公室牆上的 WiFi 碼、研討會識別證的 vCard、發票的付款碼,或商品與貨架標籤的條碼。
執行需求
以本機程序在桌面端執行。README 中的 npx 套件尚未發布,目前可用 .mcpb 一鍵包或自行複製後建置安裝。不需要帳號、API 金鑰、環境變數或網路連線。
安裝前請注意
免費版每月上限 20 個碼且僅支援 SVG;PNG 輸出與批次產生需要付費 Pro 授權金鑰。碼會寫入你指定的路徑,並在本機資料目錄保留一份產生紀錄。付款碼含有 IBAN 與收款人資訊,分享前請先核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Barcode,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-barcode

Make a QR code or a barcode in the conversation you are already in. Paste a URL and get a QR code you can put on a flyer. Give a client's invoice an EPC payment code their banking app scans and fills in for them. Print an EAN-13 for a product, a Code 128 for a shelf label, a WiFi code for the office wall, a vCard for a conference badge. Everything is drawn on your machine: no upload, no account, no API key, and no network call of any kind.

In the official MCP Registry (io.github.theluckystrike/barcode-qr-code-sepa-payment-ean13).

Listed on the AI Product Index - live remote endpoint at mcp.zovo.one/s/barcode, free tier, no signup.

[barcode demo]

npm publish for @theluckystrike/mcp-barcode is pending, so npx -y @theluckystrike/mcp-barcode returns 404 today. Until then, the .mcpb one-click bundle or a clone+build is the working path.

Install

Claude Desktop, ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "barcode": { "command": "npx", "args": ["-y", "@theluckystrike/mcp-barcode"] }  }}

Claude Code:

sh
claude mcp add barcode -- npx -y @theluckystrike/mcp-barcode

Cursor, .cursor/mcp.json:

json
{  "mcpServers": {    "barcode": { "command": "npx", "args": ["-y", "@theluckystrike/mcp-barcode"] }  }}

Tools

toolwhat it does
qr_createText or a URL as a QR code, at any error correction level, SVG or PNG
qr_wifiA code that joins a WiFi network when scanned
qr_vcardA code that adds a contact (vCard 3.0)
qr_payment_sepaAn EPC069-12 payment code a euro banking app scans: IBAN, name, amount, reference
invoice_payment_qrThe payment code for an invoice, using the IBAN and name from your shared business profile
barcode_createCode 128, EAN-13, EAN-8 or UPC-A, with the check digit computed or verified
barcode_batchMany codes in one call, into a directory (Pro)
code_listWhat you have generated, and how much of this month's free allowance is left
license_status, license_activateFree or Pro, and activating a key

Free vs Pro

FreePro
Codes per calendar month20Unlimited
SVG (prints at any size)YesYes
PNGNoYes, 32 to 4000 px
barcode_batchNoYes, up to 500 rows a call
QR, WiFi, vCard, SEPA payment codes, all four barcode symbologiesYesYes

Get Pro: https://mcp.zovo.one/buy/barcode - $19 one time, or $39 for every server in the suite, lifetime. Keys verify offline; nothing is sent anywhere.

A wrong check digit is refused, not redrawn

Give barcode_create twelve digits and the thirteenth is computed for you. Give it thirteen and the thirteenth is checked:

Error: EAN-13 check digit is wrong: "5901234123450" ends in 0, but the first 12 digits give 7.Pass 5901234123457, or pass the first 12 digits and the check digit is computed. Nothing was written.

The alternative, silently redrawing the code the caller asked for, prints a label that scans as a different product, and nobody finds out until the till. The same rule applies to the IBAN in a payment code: it is validated with ISO 7064 mod 97 before anything is drawn, so a transposed pair of digits is caught here rather than by a payment that goes nowhere.

Measured: error correction M is free on a SEPA payment code, Q and H are not

A typical EPC payment record (IBAN, beneficiary, EUR 120.50, an invoice number) is 73 bytes. QR codes come in fixed capacity steps, so raising the error correction level does not raise the code size smoothly:

levelrecoverableQR versionmodules a sidechange
L7%433baseline
M15%433no change at all
Q25%641+24%
H30%745+36%

L and M land in the same version 4 symbol: at this payload size the extra recovery data still fits in the same box, so choosing L over M buys nothing and gives up half the damage tolerance. That is why M is the default here. Q and H are worth asking for only when the code will be printed small, on something that creases, or behind a logo. On a 300 px PNG the same step costs bytes too: 2,419 at M against 3,462 at H.

Measured: SVG is flat, PNG grows 14x, and they cross at about 200 px

The same payment code written both ways, at five sizes:

requested sizePNG bytesSVG bytes
128 px1,4812,079
256 px2,1862,079
512 px3,5892,079
1024 px7,5852,081
2048 px21,6882,081

An SVG carries the module grid, not the pixels, so its size barely moves: the two extra bytes at 1024 px are the width attribute getting longer. Below roughly 200 px a PNG is smaller; above it the PNG grows without limit and the SVG does not, and the SVG is the one that stays sharp when a printer scales it up. That is the reason the free tier is the SVG tier rather than a small-PNG tier: for the thing most people do with a code, put it in a document and print it, SVG is the better file, not the consolation prize.

Privacy

Everything stays on your machine. There is no network code in this server at all: no fetch, no HTTP client, no telemetry. Codes are written where you say, and a small register of what was generated lives under ~/.local/share/mcp-servers/barcode/ (or $XDG_DATA_HOME). License keys verify offline with a public key.

Built by theluckystrike. Support: [email protected]

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

來源:servers/barcode/README.md,提交 1bd9d69

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.22.6最新Oct 14, 2026
  2. v0.22.1Sep 18, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分