
ODDWOOD Barcode Tool
io.github.oddwood-xv1.0.0更新于 Oct 5, 2026
Paid MCP server for EAN, UPC, and GTIN validation, normalization, correction, and batch analysis.
概览
通过付费远程 MCP 端点校验、规范化并批量分析 EAN、UPC 和 GTIN 条码。
- 功能
- 提供两个工具:analyze_barcode 可识别条码类型、校验 GTIN 校验位、报告期望值与实际值、给出修正后的条码建议,并规范化为 GTIN-14;analyze_barcode_batch 每次请求最多处理 100,000 个条码,支持重复检测、可选去重、错误与类型统计,并输出 full、errors_only 或 summary 三种结果。前导零会被保留,规范化时可安全去除空格和连字符并返回警告。
- 适用场景
- 适合需要检查或清理大量商品编码、又不想让模型把推理花在校验位计算上的场景,例如校验目录导出数据、对条码列表去重,或在导入前修正无效校验位。
- 运行要求
- 使用远程 streamable HTTP MCP 端点;托管服务无需本地运行时或安装包。每次工具调用通过 x402 支付协议以 Base 网络上的 USDC 付费,因此需要兼容 x402 的客户端和已充值的钱包。README 也说明了本地运行所需的 Node.js 24+ 与 npm 环境。
安装
在 SourceWeft 中
- 打开 控制台中的 ODDWOOD Barcode Tool,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"barcode-tool": {
"type": "http",
"url": "https://barcode-tool.fly.dev/mcp"
}
}
}README
ODDWOOD Barcode Tool
A paid MCP tool for deterministic barcode validation, normalization, and batch analysis.
Built for AI agents and automated workflows that need reliable EAN, UPC, and GTIN processing without spending model reasoning on checksum calculations or large barcode datasets.
Public MCP Endpoint
Transport: Streamable HTTP MCP
Payment: x402
Network: Base
Currency: USDC
Supported Barcode Types
- EAN-8
- UPC-A
- EAN-13
- GTIN-14
Leading zeros are preserved.
Spaces and hyphens can be safely removed during normalization, with a warning returned in the result.
Tools
analyze_barcode
Validates and analyzes a single barcode.
Price: $0.001 USDC per call
Capabilities:
- Barcode type recognition
- GTIN check digit validation
- Expected vs. actual check digit reporting
- Corrected barcode suggestion for invalid check digits
- Detection of unambiguous missing check digits
- GTIN-14 normalization
- Safe formatting cleanup
- Structured errors and warnings
Example input:
Example result:
analyze_barcode_batch
Validates and analyzes up to 100,000 barcodes in one request.
Price: $0.003 USDC per call
Capabilities:
- Batch validation
- Duplicate detection
- Optional deduplication
- Error statistics
- Barcode type statistics
- Internal chunk processing
- Configurable result limits
- Selective result filtering
Output modes:
fullerrors_onlysummary
Results can be filtered by:
- Validity
- Barcode type
- Validation error type
Supported validation error types:
invalid_check_digitmissing_check_digitinvalid_lengthinvalid_charactersempty_inputother
The maximum batch size is 100,000 barcodes.
The default detailed result limit is 10,000 records, with a hard maximum of 50,000 detailed results.
x402 Payments
Tool calls use the x402 payment protocol.
Payments use USDC on Base.
Payment is handled automatically by x402-compatible clients.
Health Endpoint
The health endpoint reports service status, configured network, payment receiver, and current tool prices.
Privacy
The service is designed to process barcode values and does not require personal information.
Do not submit secrets, credentials, private keys, access tokens, or other sensitive information as barcode input.
Development
Requirements:
- Node.js 24+
- npm
Install dependencies:
Run the local stdio MCP server:
Run the free local HTTP MCP server:
Run the x402-enabled server:
Run tests:
License
ISC
Developer
ODDWOOD
来源:README.md,提交 5c47f71
工具
0版本历史
1- v1.0.0最新Oct 5, 2026

