Rulewise

● Active

io.github.malithJayasinghe2000/rulewise

Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.

Connect this server

One click to install, or copy the config below. Suits: Cursor · HTTP clients.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "rulewise": {
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp
VS Code
code --add-mcp '{"name":"rulewise","type":"http","url":"https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Legal & Government
Version
0.1.0
Registry
active
Published
11/18/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 22, 2026

Looks healthy: Rulewise is maintained, open source, hosted endpoint answering without a key.

Maintained
Active
Last commit 4 days ago (Nov 18, 2026), 0 open issues.
Official registry
Active
Published as io.github.malithJayasinghe2000/rulewise in the official MCP registry, version 0.1.0.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
Hosted by the publisher
Your client talks to rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io: prompts and tool arguments leave your machine for that host.
Credentials
None needed to connect
The hosted endpoint completed the Serverdex initialize + tools/list handshake with no key (checked Nov 22, 2026); individual tools may still ask for one.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself and see the status history.

Live check

checked Nov 22, 2026, 00:07 UTCStatus history & uptime →
● Working729 msprotocol 2025-06-18v0.1.0promptsresourcestools

The endpoint answered the MCP handshake as "Rulewise" and listed 4 tools. Answering since Nov 18, 2026.

Context cost ≈ 1.2k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 4 tools.

Tools (4)

  • check_legal_risks5 params

    Check a planned or new feature for legal risks. Call this whenever the user plans or builds a feature for a product used in Sri Lanka, or made by a Sri Lankan company or person, even if they didn't ask about law. If the user hasn't said where the users or company are, ask them first; never guess the country. Send country codes and facts from get_fact_questions only (no idea text, no code). Returns warnings with severity (Must / Should / Check with a lawyer), the law and section, what to do, and the areas NOT covered.

    Show parameters
    • users_inrequiredISO country codes where users are, as the user said, e.g. ['LK']
    • factsrequiredList of the facts that are true, from get_fact_questions
    • company_inISO country code where the company (or maker) is, e.g. 'LK'
    • processing_inISO country codes where data is stored or processed
    • donerule_id values of warnings the user says are already handled. Only when the user says so; they are listed as 'done', not verified.
  • get_fact_questions

    List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.

  • get_rule1 param

    Get one rule in full, including the exact quote from the law and its official source link. Use it to show proof for a warning.

    Show parameters
    • rule_idstringrequiredrule_id from a check_legal_risks warning
  • get_checklist5 params

    Get a law checklist for the product, for example the PDPA 2027 checklist: the rules of that law that apply to these facts, each with what to look for in the code (look_for) or ask the user (ask). Use it when the user asks whether their project is ready for the PDPA. Send country codes and facts only. Mark each item Found (with file and line), Missing or Can't tell from code; never give a score.

    Show parameters
    • users_inrequiredISO country codes where users are, as the user said, e.g. ['LK']
    • factsrequiredList of the facts that are true, from get_fact_questions
    • company_inISO country code where the company (or maker) is, e.g. 'LK'
    • processing_inISO country codes where data is stored or processed
    • lawstringWhich checklist: 'pdpa'

Checked by Serverdex with a plain initialize + tools/list call to rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp, no credentials, about once a day. A failed check is never a removal.

On GitHub

read Nov 18, 2026
Stars
0
Forks
0
Last push
Nov 18, 2026
License
MIT

TypeScript

From the README

Rulewise Legal issue-spotting for people who build software. Connect it to your AI coding tool (Claude Code, Cursor, Codex, VS Code) as an MCP server. While you build, it tells you which laws apply to what you're building, how serious each one is, and what to ask a lawyer. Starts with Sri Lankan law. It gives legal information, not legal advice. Use it Nothing to install. Add the hosted server to your AI tool: • Claude Code: • Cursor (~/.cursor/mcp.json, {"mcpServers": {"rulewise": {"url": " "}}}), VS Code (.vscode/mcp.json, {"servers": {"rulewise": {"type": "http", "url": " "}}}), Codex (~/.codex/config.toml, [mcp_servers.rulewise] with url = " "). Codex doesn't follow the server's own instructions, so also add the Rulewise skill (skills/rulewise/SKILL.md), or it only uses Rulewise when asked: npx skills add malithJayasinghe2000/legal-mcp (asks which AI tools to install it into). Without Node.js, add this line to AGENTS.md instead (project, or ~/.codex/AGENTS.md): Before planning or building a product or feature, check it with the Rulewise MCP tools (getfactquestions, then checklegalrisks). Prefer to run it on your own computer? Install uv, then: Then just describe what you're building and where your users are. Claude calls the checklegalrisks tool when you plan a feature for a product used in Sri Lanka.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

The most-starred Legal & Government servers in the index, with their live-check result.

ServerStarsLast pushLive check
Korean Law MCP2,891Nov 2026Working
EdgarTools2,859Nov 2026Local / not checked
Global law2,167Nov 2026Working
MCP Fiscal Brasil433Nov 2026Local / not checked
Legal Data Hunter422Nov 2026Needs sign-in

Rulewise: questions people ask

Is Rulewise a remote or a local MCP server?
According to its entry in the official MCP registry, Rulewise ships as a hosted endpoint (streamable-http) that your client connects to by URL.
Does Rulewise need an API key?
Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Nov 22, 2026. Individual tools may still ask for a key when called.
Is Rulewise safe to use?
Looks healthy: Rulewise is maintained, open source, hosted endpoint answering without a key. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: Hosted by the publisher; credentials: None needed to connect. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is Rulewise still maintained?
Active: the repository's last commit 4 days ago. Last push Nov 18, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 18, 2026.
What tools does Rulewise expose?
4 tools as listed by the server itself during the live check, including check_legal_risks, get_fact_questions, get_rule, get_checklist. The full list with parameters is in the Live check section above.
How do I add Rulewise to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Legal & Government →

Add the badge to your site

Show visitors that Rulewise is listed here — it’s also the link we check for a free listing.

Rulewise — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-malithjayasinghe2000-rulewise?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Rulewise — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Rulewise — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-malithjayasinghe2000-rulewise?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-malithjayasinghe2000-rulewise) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-malithjayasinghe2000-rulewise) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-malithjayasinghe2000-rulewise)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-malithjayasinghe2000-rulewise"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-malithjayasinghe2000-rulewise"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-malithjayasinghe2000-rulewise"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).