Rulewise
● Activeio.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.
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"
}
}
}claude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpcode --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
Is it safe? Is it maintained?
Serverdex check: Nov 22, 2026Looks 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 →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 paramsCheck 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 parametersHide 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_questionscompany_inISO country code where the company (or maker) is, e.g. 'LK'processing_inISO country codes where data is stored or processeddonerule_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_questionsList 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 parametersHide parameters
rule_idstringrequiredrule_id from a check_legal_risks warning
get_checklist5 paramsGet 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 parametersHide 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_questionscompany_inISO country code where the company (or maker) is, e.g. 'LK'processing_inISO country codes where data is stored or processedlawstringWhich 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-http
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp
Alternatives to Rulewise
All Rulewise alternatives →Best Legal & Government servers →The most-starred Legal & Government servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Korean Law MCP | 2,891 | Nov 2026 | Working |
| EdgarTools | 2,859 | Nov 2026 | Local / not checked |
| Global law | 2,167 | Nov 2026 | Working |
| MCP Fiscal Brasil | 433 | Nov 2026 | Local / not checked |
| Legal Data Hunter | 422 | Nov 2026 | Needs 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.
More Legal & Government servers
Browse all Legal & Government →Swisstopo MCP
malkreide
Swiss federal geodata: geocoding, height, STAC, WMTS, OEREB and more
US Government Data
malonestar
US government open-data APIs as MCP tools: EPA, FEMA, USGS, NOAA, FDIC, HUD, CMS and more.
Onça Setorial
marcioyoshida
Brazilian regulator data: CVM filings, dam safety, airline punctuality, rules, enforcement
Lexvibe
marcosnovo
One-step legal compliance for vibe-coded apps: privacy, terms, cookie banner and EU AI Act check.
OpenJEV
markylaredo
Typed AI judgments for agents: choice, score, and yes/no probabilities instead of prose.
MatchAwards
matchawards
Search US government contracts, grants and jobs from matchawards.com. Read-only, no key.
Add the badge to your site
Show visitors that Rulewise is listed here — it’s also the link we check for a free listing.
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
[](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.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-malithjayasinghe2000-rulewise) [](https://serverdex.io/install/vscode/io-github-malithjayasinghe2000-rulewise) [](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).