Data source: goqr.me (api.qrserver.com)
https://context.gnist.ai/mcp/qr-code/
AuthenticationAll 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_codeGenerate 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
data | string | required | The text or URL to encode in the QR code. |
size | integer | optional | Image size in pixels (10-1000). (default: 200) |
format | string | optional | Image format: png, gif, jpeg, svg, eps. (default: "png") |
error_correction | string | optional | Error correction level: L, M, Q, H. (default: "M") |
color | string | optional | QR code color as hex (e.g. 000000 for black). (default: "000000") |
bg_color | string | optional | Background color as hex (e.g. ffffff for white). (default: "ffffff") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "generate_qr_code",
"arguments": {
"data": "example"
}
}
}list_qr_formatsList supported QR code image formats.
Returns the available output formats for QR code generation.
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "list_qr_formats",
"arguments": {}
}
}list_qr_error_correction_levelsList available QR code error correction levels.
Returns the error correction levels (L/M/Q/H) with descriptions of their recovery capability.
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "list_qr_error_correction_levels",
"arguments": {}
}
}report_feedbackReport 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'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"jsonrpc": "2.0",
"method": "tools/call",
"id": 1,
"params": {
"name": "report_feedback",
"arguments": {
"feedback": "example"
}
}
}Quick Start
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"}}}'
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())