Policy engine tools: author rules, simulate impact, replay decisions, and deploy.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
The Decision Operations Platform for engineering teams. CLI and MCP server for LexQ β move business rules out of your deploy pipeline, prove every change with Impact Simulation, and ship without a git push.
Website Β· Docs Β· Console Β· MCP Registry
Your business rules β pricing, promotions, fee logic, eligibility checks β change often. But every change ships through the same PR β review β staging β deploy cycle as your core application code. A one-line discount rule takes two weeks.
This is an architectural problem, not a process problem. Business logic that changes weekly shouldn't live in code that ships quarterly.
LexQ separates the two. Rules live outside your application. You change them in a visual console or through this CLI. You prove every change with Impact Simulation against real execution data. You deploy without touching your codebase.
Every decision leaves a full audit trace.
Or run without installing:
Requires Node.js 22+.
LexQ is designed to be AI-native. The entire policy engine Partner API is exposed via Model Context Protocol. Claude, Cursor, and other MCP-compatible agents can create, simulate, and deploy rules autonomously, with human approval before production.
https://mcp.lexq.ioFor any MCP client that supports remote servers:
OAuth 2.1 authentication is handled automatically by your client.
Run LexQ CLI as a local MCP server:
Add to claude_desktop_config.json:
.vscode/mcp.json:
Prerequisite:
lexq auth loginmust have been run once to store an API key in~/.lexq/config.json, orLEXQ_API_KEYmust be set in the client's environment block.
The server is listed on the official MCP Registry as io.lexq/lexq. Clients that
browse the registry find both the npm package and the hosted endpoint in that one entry.
The local stdio server and the hosted Streamable HTTP endpoint both serve two MCP revisions from one set of tool definitions, so a client sees the same tools either way.
| Revision | How a client reaches it |
|---|---|
2026-07-28 | A per-request _meta envelope. No handshake. |
2025-11-25 | The initialize handshake. |
There is nothing to configure. The server answers in whichever revision the opening message used, so a client can move to 2026-07-28 on its own schedule and one that has not moved keeps working.
LexQ CLI ships with AI Agent Skills β structured documentation agents read to understand how to use the tools, not just what they are.
After installing @lexq/cli, agents can read skills from:
| Flag | Description |
|---|---|
--format <json|table> | Output format (default: json) |
--api-key <key> | Override stored API key |
--base-url <url> | Override API base URL |
--dry-run | Preview the HTTP request without executing |
--verbose | Show request/response details |
--no-color | Disable colored output |
Config is stored at ~/.lexq/config.json:
The file holds an API key in plain text, so it is written 0600 inside a 0700 directory β
readable by its owner and nobody else on the machine. An install created by an older version
is repaired on the next save.
These are read by the MCP server (lexq serve --mcp) and take precedence over the stored
config. They let an editor or CI target an environment through the client's own config block,
without writing to ~/.lexq/config.json. CLI commands use --api-key and --base-url instead.
| Variable | Overrides |
|---|---|
LEXQ_API_KEY | apiKey |
PARTNER_BASE_URL | baseUrl |
Checks that guard a stated fact against the thing that owns it. All of them run in CI.
Report a vulnerability through GitHub's private reporting form. The policy, including what is in scope, is in SECURITY.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lexq)<a href="https://allmcps.com/mcp/lexq"><img src="https://allmcps.com/api/badge/lexq?style=directory" alt="LexQ on AllMCPs" /></a>