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 生成的概览

在对话中本地生成二维码和条形码:网址、WiFi 连接、vCard、SEPA 支付码、EAN-13 与 Code 128,输出 SVG 或 PNG。

可以做什么
  • 把文本或网址生成为二维码,可选纠错级别,输出 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 分