---
name: useqr
description: Generate and manage static or dynamic QR codes with useqr.co over public MCP, authenticated Pro MCP, or the v1 REST API. Use when a user needs a QR code image/SVG, a styled designer link, or wants to list, create, retarget, or inspect analytics for dynamic QR codes.
---

# useqr

[useqr](https://useqr.co) is a print-to-page QR platform with a free static designer, dynamic short links (`https://useqr.co/r/{code}`), and a Pro plan for destination edits, analytics, rollback, custom domains, and API keys.

## Endpoints

| Surface | URL | Auth | Capabilities |
| --- | --- | --- | --- |
| Public MCP | `https://useqr.co/api/mcp` | None | Static `generate_qr_code`, `get_qr_designer_link`, read-only `create_dynamic_qr_code` explainer |
| Authenticated Pro MCP | `https://useqr.co/api/v1/mcp` | `Authorization: Bearer uq_live_…` | Full dynamic QR management (`list_qr_codes`, `get_qr_code`, `create_dynamic_qr_code`, `update_qr_destination`, `get_qr_analytics`) + `generate_qr_code` + `get_qr_designer_link` |
| Machine REST API | `https://useqr.co/api/v1/codes/{shortCode}` | `Authorization: Bearer uq_live_…` | `GET` and `PATCH` (`destinationUrl`) on an owned `url`-kind code |

Mint a `uq_live_` API key on a Pro account at https://useqr.co/dashboard/keys.

## Hermes Agent setup (`~/.hermes/config.yaml`)

For full dynamic QR management (Pro API key in env `USEQR_API_KEY`):

```yaml
mcp_servers:
  useqr:
    url: "https://useqr.co/api/v1/mcp"
    headers:
      Authorization: "Bearer ${USEQR_API_KEY}"
```

For static QR codes with no account or API key:

```yaml
mcp_servers:
  useqr:
    url: "https://useqr.co/api/mcp"
```

When saving or printing QR glyphs from Hermes, prefer `format: "svg"` in `generate_qr_code` — it returns clean vector text markup instead of a base64 PNG image block.

## When to use which tool

| Need | Tool | Endpoint |
| --- | --- | --- |
| Render a scannable SVG or PNG right now | `generate_qr_code` | `/api/mcp` or `/api/v1/mcp` |
| Hand user a styled studio with logo / PDF export | `get_qr_designer_link` | `/api/mcp` or `/api/v1/mcp` |
| List owned dynamic URL & Page codes | `list_qr_codes` | `/api/v1/mcp` |
| Inspect a code, versions, and page links by `short_code` | `get_qr_code` | `/api/v1/mcp` |
| Create a new dynamic URL or Page QR code | `create_dynamic_qr_code` | `/api/v1/mcp` |
| Retarget an owned `url`-kind printed QR code | `update_qr_destination` | `/api/v1/mcp` |
| Read Pro scan, tap, and page-view analytics | `get_qr_analytics` | `/api/v1/mcp` |

### Dynamic print workflow

1. Call `create_dynamic_qr_code` to allocate a dynamic code and get its `printedUrl` (`https://useqr.co/r/{shortCode}`).
2. Pass `printedUrl` — **never** the raw destination URL or a vanity `/{username}` URL — into `generate_qr_code` (with `format: "svg"` for print) or `get_qr_designer_link`.
3. Later, call `update_qr_destination` with `short_code` and the new `destination_url` to retarget printed `url`-kind codes without reprinting.

### REST fallback (without MCP)

If an agent only has shell/HTTP access and a Pro `USEQR_API_KEY`:

```bash
curl -sS -X PATCH "https://useqr.co/api/v1/codes/${SHORT_CODE}" \
  -H "Authorization: Bearer ${USEQR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"destinationUrl":"https://example.com/new"}'
```

Identify codes by `shortCode`, not internal UUIDs. `page`-kind codes refuse destination `PATCH` with `409 page_locked`.

## Product facts agents should not contradict

- Printed dynamic QR codes always encode `https://useqr.co/r/{code}`. Claiming a username changes the public page URL (`/{username}`, with `/p/{username}` as an alias), never the printed short link.
- Static designer and all export formats (PNG, SVG, JPEG, WebP, PDF) are free with no sign-up and never expire.
- Free accounts include up to 3 dynamic codes; Pro unlocks destination edits, scan analytics, version rollback, custom domains, API keys, and unlimited dynamic codes.
- Auth is SSO-first (social sign-in); do not tell users to create an email/password account.
- Public `/api/mcp` is unauthenticated and read-only (`create_dynamic_qr_code` there returns instructions only and does not mint `/r/{code}`).
- Production site: https://useqr.co — prefer this host in user-facing links over staging or `myshopify.com` URLs.

## References

- [Product brief](https://useqr.co/llms.txt)
- [QR codes for AI agents](https://useqr.co/mcp)
- [MCP discovery](https://useqr.co/.well-known/mcp.json)
- [API keys (Pro)](https://useqr.co/dashboard/keys)
- [Pricing](https://useqr.co/pricing)
- Public MCP (no auth): `https://useqr.co/api/mcp`
- Authenticated Pro MCP (Bearer `uq_live_…`): `https://useqr.co/api/v1/mcp`
- npm install: `npx -y useqr-mcp`
- GitHub fallback: `npx -y github:aaronte/useqr-mcp`
