🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

inferra-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inferra-mcp

MCP server for Inferra — deterministic rule-based decisions with RAG-powered explanations

pipPyPI
This version has been yanked by its maintainers and should not be used.
Reason: ai-rete-rag-mcp
Version
0.1.1
Weekly downloads
100
Maintainers
1

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

ToolWhat it does
decideMake a decision in a domain (structured facts and/or free text)
list_rulesInspect a domain's rules — conditions, verdicts, salience, overlaps
ingest_textAdd policy text to a domain's knowledge base
list_documentsBrowse a domain's ingested documents
get_usageCheck your plan and remaining monthly decision quota

Install

No install needed with uvuvx 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:

VariableDefaultPurpose
INFERRA_API_KEY(none)Your API key — authenticates calls and ties them to your plan quota
INFERRA_API_URLhttps://ai-rete-rag.comAPI 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.

Keywords

decision-intelligence

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts