Skip to content

rule-mcp

Preferences
  • Theme
  • Display
  • rule-mcp

    v0.1.3GitHub

    Deterministic skills for every AI coding agent, without calling an LLM.

    rule-mcp is an MCP server. It sends a free-text request to the correct skill. It serves styleguides and templates as tools and resources. It checks generated code with guardrails. It runs on your machine and works with any model.

    Documentation site Get started Browse reference

    How it works

    1. Route. The router reads a free-text request and selects a skill or an area hub.
    2. Serve. The skill gives its evidence as MCP tools, resources, and prompts.
    3. Validate. Deterministic guardrails check the generated code before you keep it.

    Start here

    Reference

    Read about the architecture, the guardrails, the CLI, and the environment variables.

    Surface map

    Find every command, tool, and skill in one generated table.

    What the server does

    rule-mcp is one MCP server that runs on your machine and serves deterministic skills to any coding agent. It reads a free-text request, routes it to the right skill, and returns that skill's evidence as tools, resources and prompts. Guardrails then check the generated code against the rules the skill states. No model is called to route, to serve or to validate, so the same request returns the same answer at no token cost. What the server records stays in one directory on the machine, with an off switch, and it sends the prompt nowhere else.