Skip to content
MCP server

Rulewise

MCP server that flags Sri Lankan laws relevant to software you plan or build

Install
Pricing
Free
Platforms
API, CLI, vscode
Runs
Remotely
Version
0.1.0
Listing updated
today

Similar MCP servers

About Rulewise

Rulewise is a free MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.

Rulewise connects to an AI coding assistant such as Claude Code, Cursor, Codex or VS Code and checks feature plans against Sri Lankan law while you work. The README says it spots legal issues, rates how serious each one is, and suggests questions to take to a lawyer.

The server asks a few short factual questions, such as whether a feature collects phone numbers, and then returns matching rules. Each rule quotes the official text, links to the source and shows when it was last checked. Results also state what they do not cover.

The project is aimed at developers and product builders who ship software used in Sri Lanka. The README describes the output as legal information rather than legal advice, and notes that the 61 draft rules have not yet been reviewed by a lawyer.

Install

Run in a terminal

claude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

Add to Settings → Connectors → Add custom connector

https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "rulewise": {
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "rulewise": {
      "type": "http",
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "rulewise": {
      "serverUrl": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

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

{
  "mcpServers": {
    "rulewise": {
      "type": "http",
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

check_legal_risks
Checks a feature against Sri Lankan laws and returns warnings.
get_fact_questions
Returns the short factual questions used before a legal check.
get_rule
Returns an exact law quote and link for a rule.

What it does

Plan-time legal checks
Runs a legal check from inside the AI assistant while a feature is being planned or built.
Severity ratings
Shows how serious each matched rule is, along with the law and section behind it.
Quoted official text
Each rule includes the exact law quote and a link to the source.
Lawyer question prompts
Suggests what to ask a lawyer about each warning.
Privacy-preserving queries
Sends only short facts and country codes, not the feature idea or code, and stores nothing.
Get rule tool
Exposes a tool to fetch a single rule with its quote and link.

Good for

  • Checking whether a new feature that collects personal data needs consent or a privacy notice
  • Reviewing SMS or marketing features against Sri Lankan telecom and data rules before launch
  • Spotting online safety, contract or consumer issues early in product planning
  • Preparing specific questions to bring to a Sri Lankan lawyer

Pricing

Free

Free hosted server with no sign-up; open-source repository under MIT.

Prices change. Check legal-mcp.vercel.app before you buy.

Rulewise FAQ

Is Rulewise legal advice?

No. The README and website describe it as legal information, not legal advice, and say the rules have not yet been reviewed by a lawyer.

Does it cost money or require sign-up?

The website says it is free with no sign-up, and it stores nothing you send.

Which AI tools does it work with?

The README lists Claude Code, Cursor, Codex and VS Code, and says any MCP-compatible tool can connect.

What tools does the server expose?

The README lists check_legal_risks, get_fact_questions and get_rule.

Is Rulewise free?

Yes. Rulewise is free to use.

How do I add Rulewise to Claude Code?

Run this command in your terminal: claude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

What are the best alternatives to Rulewise?

The closest alternatives to Rulewise are Wanhe AI Compliance Checker, LexLint: a lint for the law that governs software, TwinEthos Lite, ClevSec EU compliance tools and ComplyEdge TrustLint: offline AI law checks.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers