{"id":"com.ai-rete-rag/ai-rete-rag-mcp","slug":"com-ai-rete-rag-ai-rete-rag-mcp","title":"ai·rete·rag","description":"Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.","version":"0.12.0","publisher":{"kind":"domain","id":"ai-rete-rag.com","label":"ai-rete-rag.com","url":"https://ai-rete-rag.com"},"website":"https://ai-rete-rag.com","repository":"https://github.com/zaharajabeen13-create/ai-rete-rag-mcp","remotes":[{"type":"streamable-http","url":"https://ai-rete-rag.com/mcp","headers":[{"description":"Bearer <your ai-rete-rag API key> (ik_...), created at ai-rete-rag.com under Settings -> API Keys. Optional: without it the shared demo domains are still available.","isSecret":true,"name":"Authorization"}]},{"type":"streamable-http","url":"https://ai-rete-rag.com/mcp/auth","headers":[{"description":"Bearer <OAuth access token>. Obtained by signing in through the server's OAuth flow (dynamic client registration + PKCE) rather than issued by hand — for clients that connect by URL and cannot send a static header.","isRequired":true,"isSecret":true,"name":"Authorization"}]}],"packages":[{"registryType":"pypi","registryBaseUrl":"https://pypi.org","identifier":"ai-rete-rag-mcp","version":"0.12.0","runtimeHint":"uvx","transport":{"type":"stdio"},"environmentVariables":[{"description":"Your ai·rete·rag API key (create one at ai-rete-rag.com under Settings -> API Keys). Authenticates calls and ties them to your plan quota.","isRequired":true,"isSecret":true,"name":"AI_RETE_RAG_API_KEY"},{"description":"API base URL. Defaults to https://ai-rete-rag.com; override for local development.","name":"AI_RETE_RAG_API_URL"}]}],"published":"2026-11-18","updated":"2026-11-18","status":"online","auth":"","latency_ms":1659,"checked":"2026-11-19","uptime":100,"checks":3,"tools":[{"name":"decide","title":"Make a decision","description":"Make a deterministic, auditable decision in a domain.\n\nThe verdict comes from the domain's rule set (Rete engine, never the LLM),\nso it is reproducible and compliant. The explanation is generated from the\ndomain's ingested policy documents.\n\nWithout an API key only the shared demo domains are available, and the\nresponse carries `next_step`: how to get a free key for your own rules.\n\nArgs:\n    doma","read_only":false},{"name":"list_rules","title":"List rules","description":"List the decision rules for one domain (or all domains).\n\nReturns each rule's conditions — either a flat AND list (field / operator /\nvalue) or a `when` condition tree (nested all/any/not) — plus its verdict,\nsalience, and any asserted facts (`action.assert`, the facts a rule\nproduces for other rules to consume). `edges` lists the derived rule→rule\ndependencies: src asserts a fact type that dst's ","read_only":true},{"name":"get_parameters","title":"Get decision parameters","description":"List the input parameters a domain's rules decide on — the facts a\ndecision in that domain uses. Derived from your account's own copy of\nthe rules, so it covers your custom domains too.\n\nEach parameter has its `field` name (the key to use in `facts`), `kind`\n(number / boolean / string), the `tests` rules make on it (e.g. >= 720 —\nmatch these units and scales), the `rules` and `verdicts` it can lea","read_only":true},{"name":"ingest_text","title":"Ingest policy text","description":"Add policy/reference text to a domain's knowledge base.\n\nThe text is chunked and embedded; explanations for future decisions in this\ndomain will cite it. Creating a new domain claims it for your account\n(plan limits apply). Ingesting into a built-in demo domain gives your\naccount its own copy of that demo (it counts as one of your domains); the\nshared demo others see is unchanged. On team plans, o","read_only":false},{"name":"list_documents","title":"List documents","description":"List the documents ingested into a domain's knowledge base.","read_only":true},{"name":"delete_domain","title":"Delete domain","description":"Permanently delete your own copy of a domain: its rule set and every\ningested document. This frees its slot in your plan's domain limit.\n\nDecision audit records are kept for the audit trail. A domain created later\nunder the same name starts empty, with a fresh history. The shared demo\ndomains are never affected: deleting `loan` removes only your own copy of it.\n\nArgs:\n    domain: The domain to del","read_only":false},{"name":"get_rule_source","title":"Get rule source (YAML)","description":"Fetch a domain's complete rule set as editable YAML, plus whether you may\nedit it. The whole YAML file is returned as one fenced block; show it to the\nuser in full, never just its first lines. For a built-in demo domain you get\nyour own copy's rules once you have edited it, otherwise the shared demo's.\n","read_only":true},{"name":"put_rules","title":"Save rules","description":"Create or replace a domain's rule set from YAML (self-serve rule authoring).\n\nThe first save to a new domain claims it for your account (plan limits\napply). Saving to a built-in demo domain saves your own copy of it, seeded\nfrom the demo; the shared demo others see is unchanged. Rules are validated before\nsaving — set dry_run=true to validate without persisting. The response\nreports ok/errors, the","read_only":false},{"name":"import_policy_rules","title":"Draft rules from a policy","description":"Convert a written policy document into DRAFT decision rules (LLM-assisted).\n\nReturns validated draft rules (when/action, including chained asserts where\nthe policy stages its determinations), derived rule→rule edges, and overlap\nwarnings. Each returned rule carries a `citation` field holding the policy\nsentence it encodes (also summarized in the top-level `citations` map).\nCoverage runs the other ","read_only":true},{"name":"get_usage","title":"Check usage and quota","description":"Show this account's decision usage, plan, and remaining monthly quota.","read_only":true}],"server_info":{"name":"ai-rete-rag","version":""},"category":"memory","tags":["legal","productivity","agents"],"kind":"remote","source":"registry","submitted":{},"first_party":true,"domain_rank":null,"score":100,"indexable":true,"first_seen":"2026-07-13","stars":0,"badges":[],"sponsor":null,"page":"https://agentsindex.org/agents/com-ai-rete-rag-ai-rete-rag-mcp/"}