
LexQ
io.lexqPublished by lexq.ioOfficial publisherv3.0.4Updated Nov 7, 2026
The Decision Operations Platform for engineering teams
Overview
LexQ is a decision-operations platform whose MCP server lets an assistant manage business rules, simulate changes, deploy versions and read execution history.
- What you can do
- Manage policy groups, versions, rules and facts, including A/B tests and domain templates
- Run dry runs, impact simulations, dataset uploads and per-rule latency profiles
- Publish, deploy, roll back, schedule and diff policy versions
- Read decision history, statistics, failure logs, provenance and replays
- Manage webhook subscriptions and check API health
- When to use it
- Useful when business rules such as pricing, promotions, fee logic or eligibility checks live in LexQ and you want an assistant to edit, test and deploy them without an application release, or to investigate past decisions.
- Requirements
- Either the hosted endpoint at mcp.lexq.io with OAuth 2.1 sign-in, or the local npm package @lexq/cli run with npx as a stdio server, which needs Node.js 22+. An API key is required, supplied through LEXQ_API_KEY or stored once by running lexq auth login; PARTNER_BASE_URL can override the API base URL.
Installation
In SourceWeft
- Open LexQ in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.lexq%2Flexq/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"lexq": {
"type": "http",
"url": "https://mcp.lexq.io/"
}
}
}README
LexQ CLI
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
Why LexQ?
Your business rules, such as pricing, promotions, fee logic, and eligibility checks, change often. But every change ships through the same PR → review → staging → deploy cycle as your core application code, so even a small change waits for the next release.
LexQ keeps those rules out of your code. Your service calls the LexQ API to evaluate them. You change rules in a visual console or through this CLI, test each change with Impact Simulation against past executions or a dataset you upload, and deploy them without an application release.
Every decision leaves a full audit trail.
Install
Or run without installing:
Requires Node.js 22+.
Quick Start
For AI Agents
Claude, Cursor, and other MCP-compatible agents can use the Model Context Protocol to manage policy groups, versions, rules, and facts, run simulations and replays, deploy versions, and read execution history.
Approval happens in your MCP client, which decides which tool calls you confirm. A tool is marked as destructive when it deletes, overwrites, or cancels something, changes live traffic, cannot be undone, or counts toward your plan's usage, so a client can ask you before running it.
Claude.ai (cloud, no install)
- Customize → Connectors → + Add → Add custom connector
- Name it, enter
https://mcp.lexq.io, and choose Sign in now - On the LexQ page that opens, sign in and generate a new API key for MCP, or choose I already have an API key and paste an existing one
- The tools are now available in every conversation
Remote (Streamable HTTP)
For any MCP client that supports remote servers:
OAuth 2.1 authentication is handled automatically by your client.
Local (stdio)
Run LexQ CLI as a local MCP server:
Claude Desktop
Add to claude_desktop_config.json:
VS Code / Cursor
.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.
Registry
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.
Protocol Support
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.
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.
AI Agent Skills
LexQ CLI ships with AI Agent Skills: structured documentation that tells agents how to use each tool.
After installing @lexq/cli, agents can read skills from:
Commands
Global Options
--format only changes how results are printed. A command that writes a file, such as lexq facts export, chooses the file's format with --as csv or --as json.
Configuration
Config is stored at ~/.lexq/config.json:
The file holds an API key in plain text. It is saved with mode 0600 inside a 0700
directory, so only its owner can read it. If an older version created it with looser
permissions, the CLI tightens them the next time it saves the file.
Environment variables
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.
Development
Checks that guard a stated fact against the thing that owns it. All of them run in CI.
Security
Report a vulnerability through GitHub's private reporting form. The policy, including what is in scope, is in SECURITY.md.
License
Source: README.md at commit 807144e
Tools
0Version history
17- v3.0.4LatestNov 7, 2026
- v3.0.2Nov 5, 2026
- v3.0.1Nov 4, 2026
- v3.0.0Nov 4, 2026
- v2.1.1Oct 26, 2026
- v2.0.0Oct 24, 2026
- v1.1.7Oct 19, 2026
- v1.1.6Oct 18, 2026
- v1.1.5Oct 15, 2026
- v1.1.4Oct 13, 2026
- v1.1.3Oct 12, 2026
- v1.1.2Oct 11, 2026
- v1.1.1Oct 6, 2026
- v1.1.0Oct 2, 2026
- v1.0.2Oct 1, 2026
- v1.0.1Sep 30, 2026
- v1.0.0Sep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts