QR Code Scanner API & MCP

Read a QR code from a public image URL in your app or MCP client. Both integrations are free and require no account or API key.

HTTP API

Send a JSON object with a url field to POST /api/v1/scan from your server.

curl -fsS https://the-qr-scanner.com/api/v1/scan \
  -H 'Content-Type: application/json' \
  --data '{"url":"https://the-qr-scanner.com/qr-link-extractor/sample.png"}'

A successful response describes the first QR code found in the image.

{
  "code": "https://example.com/trail-map",
  "type": "url",
  "rect": {
    "x": 246,
    "y": 148,
    "width": 229,
    "height": 229
  }
}

Link safety checks are off by default. Include "checkLinkSafety": true in the JSON body to check the link decoded from the QR code.

Errors include an HTTP status and a JSON error object with code and message fields.

Remote MCP server

Use The QR Scanner as the display name and https://the-qr-scanner.com/mcp as the server URL. Choose Streamable HTTP and No authentication when your client asks.

ChatGPT

  1. Open Plugins in ChatGPT on the web. Select +, then Add custom MCP server.
  2. Enter the name and server URL above, choose No authentication, and create the plugin.
  3. In a chat, select The QR Scanner from the composer’s plugin menu or mention it with @.

Custom MCP access depends on your plan and workspace permissions. ChatGPT setup guide

Codex

In the desktop app, open Settings → MCP servers → Add server, choose Streamable HTTP, enter the server URL, then save and restart. Run these commands in the CLI.

codex mcp add the-qr-scanner --url https://the-qr-scanner.com/mcp
codex mcp list

Use /mcp in a Codex session to check the connection. Codex MCP guide

Claude and Claude Code

In Claude on the web or desktop, open Customize → Connectors → Add custom connector. Enter the server URL, select No sign in, and enable the connector from the chat’s + menu. On managed accounts, an owner may need to add it first. Claude connectors guide

In Claude Code, add the server in the terminal, then open Claude Code and check /mcp.

claude mcp add --transport http the-qr-scanner --scope user https://the-qr-scanner.com/mcp

Claude Code MCP guide

Google Gemini

In Gemini CLI, add the server and check that it appears in the list.

gemini mcp add --transport http the-qr-scanner https://the-qr-scanner.com/mcp
gemini mcp list

Gemini CLI MCP guide

In Google Antigravity, add the entry below to ~/.gemini/config/mcp_config.json. In the IDE, open MCP Servers → Manage MCP Servers → View raw config to reach the file. Keep any existing server entries.

{
  "mcpServers": {
    "the-qr-scanner": {
      "serverUrl": "https://the-qr-scanner.com/mcp"
    }
  }
}

Antigravity MCP guide

Grok

Open Grok Connectors, choose New Connector → Custom, and enter the server URL. Once Grok discovers the tool, use it in a conversation. Grok connectors guide

DeepSeek and Qwen in Cherry Studio

Choose a DeepSeek or Qwen model that supports tool calling. In Cherry Studio, open Settings → MCP → MCP Servers → Add, choose Streamable HTTP, paste the server URL, and enable the server. Then open your agent’s Edit → MCP menu and enable The QR Scanner for that agent. Cherry Studio MCP guide

Cursor

Add the entry to ~/.cursor/mcp.json for personal use or .cursor/mcp.json for the current project. Keep any existing entries, then enable the server and check that scan_qr_code appears in Agent’s available tools.

{
  "mcpServers": {
    "the-qr-scanner": {
      "url": "https://the-qr-scanner.com/mcp"
    }
  }
}

Cursor MCP guide

VS Code with GitHub Copilot

Add the entry to .mcp.json at the workspace root for the Copilot agent. You can also add it through Chat: Open Customizations → MCP Servers and choose HTTP. Review any trust prompt, then use the tool in Copilot Chat.

{
  "mcpServers": {
    "the-qr-scanner": {
      "type": "http",
      "url": "https://the-qr-scanner.com/mcp",
      "tools": [
        "scan_qr_code"
      ]
    }
  }
}

VS Code MCP setup guide

Try your connection

Send this prompt to your connected client.

Use The QR Scanner's scan_qr_code tool to read the QR code in this image. Return the exact decoded text.
https://the-qr-scanner.com/qr-link-extractor/sample.png

The tool call should return https://example.com/trail-map. The MCP tool returns structuredContent with the same fields as the HTTP API, including linkSafety for URL results when requested. To enable it, ask your client to check the decoded link’s safety or set checkLinkSafety: true in the tool arguments. If the client skips the tool, check that scan_qr_code is enabled for the current conversation.

Limits and privacy

Use a direct public HTTP or HTTPS link to a PNG, JPEG, WebP, or GIF image. The maximum is 5 MiB and 2 megapixels per image. GIF scans use the first frame. Both integrations share a total of 100 scans per minute and an allowance of 10 scans per IP per minute across all server-side scans.

We fetch the image for that request, return the decoded text to your caller, and discard the image. We discard the decoded text after returning it. When you request a link safety check, SupaQR Web checks the reputation of the decoded HTTP or HTTPS destination through Google Web Risk without visiting it. See the Privacy Policy.