Rulewise MCP
Rulewise is an MCP server that integrates with AI coding tools to identify applicable Sri Lankan laws during the planning and building phases. It provides warnings about legal requirements for areas like personal data, payments, and consumer rights, helping developers spot issues before deployment. It does not provide legal advice.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Check which Sri Lankan laws apply to a planned feature
- Identify personal data protection requirements
- Verify compliance with consumer rights regulations
- Get warnings about AI and online content laws
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- rulewise 0.1.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 4 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 2 advertised
{
"tools": {
"listChanged": false
},
"prompts": {
"listChanged": false
},
"resources": {
"subscribe": false,
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
check_legal_risks
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.
{
"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"
}
}
}{
"type": "object",
"title": "check_legal_risksDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}get_fact_questions
List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.
{
"type": "object",
"title": "get_fact_questionsArguments",
"properties": {}
}{
"type": "object",
"title": "get_fact_questionsDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}get_rule
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.
{
"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"
}
}
}{
"type": "object",
"title": "get_ruleDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}get_checklist
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.
{
"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"
}
}
}{
"type": "object",
"title": "get_checklistDictOutput",
"additionalProperties": true
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}Prompts
2 advertised
check_project — Check my project with Rulewise
Read the whole project, find the facts, run the Rulewise check and write RULEWISE-REPORT.md with the warnings, the code they apply to and questions for a lawyer.
pdpa_checklist — PDPA 2027 checklist
Check how ready the project's code is for Sri Lanka's PDPA and write RULEWISE-PDPA-CHECKLIST.md: X of Y items found in the code, top fixes, questions.
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-18: 1 of 1 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 2284 ms
- 95th percentile latency
- 2423 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2439 ms · metadata changed · 4 tool(s), 0 resource(s), 0 resource template(s), 2 prompt(s)
- · probe · passed · 2128 ms · metadata changed · 3 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http rulewise-mcp https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpCodex
codex mcp add rulewise-mcp --url https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpCursor
{
"mcpServers": {
"rulewise-mcp": {
"url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
}
}
}Cline
{
"mcpServers": {
"rulewise-mcp": {
"type": "streamableHttp",
"url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"rulewise-mcp": {
"type": "http",
"url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http rulewise-mcp https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpClaude Desktop
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpWindsurf
{
"mcpServers": {
"rulewise-mcp": {
"serverUrl": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
}
}
}Let your agent find its tools
Find servers like Rulewise MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.