ai·rete·rag
Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.
Connector by ai-rete-rag.comOfficial · Domain verified by the MCP Registry
Install
Works with Claude Code, VS Code, Codex, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/ai-rete-rag-com-ai-rete-rag-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Remote endpoints
https://ai-rete-rag.com/mcpRemote (HTTP)https://ai-rete-rag.com/mcp/authRemote (HTTP)
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 6 read · 2 write · 1 delete
- Secrets
- 2 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 9
From the running server's own tool list (tools/list) on Oct 25, 2026.
Read 6 · Look things up without changing anything.
get_parametersget_rule_sourceget_usageimport_policy_ruleslist_documentslist_rules
Write 2 · Create, change, send or run things.
decideingest_text
Delete 1 · Delete, drop, revoke or wipe things.
put_rules
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
AI_RETE_RAG_API_KEYAuthorization
Other settings (environment variables or headers).
AI_RETE_RAG_API_URL
Network hosts it talks to 1
ai-rete-rag.com· found in remote endpoint, install command
Files it touches
- Any path the agent passes to its tools
Tools (9)
As the server listed them on Oct 25, 2026. Descriptions are the server’s own words; hidden characters are shown as [U+…].
decideMake a decisionMake a deterministic, auditable decision in a domain. The verdict comes from the domain's rule set (Rete engine, never the LLM), so it is reproducible and compliant. The explanation is generated from the domain's ingested policy documents. Without an API key only the shared demo domains are available, and the response carries `next_step`: how to get a free key for your own rules. Pass that on to the user rather than dropping it. Args: domain: Rule-set domain, e.g. "loan", "fraud", "clinical". query: Natural-language question or decision request. facts: Structured facts for worki…
get_parametersGet decision parametersread-onlyList the input parameters a domain's rules decide on — the facts to collect before calling `decide`. Derived from your account's own copy of the rules, so it covers your custom domains too. Each parameter has its `field` name (the key to use in `facts`), `kind` (number / boolean / string), the `tests` rules make on it (e.g. >= 720 — match these units and scales), the `rules` and `verdicts` it can lead to, and `max_salience`. Parameters come most decisive first: those feeding the highest-salience rules, which win when several rules fire. Also returns every verdict the domain can reach.
get_rule_sourceGet rule source (YAML)read-onlyFetch a domain's rule set as editable YAML (plus the parsed rules and whether you may edit it). Use this before `put_rules` to see the current rules. For a built-in demo domain you get your own copy's rules once you have edited it, otherwise the shared demo's.
get_usageCheck usage and quotaread-onlyShow this account's decision usage, plan, and remaining monthly quota.
import_policy_rulesDraft rules from a policyread-onlyConvert a written policy document into DRAFT decision rules (LLM-assisted). Returns validated draft rules (when/action, including chained asserts where the policy stages its determinations), derived rule→rule edges, and overlap warnings. Each returned rule carries a `citation` field holding the policy sentence it encodes (also summarized in the top-level `citations` map). Coverage runs the other way too: `uncovered_sentences` lists policy sentences no rule's citation points back to (out of `policy_sentence_count`), and `unverified_citations` names rules whose quote is missing or not found ver…
ingest_textIngest policy textAdd policy/reference text to a domain's knowledge base. The text is chunked and embedded; explanations for future decisions in this domain will cite it. Creating a new domain claims it for your account (plan limits apply). Ingesting into a built-in demo domain gives your account its own copy of that demo (it counts as one of your domains); the shared demo others see is unchanged. On team plans, only the domain admin (the member who created the domain, or the subscription owner) can add documents. Documents can be dated. A decision only cites documents in force on its date, so a replaced poli…
list_documentsList documentsread-onlyList the documents ingested into a domain's knowledge base.
list_rulesList rulesread-onlyList the decision rules for one domain (or all domains). Returns each rule's conditions — either a flat AND list (field / operator / value) or a `when` condition tree (nested all/any/not) — plus its verdict, salience, and any asserted facts (`action.assert`, the facts a rule produces for other rules to consume). `edges` lists the derived rule→rule dependencies: src asserts a fact type that dst's conditions test (forward chaining). Each rule may also carry `citation` — the policy sentence it encodes — which is what lets a decision be traced back to the source clause. Also includes overlap warn…
put_rulesSave rulescan change or delete dataCreate or replace a domain's rule set from YAML (self-serve rule authoring). The first save to a new domain claims it for your account (plan limits apply). Saving to a built-in demo domain saves your own copy of it, seeded from the demo; the shared demo others see is unchanged. Rules are validated before saving — set dry_run=true to validate without persisting. The response reports ok/errors, the parsed rules, and any overlap warnings. YAML format — a list of rules. Flat form (conditions are AND-ed): - name: "Approve" salience: 10 conditions: - type: loan fi…
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 1
- Weekly downloads
- 195
- Last commit
- Oct 20, 2026 (9 days ago)
- Last release
- Oct 20, 2026 (8 days ago)
- Last package publish
- Oct 17, 2026 (11 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
com.ai-rete-rag/ai-rete-rag-mcp- Version
- 0.11.0
- Auth
- Bearer token, API key
- Packages
- pypi ai-rete-rag-mcp
- License
- MIT
- Website
- ai-rete-rag.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
Cite this page
ai·rete·rag MCP server. Agent Mart. https://agentmart.dev/connectors/ai-rete-rag-com-ai-rete-rag-mcp (last updated 2026-10-25)