Add Rulewise to Your AI Tool
Connect Claude Code, OpenAI Codex, VS Code, or Cursor over HTTP. It takes one line of setup — no sign-up or API keys required.

WE ARE AVAILABLE FOR NEW AI & DIGITAL PROJECTS
REAL-TIME STATUTORY FLAGGING
Easy to miss when you only think about the code. Rulewise flags statutory requirements before you write a single migration — citing the exact Sri Lankan Act and section.
“An online shop app saves customers' phone numbers and sends them offers by SMS.”
Ask for a separate yes before sending offers, and put a free opt-out in every SMS.
Show a privacy notice when people sign up: what you collect, why, and who gets it.
HOW IT WORKS
Connect Claude Code, OpenAI Codex, VS Code, or Cursor over HTTP. It takes one line of setup — no sign-up or API keys required.
When you describe a feature, your AI calls get_fact_questions and check_legal_risks to verify short facts against Sri Lankan law.
Each warning shows how serious it is (Must / Should), the exact Act and section behind it, what to build, and what to ask a lawyer.
WHAT IT COVERS
Sri Lankan law, for the areas software most often runs into. Every result also lists what it does not cover, so a short result is never mistaken for an all-clear.
Each rule quotes the official text, links to it, and shows when it was last checked.
Personal Data Protection Act No. 9 of 2022, as amended in 2025
Consent flows, privacy notices, cross-border transfers, data retention, and direct marketing opt-outs.
Payment and Settlement Systems Act and Central Bank regulations
Stored-value wallets, payment aggregation, escrow mechanics, and licensed gateway requirements.
Training on user data, bots, AI giving medical advice
Automated decision disclosures, secondary model training consent, and regulated advice boundaries.
Online Safety Act No. 9 of 2024
User-generated content moderation, takedown workflows, and platform safety obligations.
Consumer Affairs Authority Act No. 9 of 2003
Transparent pricing, refund policies, warranty disclosures, and unfair trade practice guardrails.
Electronic Transactions Act No. 19 of 2006, as amended in 2017
Clickwrap enforceability, electronic signatures, and automated contract formation.
Computer Crime Act No. 24 of 2007
Unauthorized access boundaries, security testing scope, and system integrity rules.
Intellectual Property Act No. 36 of 2003
Content scraping, licensing, user uploads, and software intellectual property ownership.
Rules that limit platforms for doctors and lawyers
Fee-splitting prohibitions, advertising restrictions, and professional directory rules.
DOCUMENTATION & SETUP
Rulewise is an MCP server, so it works with any AI tool that supports MCP. When you plan or build a feature, your AI checks it and explains the result.
Nothing to install: add the Rulewise address to your AI tool, then restart it. Then describe what you're building and where your users are. That's all.
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpclaude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpMCP PROTOCOL REFERENCE
get_fact_questions()STEP 1 · DISCOVERYCalled by your AI assistant when you describe a feature or product idea. Returns concise, structured fact questions (e.g., whether the app collects phone numbers, sends marketing messages, or processes payments) without exposing your codebase.
check_legal_risks()STEP 2 · STATUTORY CHECKEvaluates the confirmed short facts and jurisdiction code (e.g., 'LK') against verified Sri Lankan statutes. Returns severity-ranked warnings, official Act citations, engineering action items, and questions for legal counsel.
ZERO-TRUST ARCHITECTURE
Your AI tool reads your idea on your side. Rulewise only gets short facts, such as “collects phone numbers” or “takes card payments”, never your idea or your code.
Nothing is saved: no account, no cookies, no analytics, and no record of who asked what. Web IP logs are intentionally disabled, and rate-limiting counters live only in volatile memory for a few minutes.
FAQS
Your AI tool reads what you are building on your own machine. It sends Rulewise only a short list of abstract facts — such as 'collects phone numbers' or 'takes card payments' — along with the country code ('LK'). Rulewise never receives your idea description, source code, filenames, or personal data, and stores nothing.
Rulewise is built on the open Model Context Protocol (MCP) over HTTP. It works out of the box with Claude Code, OpenAI Codex CLI, VS Code (GitHub Copilot MCP), Cursor, and any MCP-compatible AI client with a single configuration snippet.
No. Rulewise provides legal information to help engineers and founders spot statutory requirements early. It is not legal advice and does not certify compliance. Every warning includes tailored questions you can take directly to a Sri Lankan lawyer.
Rulewise covers Personal Data (PDPA No. 9 of 2022 as amended in 2025), Payments (Payment & Settlement Systems Act and CBSL regulations), AI Features, Online Content (Online Safety Act No. 9 of 2024), Consumer Rights (CAA Act No. 9 of 2003), Online Contracts (Electronic Transactions Act No. 19 of 2006), Cybercrime (Computer Crime Act No. 24 of 2007), Copyright (IP Act No. 36 of 2003), and regulated Professions.
Yes. Rulewise is completely free to use during Beta with no sign-up, no API keys, and no cookies or tracking.

OFFICES
Kahanthota, Malabe
Colombo
Sri Lanka
Mon – Fri, 9am – 6pm
GMT+5:30
Remote-first, global delivery