npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

labelixa-mcp

v0.3.1

Published

MCP server for the Labelixa API: preview ZPL labels as PNG, validate ZPL with structured diagnostics, generate barcodes.

Readme

labelixa-mcp

MCP (Model Context Protocol) server for the Labelixa API. Lets AI assistants that speak MCP (Claude Desktop, Claude Code and other MCP clients) work with Zebra ZPL label code directly:

| Tool | What it does | |---|---| | zpl_preview | Renders ZPL to a PNG image for inspection. Server-side render — not a guarantee of how a specific physical printer will output the label. | | zpl_validate | Lints ZPL and returns the structured diagnostics report (unknown commands, parameter ranges, layout overflow) as JSON. Pass the real label size — checks depend on it. | | barcode_generate | Generates a standalone barcode (SVG or PNG): code128, code39, ean13, upca, upce, itf14, msi, qrcode, datamatrix, pdf417. | | language_detect | Detects the printer language of raw label code (ZPL/EPL/TSPL/CPCL). Heuristic — returns a confidence tier, not a probability. | | epl_validate | Lints EPL/EPL2 code; positioned findings with severity, as JSON. | | tspl_validate | Lints TSPL/TSPL2 code; positioned findings with severity, as JSON. | | cpcl_validate | Lints CPCL code; positioned findings with severity, as JSON. | | zpl_compatibility | Compatibility RISK analysis of ZPL against a printer model. Not an emulator — reports language posture with evidence level; never says "it works". | | zpl_command_help | Looks up one ZPL command in the maintained catalog: name, syntax, parameters and whether the preview engine actually renders it — printer-side commands are marked as not rendered. | | convert_zpl_dpi | Rescales ZPL coordinates between printer resolutions (203/300/600 dpi). Embedded ^GF/~DG bitmaps are NOT rescaled — a warnings block precedes the output when present. | | explain_zpl | Full sectioned health report (syntax, size/DPI, orientation, barcodes, fonts, memory) with an honest score — sections it cannot assess say "not assessed" instead of counting. |

Installation

npm install -g labelixa-mcp

Or skip installing and run it with npx straight from your MCP client config (below).

Also available as a remote server on Smithery (labelixa/zpl) — no local install at all; the gateway connects to our hosted MCP endpoint. Listed in the official MCP Registry as com.labelixa/zpl (remote server + this npm package).

smithery badge

Configuration

Environment variables:

  • LABELIXA_API_KEY — optional lbx_ API key. Without it the anonymous quota applies. Get a key at labelixa.com.
  • LABELIXA_BASE_URL — optional; defaults to https://api.labelixa.com.

Example MCP client entry:

{
  "mcpServers": {
    "labelixa": {
      "command": "npx",
      "args": ["-y", "labelixa-mcp"],
      "env": {"LABELIXA_API_KEY": "lbx_..."}
    }
  }
}

Honesty notes

  • Errors carry the server's own message verbatim; quota exhaustion is reported with the server's Retry-After rather than a made-up delay.
  • zpl_preview is a render, not a print: physical output depends on the printer, media and darkness settings.

License: MIT.