# Barcode Generator — MCP tool `findutils:barcode_generator`

Generate a 1D barcode as an SVG string from text. Supports CODE128 (any printable ASCII) and CODE39 (A-Z, 0-9, space, -.$/+%); EAN13, EAN8 and UPC inputs are digit-validated and drawn with the CODE128 symbology, exactly like the web page. Returns the SVG, the bar/space bit pattern, and the image size.

- Category: generators
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/barcode-generator/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/barcode-generator/
- Same tool on the other surface: https://findutils.com/api/barcode-generator/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "barcode_generator",
      "arguments": {
        "text": "ABC-123",
        "type": "CODE128"
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes | Text to encode (1-80 characters). |
| `type` | string (CODE128 \| CODE39 \| EAN13 \| EAN8 \| UPC) | no | Barcode type. Default "CODE128". Default: `"CODE128"`. |
| `bar_width` | integer | no | Width of one module in pixels (1-10). Default 2. Default: `2`. |
| `height` | integer | no | Bar height in pixels (20-500). Default 100. Default: `100`. |
| `show_text` | boolean | no | Print the text under the bars. Default true. Default: `true`. |

Example arguments (verified):

```json
{
  "text": "ABC-123",
  "type": "CODE128"
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/barcode-generator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "ABC-123",
    "type": "CODE128"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/barcode-generator
```

Full REST reference: https://findutils.com/api/barcode-generator/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
