ai·rete·rag MCP Server
Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.
ai·rete·rag scores 66 (Good), licensed MIT and written in Python. It can be reached as a remote MCP endpoint. It declares 10 tools. Filed under AI and memory. GitHub shows 0 stars. Package registries report about 285 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "zaharajabeen13-create-ai-rete-rag-mcp": { "command": "uvx", "args": [ "ai-rete-rag-mcp" ], "env": { "AI_RETE_RAG_API_KEY": "YOUR_AI_RETE_RAG_API_KEY", "AI_RETE_RAG_API_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
AI_RETE_RAG_API_KEYSecret | Required | 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. |
AI_RETE_RAG_API_URL | Optional | API base URL. Defaults to https://ai-rete-rag.com; override for local development. |
Tools10Tool docs quality grade C
All capabilitiesdecide_casepromptPrompt:
delete_domaintoolDelete your own copy of a domain (rules and documents) to free a slot in your plan's domain limit; decision audits are kept
get_parameterstoolThe facts a domain's rules decide on (from your account's own rules), most decisive first — what to collect before decide
get_rule_sourcetoolFetch a domain's rule set as editable YAML
get_usagetoolCheck your plan and remaining monthly decision quota
Turn a written policy document into draft rules, each citing the sentence it encodes (nothing is saved — review, then putrules)
ingest_texttoolAdd policy text to a domain's knowledge base, optionally dated (effectivefrom, effectiveuntil) or replacing an earlier version (supersedes)
list_documentstoolBrowse a domain's ingested documents
list_rulestoolInspect a domain's rules — conditions, verdicts, salience, overlaps
put_rulestoolCreate or replace a domain's rule set from YAML (dryrun to validate)
About
ai·rete·rag MCP Server
Use ai·rete·rag — deterministic rule-based decisions with RAG-powered explanations — from Claude Code, Claude Desktop, or any MCP client.
The verdict always comes from the Rete rule engine (auditable, reproducible); the LLM only explains why, grounded in your ingested policy documents.
Tools
| Tool | What it does |
|---|---|
decide | Make a decision in a domain — structured facts and/or free text, with optional Pattern 01 (rules scope retrieval) and Pattern 02 (retrieval into working memory). as_of reads the policy documents in force on an earlier day |
get_parameters | The facts a domain's rules decide on (from your account's own rules), most decisive first — what to collect before decide |
list_rules | Inspect a domain's rules — conditions, verdicts, salience, overlaps |
get_rule_source | Fetch a domain's rule set as editable YAML |
import_policy_rules | Turn a written policy document into draft rules, each citing the sentence it encodes (nothing is saved — review, then put_rules) |
put_rules | Create or replace a domain's rule set from YAML (dry_run to validate) |
ingest_text | Add policy text to a domain's knowledge base, optionally dated (effective_from, effective_until) or replacing an earlier version (supersedes) |
list_documents | Browse a domain's ingested documents |
delete_domain | Delete your own copy of a domain (rules and documents) to free a slot in your plan's domain limit; decision audits are kept |
get_usage | Check your plan and remaining monthly decision quota |
Prompt: decide_case
An agent workflow for deciding a case in any domain on your account, including
your own: it calls get_parameters to learn which facts the rules decide on,
reads the case — text, photos, document scans, voice notes or video (the agent
reads the media itself; the API only receives the facts) — maps it onto those
exact fields, calls decide with fact_sources recording which file each fact
came from (kept in the decision's audit trail), and — while the result's
missing_parameters is non-empty (facts that could still change the verdict)
— asks you for them, most decisive first, and decides again. The verdict always
comes from the rules.
Connect by URL (no install)
The server is also hosted, which is the only route for clients that connect to a URL and have no field for a static header — claude.ai and Claude Desktop custom connectors, in particular.
| URL | Auth | Reaches |
|---|---|---|
https://ai-rete-rag.com/mcp/auth | Sign in with Google, once, in the browser | Your account — your domains, your plan quota |
https://ai-rete-rag.com/mcp | None, or Authorization: Bearer ik_... | Shared demo domains anonymously; your account with a key |
Add https://ai-rete-rag.com/mcp/auth as a custom connector and approve the
prompt. Connections are listed under Settings → Connected apps, and
disconnecting one takes effect immediately.
Install
No install needed with uv — uvx ai-rete-rag-mcp
fetches and runs the server on demand (see the config snippets below).
Alternatively, install it as a package:
pip install ai-rete-rag-mcp # from PyPI
pip install . # or from source, in this repo
Configure
First create an API key: sign in at ai-rete-rag.com,
open Settings → API Keys, and create a key (ik_... — shown once).
Claude Code
claude mcp add ai-rete-rag -e AI_RETE_RAG_API_KEY=ik_your-key-here -- uvx ai-rete-rag-mcp
(If you installed via pip, use -- ai-rete-rag-mcp instead of -- uvx ai-rete-rag-mcp.)
Or skip the install entirely and point it at the hosted endpoint with your key:
claude mcp add --transport http ai-rete-rag https://ai-rete-rag.com/mcp \
--header "Authorization: Bearer ik_your-key-here"
Claude Desktop / other clients (JSON)
{
"mcpServers": {
"ai-rete-rag": {
"command": "uvx",
"args": ["ai-rete-rag-mcp"],
"env": {
"AI_RETE_RAG_API_KEY": "ik_your-key-here"
}
}
}
}
(With a pip install, set "command": "ai-rete-rag-mcp" and drop "args".)
Environment variables:
| Variable | Default | Purpose |
|---|---|---|
AI_RETE_RAG_API_KEY | (none) | Your API key — authenticates calls and ties them to your plan quota |
AI_RETE_RAG_API_URL | https://ai-rete-rag.com | API base URL — point at http://localhost:8000 for local dev |
Without a key you can still explore the shared demo domains (loan, fraud,
clinical, …) subject to free-tier limits.
Example
"Use ai·rete·rag to decide whether this loan application should be approved: credit score 645, annual income $52k, requested amount $30k."
Claude calls decide(domain="loan", facts={...}) and returns the rule-derived
verdict plus a plain-English explanation citing the underwriting policy.
Frequently asked questions
What is ai·rete·rag MCP Server?
Author rules from policy docs, then decide: a Rete engine gives the verdict, an LLM explains why.
How do I install ai·rete·rag MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ai·rete·rag MCP Server runs locally from the PyPI package ai-rete-rag-mcp with the command uvx ai-rete-rag-mcp.
Is ai·rete·rag MCP Server free and open source?
Yes. ai·rete·rag MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does ai·rete·rag MCP Server support remote (HTTP) connections?
Yes. ai·rete·rag MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does ai·rete·rag MCP Server provide?
ai·rete·rag MCP Server provides 9 tools, including delete_domain, get_parameters, get_rule_source, and get_usage. See the full tool list for descriptions and parameters.
How is ai·rete·rag MCP Server's trust score calculated?
ai·rete·rag MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.