GnistAI GnistAI
Log in

QR Code

Generate QR code image URLs via goqr.me — encode text, URLs, or data with customizable size, format, colors, and error correction.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Utilities

Data source: goqr.me (api.qrserver.com)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/qr-code/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

generate_qr_code

Generate a QR code URL for the given text or URL.

Returns a URL that renders a QR code image. The URL can be used directly in an <img> tag
or opened in a browser. No image data is returned — only the URL.

ParameterTypeRequiredDescription
datastringrequiredThe text or URL to encode in the QR code.
sizeintegeroptionalImage size in pixels (10-1000). (default: 200)
formatstringoptionalImage format: png, gif, jpeg, svg, eps. (default: "png")
error_correctionstringoptionalError correction level: L, M, Q, H. (default: "M")
colorstringoptionalQR code color as hex (e.g. 000000 for black). (default: "000000")
bg_colorstringoptionalBackground color as hex (e.g. ffffff for white). (default: "ffffff")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "generate_qr_code",
    "arguments": {
      "data": "example"
    }
  }
}
list_qr_formats

List supported QR code image formats.

Returns the available output formats for QR code generation.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_qr_formats",
    "arguments": {}
  }
}
list_qr_error_correction_levels

List available QR code error correction levels.

Returns the error correction levels (L/M/Q/H) with descriptions of their recovery capability.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_qr_error_correction_levels",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/qr-code/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "generate_qr_code", "arguments": {"data": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/qr-code/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "generate_qr_code",
    "arguments": {
      "data": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Utilities)

Resources