Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: ai-rete-rag-mcp

Inferra MCP Server

Use Inferra — 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)
list_rules Inspect a domain's rules — conditions, verdicts, salience, overlaps
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 — uvx inferra-mcp fetches and runs the server on demand (see the config snippets below).

Alternatively, install it as a package:

pip install inferra-mcp         # from PyPI
pip install ./mcp-server        # 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 inferra -e INFERRA_API_KEY=ik_your-key-here -- uvx inferra-mcp

(If you installed via pip, use -- inferra-mcp instead of -- uvx inferra-mcp.)

Claude Desktop / other clients (JSON)

{
  "mcpServers": {
    "inferra": {
      "command": "uvx",
      "args": ["inferra-mcp"],
      "env": {
        "INFERRA_API_KEY": "ik_your-key-here"
      }
    }
  }
}

(With a pip install, set "command": "inferra-mcp" and drop "args".)

Environment variables:

Variable Default Purpose
INFERRA_API_KEY (none) Your API key — authenticates calls and ties them to your plan quota
INFERRA_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 inferra 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.

Metadata

Release files for inferra-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inferra-mcp 0.1.1
File Size Uploaded
inferra_mcp-0.1.1.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for inferra-mcp 0.1.1
File Interpreter ABI Platform
inferra_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / inferra_mcp-0.1.1.tar.gz

Download URL inferra_mcp-0.1.1.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
be044d320e266529fb8fe9e0aa832bbf0a472e6ce315b2dbaa91903eb6df41e4
BLAKE2b-256 checksum
How to use checksums
7d4e85f4779784fa92711dfead86f53d54b0ce1003ce3029c04ed493149b53ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release files / inferra_mcp-0.1.1-py3-none-any.whl

Download URL inferra_mcp-0.1.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9e618523d955446eade597d4163d49922d7a1cde7221650745c78bc30be1f60
BLAKE2b-256 checksum
How to use checksums
0dd940074f554c9b3a695c429cbad039b863d310a9c2d7d54e0e229e3e79b785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page