# OpenQR

Generates static and editable dynamic QR codes, customizes styling, and collects scan analytics directly inside AI coding assistants.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 12
- Author: open-qr
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/open-qr/openqr
- Updated: 2026-09-15
- HTML: https://affpapa.org/en/nevibecode/mcp/openqr

## What it does

The MCP server connects coding clients to `https://openqr.uk/mcp`. It lets your assistant render static codes in PNG or SVG markup. It also handles dynamic codes whose destination URL updates later without reprinting. Batch generation creates up to 200 codes at once.

Organization tools include folders, tags, and reusable visual themes. You can pick colors along with dot and corner styles. Pre-built styles arrive as MCP resources, and four bundled prompts handle tasks like scan reports.

Calls will fail without an API key. Every tool requires credentials passed through the authorization header or the `OPENQR_API_KEY` variable.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://openqr.uk/mcp`
- Environment variables: `OPENQR_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add qr -e OPENQR_API_KEY=<OPENQR_API_KEY> -- npx -y @open-qr/mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http openqr https://openqr.uk/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add openqr --url https://openqr.uk/mcp
```

2. **Platform CLI**
```bash
codex mcp add openqr --env OPENQR_API_KEY=<OPENQR_API_KEY> -- npx -y @open-qr/mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "openqr": {
            "url": "https://openqr.uk/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "openqr": {
            "command": "npx",
            "args": [
                "-y",
                "@open-qr/mcp"
            ],
            "env": {
                "OPENQR_API_KEY": "<OPENQR_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "openqr": {
            "type": "http",
            "url": "https://openqr.uk/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "openqr": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@open-qr/mcp"
            ],
            "env": {
                "OPENQR_API_KEY": "<OPENQR_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http openqr https://openqr.uk/mcp
```

2. **Platform CLI**
```bash
gemini mcp add -e OPENQR_API_KEY=<OPENQR_API_KEY> openqr npx -y @open-qr/mcp
```
Replace <…> with your own values

## When to use it
- render vector SVG QR codes from URLs or plain text
- set up editable dynamic QR codes before printing
- fetch scan analytics and country metrics
- batch create up to 200 dynamic codes with custom tags

## Example prompts
- Generate an SVG QR code pointing to my project repository
- Create an editable dynamic QR code for our new landing page
- Show the scan statistics for my dynamic QR codes

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24271
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18779
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9369
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7548

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
