Skip to main content
ClaudeWave

MCP server for ai·rete·rag — deterministic rule-based decisions with RAG-powered explanations

MCP ServersOfficial Registry0 stars0 forksPythonMITUpdated today
Install in Claude Code / Claude Desktop
Method: UVX (Python) · ai-rete-rag-mcp
Claude Code CLI
claude mcp add ai-rete-rag-mcp -- uvx ai-rete-rag-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "ai-rete-rag-mcp": {
      "command": "uvx",
      "args": ["ai-rete-rag-mcp"],
      "env": {
        "AI_RETE_RAG_API_KEY": "<ai_rete_rag_api_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
AI_RETE_RAG_API_KEY
Use cases

MCP Servers overview

# ai·rete·rag MCP Server

<!-- mcp-name: com.ai-rete-rag/ai-rete-rag-mcp -->

Use [ai·rete·rag](https://ai-rete-rag.com) — 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) |
| `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 |
| `list_documents` | Browse a domain's ingested documents |
| `get_usage` | Check your plan and remaining monthly decision quota |

## Install

No install needed with [uv](https://docs.astral.sh/uv/) — `uvx ai-rete-rag-mcp`
fetches and runs the server on demand (see the config snippets below).

Alternatively, install it as a package:

```bash
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](https://ai-rete-rag.com),
open **Settings → API Keys**, and create a key (`ik_...` — shown once).

### Claude Code

```bash
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`.)

### Claude Desktop / other clients (JSON)

```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.

<!-- mcp-name: com.ai-rete-rag/ai-rete-rag-mcp -->

What people ask about ai-rete-rag-mcp

What is zaharajabeen13-create/ai-rete-rag-mcp?

+

zaharajabeen13-create/ai-rete-rag-mcp is mcp servers for the Claude AI ecosystem. MCP server for ai·rete·rag — deterministic rule-based decisions with RAG-powered explanations It has 0 GitHub stars and was last updated today.

How do I install ai-rete-rag-mcp?

+

You can install ai-rete-rag-mcp by cloning the repository (https://github.com/zaharajabeen13-create/ai-rete-rag-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is zaharajabeen13-create/ai-rete-rag-mcp safe to use?

+

zaharajabeen13-create/ai-rete-rag-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains zaharajabeen13-create/ai-rete-rag-mcp?

+

zaharajabeen13-create/ai-rete-rag-mcp is maintained by zaharajabeen13-create. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to ai-rete-rag-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy ai-rete-rag-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: zaharajabeen13-create/ai-rete-rag-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/zaharajabeen13-create-ai-rete-rag-mcp)](https://claudewave.com/repo/zaharajabeen13-create-ai-rete-rag-mcp)
<a href="https://claudewave.com/repo/zaharajabeen13-create-ai-rete-rag-mcp"><img src="https://claudewave.com/api/badge/zaharajabeen13-create-ai-rete-rag-mcp" alt="Featured on ClaudeWave: zaharajabeen13-create/ai-rete-rag-mcp" width="320" height="64" /></a>

More MCP Servers

ai-rete-rag-mcp alternatives