Barcode Tools (decode, render, GTIN validate)
Decode, render, validate barcodes: QR, DataMatrix, EAN, UPC, PDF417. All tools free, no auth.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"barcode": {
"url": "https://mcp.casuyi.com/mcp"
}
}
}원격 엔드포인트
https://mcp.casuyi.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (4)
⚪decode_barcode(image_base64, formats)
Detect and decode all barcodes in an image. Input: base64-encoded image bytes (PNG/JPEG/WebP/anything sharp reads). Output: JSON array of {format, text}. Supports QR, Aztec, DataMatrix, Code128/39/93, EAN-13/8, UPC-A/E, ITF, PDF417, Codabar. Use formats filter to restrict results.
입력 스키마
{
"type": "object",
"properties": {
"image_base64": {
"type": "string",
"description": "Base64-encoded image file bytes (no data: URI prefix)"
},
"formats": {
"description": "Optional canonical format ids to keep, e.g. [\"qr\",\"ean13\"]",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"image_base64"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢render_barcode(text, format, scale)
Render text as a barcode PNG. format: one of qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417. Output: base64 PNG plus 'decoded' self-check flag (we decode our own render; upca intentionally verifies as zero-padded EAN-13). GTIN codes must have a valid mod-10 checksum.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Payload to encode (digits for GTIN symbologies)"
},
"format": {
"type": "string",
"description": "Symbology id: qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417"
},
"scale": {
"description": "Rasterization scale, default 6",
"type": "integer",
"minimum": 2,
"maximum": 12
}
},
"required": [
"text",
"format"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢validate_gtin(code)
Check a product code against GTIN rules: length + mod-10 checksum. Returns {valid, type: ean13|ean8|upcA|null, normalized}. Rejects codes with a broken checksum (e.g. 8595234703191).
입력 스키마
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Candidate product code, digits only"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_formats
Static table of supported barcode formats with render/decode support and notes.
입력 스키마
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거