Know the law before you build.
Rulewise works inside your AI coding tool. While you plan a product, it shows which Sri Lankan laws apply, how serious each one is, and what to ask a lawyer.
Free. No sign-up. We store nothing you send.
Personal Data Protection Acts.27(1)
Must
Promotional messages need consent and an easy opt-out
Ask for a separate yes before sending offers, and put a free opt-out in every SMS.
Personal Data Protection Acts.11; Schedule V
Must
Tell users what you collect and why
Show a privacy notice when people sign up: what you collect, why, and who gets it.
Easy to miss when you only think about the code. Rulewise flags it before you build.
How it works
- 1
Add Rulewise to your AI tool
Claude Code, Cursor, Codex or VS Code. It takes one line of setup.
- 2
Plan or build as usual
When you describe a feature, your AI asks a few short questions and checks them against the Sri Lankan laws in Rulewise.
- 3
Get warnings with the law
Each warning shows how serious it is, the law and section behind it, what to do, 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
- Personal Data Protection Act No. 9 of 2022, as amended in 2025
- Payments
- Payment and Settlement Systems Act and Central Bank regulations
- AI features
- Training on user data, bots, AI giving medical advice
- Online content
- Online Safety Act No. 9 of 2024
- Consumer rights
- Consumer Affairs Authority Act No. 9 of 2003
- Online contracts
- Electronic Transactions Act No. 19 of 2006, as amended in 2017
- Cybercrime
- Computer Crime Act No. 24 of 2007
- Copyright
- Intellectual Property Act No. 36 of 2003
- Professions
- Rules that limit platforms for doctors and lawyers
Your idea stays yours.
Your AI tool reads your idea on your side. Rulewise only gets short facts, such as “collects phone numbers”, never your idea or your code.
Nothing is saved: no account, no cookies, no analytics, and no record of who asked what.
Add it to your AI tool
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.
Run in your terminal:
claude mcp add --transport http rulewise https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp