@run-iq/mcp-server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@run-iq/mcp-server
An MCP server that gives LLM clients (Claude Desktop, Claude Code, Cursor, VS Code...) access to the Run-IQ rule engine. The model can write rules, validate them, and evaluate them against test inputs. It runs over stdio.
Install
The package is published to GitHub Packages. Point the @run-iq scope at it in your ~/.npmrc (GitHub requires a token with read:packages):
@run-iq:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_TOKENThen add it to your client's MCP config:
{
"mcpServers": {
"run-iq": {
"command": "npx",
"args": ["-y", "@run-iq/mcp-server", "--plugins-dir", "/path/to/plugins"]
}
}
}Requires Node.js 20 or later.
Related MCP server: AWS Pricing Calculator MCP Server
Plugins
The server starts with no calculation model. Load plugins with:
Flag | |
| Imports every |
| Imports an npm package, resolved from the current directory, then from |
Both flags can be combined, and --plugin can be repeated. Each module must default-export a PluginBundle from @run-iq/plugin-sdk:
// plugins/fiscal.mjs
import { FiscalPlugin, fiscalDescriptor } from '@run-iq/plugin-fiscal';
import { JsonLogicEvaluator } from '@run-iq/dsl-jsonlogic';
export default {
plugin: new FiscalPlugin(),
descriptor: fiscalDescriptor,
dsls: [new JsonLogicEvaluator()],
};The packages it imports must be installed next to the file (for example npm install @run-iq/plugin-fiscal @run-iq/dsl-jsonlogic in the parent directory).
The descriptor tells the server which extra fields the plugin's rules need. create_rule, validate_rules, the schema://rules resource and the prompts are built from it. With the fiscal plugin, for example, create_rule requires jurisdiction, scope, country and category.
Tools
Tool | |
| Build a rule and compute its checksum |
| Check structure, checksum, model params and plugin fields |
| Details on one rule: checksum, model, whether it is active at a date |
| SHA-256 of a rule or of a params object |
| Models provided by the loaded plugins, with their params |
| Evaluate rules against an input |
| Evaluate the same rules against up to 20 inputs and compare |
| Turn an evaluation result into a readable summary |
The engine runs in dry-run, non-strict mode: nothing is persisted and meta.effectiveDate is optional. Rules with a wrong checksum are skipped with CHECKSUM_MISMATCH.
Pass dates to create_rule as full ISO strings (2025-01-01T00:00:00.000Z). With a date-only value like 2025-01-01, the checksum is computed on that string, and evaluate later skips the rule because it normalizes the date first.
Decision graph tools
These tools build and run decision graphs (@run-iq/dg): nodes that compute, fetch data, branch or merge, wired by edges.
Tool | |
| Build a graph one action at a time ( |
| Quick structural check without compiling |
| Compile a graph and keep it in memory under its hash |
| Mermaid diagram, node counts, ports, root and leaf nodes |
| Run a graph, given inline or by hash, against an input |
| Run the same graph against up to 10 scenarios |
| Per-node outputs and events of a past run, by |
| Turn a past run into a readable summary |
Compiled graphs and the last 20 runs live in memory for the session. Compute nodes are evaluated with no rules attached, so they output 0.
Resources and prompts
| Rule schema, plugin fields, model params, input fields and examples |
| Documentation of the available models |
| Loaded plugins, DSLs and descriptors |
| Decision graph format: nodes, edges, ports, policies, merge, enrich and subgraph configs |
| Example graphs: linear, merge with enrichment, conditional branching |
| Turn a text (law, regulation, policy) into rules. Args: |
| Answer a |
| Design a decision graph from a |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Authenticated MCP server for ClearPolicy policy and compliance workflows.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
MCP server for Product Management
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP Server that enables natural language interaction with the Open Policy Agent REST API, allowing users to manage policies, decisions, and data through conversational interfaces.1-
- AlicenseNot gradedqualityCmaintenanceMCP server that provides tools for automating AWS Pricing Calculator estimate generation.MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that enforces governance on agentic decisions with auditable evidence records, providing tools for understanding, calibrating confidence, and navigating handoffs based on policy.-
- FlicenseNot gradedqualityCmaintenanceMCP server that evaluates agent actions against a Policy State Machine, emits a tamper-evident audit trail, and dispatches approved transitions to internal or federated handlers.-