Skip to content
MCP server

LexQ

Manage, simulate and deploy business rules from an AI assistant over MCP or the CLI

Install
Pricing
Freemium
Platforms
CLI, API, Web
Runs
Locally or Remotely
Access
Needs an account or API key
Version
3.1.0
Listing updated
3 days ago

About LexQ

LexQ is a freemium MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

LexQ moves business rules such as pricing, promotions, fee logic and eligibility out of application code. A service calls the LexQ API to evaluate them, and rules change through a visual console, the CLI or this MCP server without an application release.

The pitch is testing before shipping. Impact Simulation runs a change against past executions or an uploaded dataset, Decision Replay re-runs earlier traffic against a candidate version to show which decisions flip, and publishes are versioned and can be rolled back. Every decision keeps a trace of the rule that fired, the inputs and the version, held for 30 days on the Free plan and 730 days on Pro.

Over MCP, an agent can manage policy groups, versions, rules and facts, run simulations and replays, deploy versions and read execution history. Tools that delete, change live traffic or count toward usage are marked destructive so a client can ask first. Connect remotely at mcp.lexq.io with OAuth 2.1, or run the CLI locally with lexq serve --mcp (Node.js 22+). Domain templates cover checkout pricing, transfer approval, plan limits, claim triage and agent action approval.

Install

Run in a terminal

claude mcp add --transport http lexq https://mcp.lexq.io

Add to Settings → Connectors → Add custom connector

https://mcp.lexq.io
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lexq": {
      "url": "https://mcp.lexq.io"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "lexq": {
      "type": "http",
      "url": "https://mcp.lexq.io"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lexq": {
      "serverUrl": "https://mcp.lexq.io"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lexq": {
      "type": "http",
      "url": "https://mcp.lexq.io"
    }
  }
}

Configuration

  • LEXQ_API_KEYLexQ API key. Or leave it unset and run `lexq auth login` once.Required

What it does

Impact Simulation
Tests a rule change against historical or uploaded data before deployment.
Decision Replay
Re-runs past traffic on a candidate version to show which decisions flip.
Rule versioning
Draft, review, publish and roll back rules with a recorded history.
Decision audit trail
Keeps the rule, inputs and version for each decision.
Domain templates
Starter facts and rules for e-commerce, fintech, SaaS, insurance and agent approvals.
Remote and local MCP
Hosted endpoint with OAuth, or a local stdio server from the CLI.

Good for

  • Preview how a pricing threshold change affects real traffic
  • Let an agent draft and deploy eligibility rules
  • Answer an auditor by looking up why a decision was made
  • Add an approval policy for actions taken by an AI agent

Pricing

Freemium

Free plan with 1,000 executions a month; paid plans priced by execution volume, prices not published

Prices change. Check lexq.io before you buy.

LexQ FAQ

How do I connect it?

Add https://mcp.lexq.io as a remote server in a client that supports it, or run npx @lexq/cli serve --mcp locally after lexq auth login.

What does the free plan include?

1,000 executions a month, 100 simulated and 100 replayed records, 10 TPS and 30-day audit retention.

How long are decisions kept?

730 days on Pro and longer on Enterprise by agreement.

What Node version does the CLI need?

Node.js 22 or later.

Is LexQ free?

LexQ has a free plan, with paid plans for more usage or features.

How do I add LexQ to Claude Code?

Run this command in your terminal: claude mcp add --transport http lexq https://mcp.lexq.io

What are the best alternatives to LexQ?

The closest alternatives to LexQ are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to LexQ

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools