Qr Code

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

QR codes from your AI chat: WiFi joins, vCards, SEPA payment codes, EAN-13. SVG or PNG.

已驗證STDIO僅桌面效率與工作流媒體與設計

概覽

AI 產生的概覽

在對話中於本機產生 QR 碼與條碼:網址、WiFi 連線、vCard、SEPA 付款碼、EAN-13 與 Code 128,輸出 SVG 或 PNG。

可以做什麼
  • 把文字或網址產生為 QR 碼,可選糾錯等級,輸出 SVG 或 PNG
  • 產生 WiFi 連線碼、vCard 聯絡人碼與 SEPA/EPC 付款碼,並可依商務資料產生發票付款碼
  • 產生 Code 128、EAN-13、EAN-8 與 UPC-A 條碼,自動計算或驗證檢查碼
  • 一次呼叫批次產生多個碼並寫入目錄(Pro)
  • 列出已產生的碼並查看本月免費額度剩餘
  • 查詢授權狀態並啟用 Pro 金鑰
適用情境
適合在對話中直接產出可掃描的碼:傳單上的網址、辦公室牆上的 WiFi 碼、研討會識別證的聯絡人卡、發票用的歐元付款碼或商品條碼,不必離開聊天或上傳資料。
執行需求
以本機程序在桌面端執行。README 中的 npx 安裝方式尚未發布,目前可用 .mcpb 一鍵包或複製後自行建置。不需帳號、API 金鑰或網路連線;選用的 Pro 授權金鑰透過 MCP_LICENSE_KEY 提供。
安裝前請注意
免費版每月上限 20 個碼且僅支援 SVG;PNG 輸出與批次產生需要付費 Pro 授權(一次性 19 美元,或 39 美元取得整套伺服器)。付款碼會包含 IBAN 與收款人資訊,本機資料目錄會保留一份產生紀錄。檢查碼或 IBAN 有誤時會被拒絕,不會自動更正。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Qr Code,將其新增到工作區。
  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.5最新Oct 14, 2026
  2. v0.21.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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