For agents

QR codes, minus the browser.

FreeQrly speaks HTTP and MCP. Generate static QR codes from any agent, script, or workflow โ€” no key, no sign-up, no expiry. If you can make a request, you can make a code.

Ways to connect

๐Ÿงฐ MCP server

Add https://freeqrly.com/mcp to your MCP client. generate_qr needs no auth; dynamic_qr_* tools manage your editable dynamic codes with an API token. Works with Claude Code, Cursor, and anything speaking Streamable HTTP.

๐ŸŒ HTTP API

A plain GET endpoint returning SVG. CORS is wide open, so browsers, curl, and serverless functions can all call it directly. Authenticated endpoints manage dynamic codes with a Bearer token.

๐Ÿ“œ Agent skill

A SKILL.md with payload recipes lives in the repo at skills/qr-generator/. Point your agent at it and it knows the rest.

๐Ÿค– llms.txt

/llms.txt describes the whole site for crawlers and assistants โ€” endpoints, payload formats, and page map in one file.

HTTP API

GET https://freeqrly.com/api/qr?data=TEXT&size=1024&margin=4&color=2F4A62&bgcolor=ffffff&ecc=M

Returns image/svg+xml. Only data is required; everything else has a sane default. Errors come back as JSON with an error field.

curl "https://freeqrly.com/api/qr?data=https://example.com&size=1024" \
  -o qr.svg

# WiFi QR code for guests
curl "https://freeqrly.com/api/qr?data=WIFI:T:WPA;S:CafeNet;P:s3cret;;" \
  -o wifi.svg

Parameters

  • data โ€” text to encode (required, max 2000 chars). URLs, WiFi strings, vCards, plain text.
  • size โ€” output size in px, 128โ€“2048 (default 1024).
  • margin โ€” quiet zone in modules, 0โ€“10 (default 4).
  • color / bgcolor โ€” 6-digit hex, no # (defaults 2F4A62 / ffffff).
  • ecc โ€” error correction L, M, Q, H (default M). Use Q/H for print or logos.

Dynamic codes API (authenticated)

Dynamic codes stay editable after printing and track scans โ€” the same codes you manage in the dashboard, with the same quota (20 free โ€” unlimited for everyone during the current limited-time promotion). Create a token in the dashboard under API Tokens (shown once), then pass it as a Bearer token:

POST https://freeqrly.com/api/codes
export FQ_TOKEN="fqly_..."  # from your dashboard

# create (same validation + quota as the dashboard UI)
curl -X POST https://freeqrly.com/api/codes \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"type":"url","payload":"https://example.com/menu"}'
# โ†’ {"code":"aB3x9Qz","shortUrl":"https://freeqrly.com/q/aB3x9Qz"}

# list (with quota) ยท stats ยท edit ยท delete
curl https://freeqrly.com/api/me/codes -H "Authorization: Bearer $FQ_TOKEN"
curl https://freeqrly.com/api/codes/aB3x9Qz/stats -H "Authorization: Bearer $FQ_TOKEN"
curl -X PATCH https://freeqrly.com/api/codes/aB3x9Qz \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"type":"url","payload":"https://example.com/new-menu"}'
curl -X DELETE https://freeqrly.com/api/codes/aB3x9Qz \
  -H "Authorization: Bearer $FQ_TOKEN"

Tokens are per-user, revocable anytime from the dashboard, and deleted with your account. A token can never create or revoke other tokens โ€” that requires a login session. Without a token these endpoints return 401; over quota returns 403 quota_exceeded.

MCP

POST https://freeqrly.com/mcp

Standard Streamable HTTP: initialize, then tools/list / tools/call. The generate_qr tool takes data, size, color, bgcolor, ecc and returns a ready-to-download SVG URL โ€” no auth needed.

{
  "jsonrpc": "2.0", "id": 1, "method": "tools/call",
  "params": {
    "name": "generate_qr",
    "arguments": { "data": "https://example.com", "size": 1024 }
  }
}

With an Authorization: Bearer <api_token> header, five more tools appear: dynamic_qr_create, dynamic_qr_list, dynamic_qr_update, dynamic_qr_delete, dynamic_qr_stats โ€” your editable dynamic codes, same quota as the dashboard.

curl -X POST https://freeqrly.com/mcp \
  -H "Authorization: Bearer $FQ_TOKEN" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call",
       "params":{"name":"dynamic_qr_create",
                 "arguments":{"type":"url","payload":"https://example.com/menu"}}}'

Payload recipes

Website : https://example.com/menu
WiFi    : WIFI:T:WPA;S:CafeNet;P:s3cret;;
Contact : BEGIN:VCARD\nVERSION:3.0\nN:Ada Lovelace\nTEL:+15550100\nEND:VCARD
Place   : geo:37.7749,-122.4194
SMS     : sms:+15550100?body=Hello

Fair use

It's free, but be kind: cache results instead of re-requesting the same code, and keep automated traffic reasonable. Per-IP rate limits apply. Static codes are deterministic โ€” the same input always yields the same output, so caching is trivial.