Free Stim DEM lint, inspect, synth & sample. Metered decode, threshold sweep & drift shield.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional Polar license key for decoder benchmark, threshold sweep, and drift shield tools.
Optional Bearer API key or Payment receipt header for per-call metered tool access.
Optional x402 v2 Base64 payment payload header for per-call USDC settlement.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Metered ($0.005): Deterministic Union-Find and lightweight MWPM-approx syndrome decoder benchmark on DEM + explicit syndromes or seeded shots.
Stim .dem v1.15 detector error model text.
Deterministic Mulberry32 PRNG seed (default 0).
Simulated shots in [1, 50000] when syndromes omitted (default 1000).
Decoder algorithm: uf, mwpm-approx, or both (default uf).
Optional explicit 2D binary detector syndrome rows.
Optional explicit 2D binary observable flip rows matching syndromes.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http qecguard https://qecguard-mcp.raymond-deoliveira.workers.dev/mcp
Headers
X-Polar-License-Key (optional, not in the config above): Optional Polar license key for decoder benchmark, threshold sweep, and drift shield tools.Authorization (optional, not in the config above): Optional Bearer API key or Payment receipt header for per-call metered tool access.PAYMENT-SIGNATURE (optional, not in the config above): Optional x402 v2 Base64 payment payload header for per-call USDC settlement.Metered ($0.005): Deterministic Union-Find and lightweight MWPM-approx syndrome decoder benchmark on DEM + explicit syndromes or seeded shots.
| Argument | Type | Description |
|---|---|---|
| dem* | string | Stim .dem v1.15 detector error model text. |
| seed | integer | Deterministic Mulberry32 PRNG seed (default 0). |
| shots | integer | Simulated shots in [1, 50000] when syndromes omitted (default 1000). |
| decoder | string | Decoder algorithm: uf, mwpm-approx, or both (default uf). |
| syndromes | array | Optional explicit 2D binary detector syndrome rows. |
| observables | array | Optional explicit 2D binary observable flip rows matching syndromes. |
{
"type": "object",
"required": [
"dem"
],
"properties": {
"dem": {
"type": "string",
"minLength": 1,
"description": "Stim .dem v1.15 detector error model text."
},
"seed": {
"type": "integer",
"description": "Deterministic Mulberry32 PRNG seed (default 0)."
},
"shots": {
"type": "integer",
"maximum": 50000,
"minimum": 1,
"description": "Simulated shots in [1, 50000] when syndromes omitted (default 1000)."
},
"decoder": {
"enum": [
"uf",
"mwpm-approx",
"both"
],
"type": "string",
"description": "Decoder algorithm: uf, mwpm-approx, or both (default uf)."
},
"syndromes": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"maximum": 1,
"minimum": 0
}
},
"maxItems": 50000,
"minItems": 1,
"description": "Optional explicit 2D binary detector syndrome rows."
},
"observables": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"maximum": 1,
"minimum": 0
}
},
"maxItems": 50000,
"minItems": 1,
"description": "Optional explicit 2D binary observable flip rows matching syndromes."
}
},
"additionalProperties": false
}Metered ($0.010): Calibration drift safety shield comparing baseline vs current QPU snapshots for threshold breach, Lambda regression, and hotspot couplers.
| Argument | Type | Description |
|---|---|---|
| preset | string | Hardware baseline preset (default willow-105). |
| current* | object | |
| baseline* | object | |
| distance | integer | Odd code distance in [3, 11] (default 5). |
| patchQubits | array | Optional active physical qubit indices. |
{
"type": "object",
"required": [
"baseline",
"current"
],
"properties": {
"preset": {
"enum": [
"willow-105",
"sycamore-54",
"ibm-heron-133"
],
"type": "string",
"description": "Hardware baseline preset (default willow-105)."
},
"current": {
"type": "object",
"required": [
"error1Q",
"error2Q",
"readoutError"
],
"properties": {
"t1Us": {
"type": "number",
"description": "T1 relaxation time in microseconds (> 0).",
"exclusiveMinimum": 0
},
"t2Us": {
"type": "number",
"description": "T2 coherence time in microseconds (> 0).",
"exclusiveMinimum": 0
},
"cycleUs": {
"type": "number",
"description": "Alias for cycleTimeUs in microseconds (> 0).",
"exclusiveMinimum": 0
},
"error1Q": {
"type": "number",
"minimum": 0,
"description": "Single-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"error2Q": {
"type": "number",
"minimum": 0,
"description": "Two-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"couplers": {
"type": "array",
"items": {
"type": "object",
"required": [
"edge",
"error2Q"
],
"properties": {
"edge": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2,
"description": "Qubit pair [u, v]."
},
"error2Q": {
"type": "number",
"minimum": 0,
"description": "Two-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"readoutError": {
"type": "number",
"minimum": 0,
"description": "Optional readout error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
}
},
"additionalProperties": false
},
"maxItems": 512,
"description": "Optional per-coupler 2Q error readings."
},
"cycleTimeUs": {
"type": "number",
"description": "Syndrome cycle duration in microseconds (> 0).",
"exclusiveMinimum": 0
},
"readoutError": {
"type": "number",
"minimum": 0,
"description": "Readout assignment error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"timestampUtc": {
"type": "string",
"description": "Optional ISO-8601 snapshot timestamp."
}
},
"additionalProperties": false
},
"baseline": {
"type": "object",
"required": [
"error1Q",
"error2Q",
"readoutError"
],
"properties": {
"t1Us": {
"type": "number",
"description": "T1 relaxation time in microseconds (> 0).",
"exclusiveMinimum": 0
},
"t2Us": {
"type": "number",
"description": "T2 coherence time in microseconds (> 0).",
"exclusiveMinimum": 0
},
"cycleUs": {
"type": "number",
"description": "Alias for cycleTimeUs in microseconds (> 0).",
"exclusiveMinimum": 0
},
"error1Q": {
"type": "number",
"minimum": 0,
"description": "Single-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"error2Q": {
"type": "number",
"minimum": 0,
"description": "Two-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"couplers": {
"type": "array",
"items": {
"type": "object",
"required": [
"edge",
"error2Q"
],
"properties": {
"edge": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2,
"description": "Qubit pair [u, v]."
},
"error2Q": {
"type": "number",
"minimum": 0,
"description": "Two-qubit gate error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"readoutError": {
"type": "number",
"minimum": 0,
"description": "Optional readout error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
}
},
"additionalProperties": false
},
"maxItems": 512,
"description": "Optional per-coupler 2Q error readings."
},
"cycleTimeUs": {
"type": "number",
"description": "Syndrome cycle duration in microseconds (> 0).",
"exclusiveMinimum": 0
},
"readoutError": {
"type": "number",
"minimum": 0,
"description": "Readout assignment error rate in [0, 0.5).",
"exclusiveMaximum": 0.5
},
"timestampUtc": {
"type": "string",
"description": "Optional ISO-8601 snapshot timestamp."
}
},
"additionalProperties": false
},
"distance": {
"type": "integer",
"maximum": 11,
"minimum": 3,
"description": "Odd code distance in [3, 11] (default 5)."
},
"patchQubits": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"minItems": 1,
"description": "Optional active physical qubit indices."
}
},
"additionalProperties": false
}Free tier: Detector-error-model graph/hypergraph inspector reporting detector/observable counts, maxDegree, connected components, graphlike fraction, and dEffLowerBound.
| Argument | Type | Description |
|---|---|---|
| dem* | string | Stim .dem v1.15 detector error model text. |
| includeComponents | boolean | Include per-component detector indices and error counts (default false). |
{
"type": "object",
"required": [
"dem"
],
"properties": {
"dem": {
"type": "string",
"minLength": 1,
"description": "Stim .dem v1.15 detector error model text."
},
"includeComponents": {
"type": "boolean",
"description": "Include per-component detector indices and error counts (default false)."
}
},
"additionalProperties": false
}Free tier: Stim .dem v1.15 static preflight validator (probabilities, undeclared D#/L# targets, cancelling duplicates, orphaned hyperedges).
| Argument | Type | Description |
|---|---|---|
| dem* | string | Stim .dem v1.15 detector error model text (<= 262,144 bytes). |
| strict | boolean | When true, warnings mark valid=false (default false). |
| maxErrors | integer | Maximum errors/warnings returned per category (1..256, default 256). |
{
"type": "object",
"required": [
"dem"
],
"properties": {
"dem": {
"type": "string",
"minLength": 1,
"description": "Stim .dem v1.15 detector error model text (<= 262,144 bytes)."
},
"strict": {
"type": "boolean",
"description": "When true, warnings mark valid=false (default false)."
},
"maxErrors": {
"type": "integer",
"maximum": 256,
"minimum": 1,
"description": "Maximum errors/warnings returned per category (1..256, default 256)."
}
},
"additionalProperties": false
}Free tier: Seeded Mulberry32 deterministic syndrome & observable-flip sampler with trigger rates and optional raw sample rows.
| Argument | Type | Description |
|---|---|---|
| dem* | string | Stim .dem v1.15 detector error model text. |
| seed | integer | Deterministic Mulberry32 PRNG seed (default 0). |
| shots | integer | Shot count in [1, 100000] (default 1000). |
| includeRawSamples | boolean | Return per-shot detector/observable vectors (<= 4096 shots, <= 524288 bits). |
{
"type": "object",
"required": [
"dem"
],
"properties": {
"dem": {
"type": "string",
"minLength": 1,
"description": "Stim .dem v1.15 detector error model text."
},
"seed": {
"type": "integer",
"description": "Deterministic Mulberry32 PRNG seed (default 0)."
},
"shots": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Shot count in [1, 100000] (default 1000)."
},
"includeRawSamples": {
"type": "boolean",
"description": "Return per-shot detector/observable vectors (<= 4096 shots, <= 524288 bits)."
}
},
"additionalProperties": false
}Free tier: Deterministic rotated-surface and repetition Stim .dem v1.15 synthesizer calibrated to willow-105, sycamore-54, or ibm-heron-133 presets.
| Argument | Type | Description |
|---|---|---|
| code | string | QEC code family: rotated-surface or repetition (default rotated-surface). |
| seed | integer | Deterministic Mulberry32 PRNG seed (default 0). |
| preset | string | Hardware noise and qubit preset (default willow-105). |
| rounds | integer | Syndrome measurement rounds in [1, 100] (default distance). |
| distance | integer | Odd code distance in [3, 11] (default 3). |
| physicalErrorRate | number | Optional physical error rate override in (0, 0.5). |
{
"type": "object",
"properties": {
"code": {
"enum": [
"rotated-surface",
"repetition"
],
"type": "string",
"description": "QEC code family: rotated-surface or repetition (default rotated-surface)."
},
"seed": {
"type": "integer",
"description": "Deterministic Mulberry32 PRNG seed (default 0)."
},
"preset": {
"enum": [
"willow-105",
"sycamore-54",
"ibm-heron-133"
],
"type": "string",
"description": "Hardware noise and qubit preset (default willow-105)."
},
"rounds": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Syndrome measurement rounds in [1, 100] (default distance)."
},
"distance": {
"type": "integer",
"maximum": 11,
"minimum": 3,
"description": "Odd code distance in [3, 11] (default 3)."
},
"physicalErrorRate": {
"type": "number",
"description": "Optional physical error rate override in (0, 0.5).",
"exclusiveMaximum": 0.5,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}Metered ($0.015): Multi-distance and multi-noise-scale sweep fitting Lambda error-suppression, threshold crossing, and Willow baseline comparison.
| Argument | Type | Description |
|---|---|---|
| code | string | Code family (default rotated-surface). |
| seed | integer | Deterministic Mulberry32 PRNG seed (default 0). |
| preset | string | Hardware preset (default willow-105). |
| rounds | integer | Syndrome rounds in [1, 25] (default 3). |
| decoder | string | Decoder algorithm (default uf). |
| distances | array | Unique odd code distances in [3, 11] (default [3, 5, 7]). |
| noiseScales | array | Positive noise scale multipliers in (0, 100] (default [0.5, 1.0, 2.0]). |
| shotsPerPoint | integer | Shots per (distance, scale) point (default 300). |
{
"type": "object",
"properties": {
"code": {
"enum": [
"rotated-surface",
"repetition"
],
"type": "string",
"description": "Code family (default rotated-surface)."
},
"seed": {
"type": "integer",
"description": "Deterministic Mulberry32 PRNG seed (default 0)."
},
"preset": {
"enum": [
"willow-105",
"sycamore-54",
"ibm-heron-133"
],
"type": "string",
"description": "Hardware preset (default willow-105)."
},
"rounds": {
"type": "integer",
"maximum": 25,
"minimum": 1,
"description": "Syndrome rounds in [1, 25] (default 3)."
},
"decoder": {
"enum": [
"uf",
"mwpm-approx"
],
"type": "string",
"description": "Decoder algorithm (default uf)."
},
"distances": {
"type": "array",
"items": {
"type": "integer",
"maximum": 11,
"minimum": 3
},
"maxItems": 5,
"minItems": 1,
"description": "Unique odd code distances in [3, 11] (default [3, 5, 7])."
},
"noiseScales": {
"type": "array",
"items": {
"type": "number",
"maximum": 100,
"exclusiveMinimum": 0
},
"maxItems": 36,
"minItems": 1,
"description": "Positive noise scale multipliers in (0, 100] (default [0.5, 1.0, 2.0])."
},
"shotsPerPoint": {
"type": "integer",
"maximum": 10000,
"minimum": 1,
"description": "Shots per (distance, scale) point (default 300)."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 1, 2026.