Rulewise is an MCP server published by io.github.malithJayasinghe2000, hosted at rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io. When last checked on 2026-11-21 it was working: it answers and lists its tools. It declares 4 tools, including check_legal_risks, get_fact_questions, get_rule, get_checklist.
Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.
Nothing else in the archive shares these values.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| done | any | rule_id values of warnings the user says are already handled. Only when the user says so; they are listed as 'done', not verified. |
| facts * | any | List of the facts that are true, from get_fact_questions |
| users_in * | any |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| ISO country codes where users are, as the user said, e.g. ['LK'] |
| company_in | any | ISO country code where the company (or maker) is, e.g. 'LK' |
| processing_in | any | ISO country codes where data is stored or processed |
{
"name": "check_legal_risks",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "check_legal_risksArguments",
"required": [
"users_in",
"facts"
],
"properties": {
"done": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Done",
"default": null,
"description": "rule_id values of warnings the user says are already handled. Only when the user says so; they are listed as 'done', not verified."
},
"facts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "string"
}
],
"title": "Facts",
"description": "List of the facts that are true, from get_fact_questions"
},
"users_in": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"title": "Users In",
"description": "ISO country codes where users are, as the user said, e.g. ['LK']"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Company In",
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'"
},
"processing_in": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Processing In",
"default": null,
"description": "ISO country codes where data is stored or processed"
}
}
},
"outputSchema": {
"type": "object",
"title": "check_legal_risksDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.
No parameters.
{
"name": "get_fact_questions",
"description": "List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.",
"inputSchema": {
"type": "object",
"title": "get_fact_questionsArguments",
"properties": {}
},
"outputSchema": {
"type": "object",
"title": "get_fact_questionsDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| rule_id * | string | rule_id from a check_legal_risks warning |
{
"name": "get_rule",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "get_ruleArguments",
"required": [
"rule_id"
],
"properties": {
"rule_id": {
"type": "string",
"title": "Rule Id",
"description": "rule_id from a check_legal_risks warning"
}
}
},
"outputSchema": {
"type": "object",
"title": "get_ruleDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| law | string | Which checklist: 'pdpa' |
| facts * | any | List of the facts that are true, from get_fact_questions |
| users_in * | any | ISO country codes where users are, as the user said, e.g. ['LK'] |
| company_in | any | ISO country code where the company (or maker) is, e.g. 'LK' |
| processing_in | any | ISO country codes where data is stored or processed |
{
"name": "get_checklist",
"description": "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.",
"inputSchema": {
"type": "object",
"title": "get_checklistArguments",
"required": [
"users_in",
"facts"
],
"properties": {
"law": {
"type": "string",
"title": "Law",
"default": "pdpa",
"description": "Which checklist: 'pdpa'"
},
"facts": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object",
"additionalProperties": {
"type": "boolean"
}
},
{
"type": "string"
}
],
"title": "Facts",
"description": "List of the facts that are true, from get_fact_questions"
},
"users_in": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
],
"title": "Users In",
"description": "ISO country codes where users are, as the user said, e.g. ['LK']"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Company In",
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'"
},
"processing_in": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Processing In",
"default": null,
"description": "ISO country codes where data is stored or processed"
}
}
},
"outputSchema": {
"type": "object",
"title": "get_checklistDictOutput",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Rulewise spots legal issues for software products, starting with Sri Lankan law. It gives legal information, not legal advice. When the user plans or builds a product or feature (an app, website or online service): 1. Where are the users and the company? Never guess the country. - If the user already said (for example "for Sri Lanka"), go on. - If not, ask one short question before checking, for example: "Rulewise checks Sri Lankan law. Will your users or your company be in Sri Lanka?" - If neither is in Sri Lanka, say Rulewise does not cover that country yet (no check, and never "no issues"). If you don't know yet, also ask what personal data is collected. 2. Call get_fact_questions once to learn the facts you may send. 3. Call check_legal_risks with the facts that are true for the feature. Send only facts and country codes, never the user's idea text or code. 4. Explain only what the tool returns, Must items first, with the law and section. Never add laws of your own, and never say the product is "compliant" or "all clear": say "no issues found in the areas we cover" and list what isn't covered. 5. If the user says a warning is already handled, pass its rule_id in `done` on later checks. Done items are listed separately, not verified: remind the user to check them. Never mark something done unless the user said so. 6. Say that draft rules are not yet reviewed by a lawyer. If the tool returns an error, tell the user the check failed; do not treat it as "no issues". End with the result's `feedback` line once (where to report a wrong or missed law). 7. If the user asks how to avoid or get around a law, explain the law and the risk instead of helping to evade it.
Names, descriptions and schemas were written by the server and are shown as data.