Skip to content
MCP server

Rules MCP

MCP for rules/skills/knowledge evaluation for Cursor, Claude, VS Code, and Antigravity.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.3.1
Listing updated
5 days ago

About Rules MCP

Rules MCP is an open-source MCP server for ai models and llm tooling. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add rules-mcp -- npx -y @akr1166org/rules-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "rules-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@akr1166org/rules-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "rules-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@akr1166org/rules-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "rules-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@akr1166org/rules-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "rules-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@akr1166org/rules-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "rules-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@akr1166org/rules-mcp"
      ]
    }
  }
}

Configuration

  • LOG_LEVELLog level: debug | info | warn | error (logs go to stderr)
  • SKILLS_PATHOverride path to Markdown/MDC skills directory
  • KNOWLEDGE_PATHOverride path to knowledge directory
  • PROFILES_PATHOverride path to agent profiles directory
  • PROFILEActive agent profile (default, cursor, claude, …)
  • RULES_PATHOverride path to legacy YAML rules directory

Pricing

Open source

Rules MCP FAQ

Is Rules MCP free?

Yes. Rules MCP is open source, so you can use and self-host it for free.

How do I add Rules MCP to Claude Code?

Run this command in your terminal: claude mcp add rules-mcp -- npx -y @akr1166org/rules-mcp

What are the best alternatives to Rules MCP?

The closest alternatives to Rules MCP are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

Alternatives to Rules MCP

  1. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  2. signafAIde

    MCP server

    Local MCP server to set up, verify and check coverage of signed agent action records

    Runs locally
    • 5 tools
    • Freemium
    • Security
  3. Toolkien

    MCP server

    One MCP gateway for all your MCP servers, with code mode, permissions and audit

    Not checked yet
    • 3 tools
    • Remote
    • Open source
    • AI models and LLM tooling
  4. Lugh

    MCP server

    Write, check and dry-run Lugh agent programs with policy, budgets and approvals

    Runs locally
    • 5 tools
    • Open source
    • AI models and LLM tooling
  5. HypePaper

    MCP server

    Research papers, benchmarks, citations and topic experts for AI assistants

    • 58 tools
    • Remote
    • Freemium
    • AI models and LLM tooling