Deterministic recipe verification engine β validates AI-generated recipes against master SOPs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Guardian Engine.
verify_recipeVerify a candidate recipe against a Guardian master spec. Returns a structured report with a strict `PASSED`/`FAILED` verdict (no scores) and detailed findings, each citing the rule it violated. The verdict is policy-driven: any `CRITICAL` finding fails the recipe; more than 5 `WARNING`s also fail.
fix_recipeDeterministically repair a candidate recipe against a master spec. Verifies, applies every machine-actionable patch the symbolic engine produced (missing ingredients, quantities, temperatures, durations, cooking media, substitutions), then re-verifies. **No LLM is involved** β the repair is a deterβ¦
list_dishesList all master recipes Guardian can verify against, with rich metadata (slug, title, cuisine, region, aliases, complexity).
get_masterReturn the canonical master recipe for a dish β a pure knowledge-base lookup, no LLM. Enables **compare-then-verify** loops: fetch the master, diff it against your recipe, then call `verify_recipe` instead of verifying blind. Master content is transparent by default: exact temperatures, timings, anβ¦
check_safetyMaster-independent safety checks for **any** recipe β no dish resolution or master spec required. Checks poultry internal-temperature safety (β₯ 74 Β°C) and scans all ingredients against the 14 EU FIC 1169/2011 Annex II allergen groups. Use it when `verify_recipe` has no matching master.
check_allergensCheck an ingredient list for EU FIC 1169/2011 allergen presence, with a detailed audit trace mapping each ingredient to its Annex II allergen group (entry numbers and labels included).
A deterministic oracle inside your agent's generateβverify loop. Your LLM authors the recipe; Guardian judges it. Guardian Engine catches hallucinated temperatures, missing techniques, wrong ingredients, and impossible cooking steps before they reach the pan β and returns machine-actionable patches so your agent can fix exactly what's wrong. Recipes are the first vertical β the same deterministic approach generalises to any procedural domain where correctness matters.
Why an oracle instead of another LLM critique? An LLM critique is a sample β it misses differently on every run. Guardian's symbolic engine makes guarantees a generative model structurally cannot:
kb_version_hash and master_hash so any verdict is reproducible as an audit record.patches (and fix_recipe can apply them deterministically); your agent authors the rest and re-verifies.master_json, not just the bundled catalog.Endpoint: https://api.kaimeilabs.dev/mcp
Transport: Streamable HTTP (MCP)
Auth: None β free during early access (fair use applies)
β οΈ Safety & Liability Notice
Guardian Engine is an automated, informational recipe-verification tool. It is not a food-safety, medical, nutritional, or regulatory-compliance authority, and its output is not professional advice.
- Allergens are not guaranteed. Allergen warnings (including
check_safety,check_allergens, and theallergensfield of every verification response) come from an automated knowledge base that may be incomplete or wrong. APASSEDverdict or an empty allergen list is NOT a guarantee that a recipe is free of any allergen or safe for any individual. Never rely on Guardian to decide whether a food is safe for someone with a food allergy or intolerance β always verify against the actual ingredient/product labelling and consult a qualified professional.- Dietary and religious claims are not certifications.
verify_dietary_claimresults (vegan, vegetarian, gluten-free, dairy-free, nut-free, halal, kosher) are automated ingredient-level checks β they are not a substitute for certification by a recognised dietary or religious authority.- Repaired recipes are not certified safe.
fix_recipeoutput must be reviewed by a human before being cooked, served, or published; allergen findings are never auto-fixed and a repaired recipe may still fail verification.- Cooking-safety findings are informational and must not replace certified guidance (e.g. USDA, EU FIC, or your local food-safety authority).
- No warranty. The Service is provided "AS IS", without warranty of any kind. To the maximum extent permitted by law, Kaimei Labs accepts no liability for any loss, injury, or damage arising from use of, or reliance on, Guardian output.
Use of the API constitutes acceptance of the full Terms of Service (warranty disclaimer, limitation of liability, indemnification).
Guardian is a hosted MCP server. No install, no API key, no Docker. Pick your client and paste the config.
Add to your claude_desktop_config.json:
Restart Claude Desktop. Ask: "List the available dishes in Guardian Engine" to confirm.
Open Settings β MCP Servers β Add new MCP server, then paste:
Add to your .vscode/mcp.json (or user settings.json under "mcp"):
Add to your Windsurf MCP config:
β auto-configures Claude Desktop, Cursor, and more.
[!WARNING] Smithery Proxy Limitation: The default Smithery proxy URL (
guardian-engine--kaimeilabs.run.tools) does not support Streaming HTTP and will silently fail. You MUST edit your MCP config after installation to use the direct endpoint:https://api.kaimeilabs.dev/mcp.
Guardian Engine is also listed on Glama.ai β discover and connect to MCP servers from the Glama directory.
The MCP server exposes seven tools. verify_recipe is the core loop; the rest support the compare β verify β repair cycle and master-independent safety checks.
verify_recipeVerify a candidate recipe against a Guardian master spec. Returns a structured report with a strict PASSED/FAILED verdict (no scores) and detailed findings, each citing the rule it violated. The verdict is policy-driven: any CRITICAL finding fails the recipe; more than 5 WARNINGs also fail.
| Parameter | Type | Required | Description |
|---|---|---|---|
dish_name | string | Yes* | Name or alias of the dish (e.g. "carbonara", "rendang", "kung-pao", "bourguignon"). dish is accepted as a backward-compatible alias. *Optional when master_json is supplied |
candidate_json | string | object | Yes | Full recipe as JSON β see schema.md. Max 500 KB |
master_json | string | object | No | Bring your own master β your house recipe/SOP to verify against, using the same schema as catalog masters. Bypasses the bundled catalog; the response pins your spec via master_hash (sha256) and master_source: "user" |
original_prompt | string | No | The user's original request that generated the recipe |
response_format | string | No | "text" (default) or "json". Use "json" for machine-actionable patches in agentic self-correction loops |
session_id | string | No | Track an agent's improvement loop across multiple attempts |
operator_id | string | No | Audit identifier tagged into the verification log and compliance record (letters, digits, hyphens; max 64 chars) |
Tip β include the original prompt for personalised feedback: When you include original_prompt (e.g. "Make a spicy vegan rendang"), Guardian matches findings to the user's stated dietary needs and flavour preferences, and activates audience-sensitive safety checks (e.g. flagging honey in recipes for infants, raw egg for pregnant users). Without it, Guardian still returns the full verdict and all findings.
Unknown dish? If the dish isn't in the catalog, the UNKNOWN_DISH error carries a safety_fallback verdict β the master-independent safety layer (poultry temperature + allergen scan) still runs, so your agent always leaves with deterministic value.
Field audience: issue is a machine-readable code for programmatic handling β don't show it to end users. Use title and suggested_correction as the user-facing fields.
fix_recipeDeterministically repair a candidate recipe against a master spec. Verifies, applies every machine-actionable patch the symbolic engine produced (missing ingredients, quantities, temperatures, durations, cooking media, substitutions), then re-verifies. No LLM is involved β the repair is a deterministic function of the candidate and the ruleset.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/guardian-engine)<a href="https://allmcps.com/mcp/guardian-engine"><img src="https://allmcps.com/api/badge/guardian-engine?style=directory" alt="Guardian Engine on AllMCPs" /></a>