Koskamo

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.

Rulewise MCP logo, by malithJayasinghe2000Community listingStreamable HTTPNo sign-inEndpoint checked 2026-11-23Published by malithJayasinghe2000
MCP endpoint (Streamable HTTP)
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 3 of 3 with parameters document them all

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

Community listingRegistry 0.1.0
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
Server-advertised capabilities
{
  "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.

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.

Tools

4 advertised

check_legal_risks
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

check_legal_risks input schema
{
  "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"
    }
  }
}
check_legal_risks output schema
{
  "type": "object",
  "title": "check_legal_risksDictOutput",
  "additionalProperties": true
}
check_legal_risks annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true
}
get_fact_questions
Advertised by the server during the last successful anonymous check.
Advertised read-only

List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.

get_fact_questions input schema
{
  "type": "object",
  "title": "get_fact_questionsArguments",
  "properties": {}
}
get_fact_questions output schema
{
  "type": "object",
  "title": "get_fact_questionsDictOutput",
  "additionalProperties": true
}
get_fact_questions annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true
}
get_rule
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_rule input schema
{
  "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"
    }
  }
}
get_rule output schema
{
  "type": "object",
  "title": "get_ruleDictOutput",
  "additionalProperties": true
}
get_rule annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true
}
get_checklist
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_checklist input schema
{
  "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"
    }
  }
}
get_checklist output schema
{
  "type": "object",
  "title": "get_checklistDictOutput",
  "additionalProperties": true
}
get_checklist annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true
}

Prompts

2 advertised

check_project — Check my project with Rulewise

Advertised by the server during the last successful anonymous check.

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.

No arguments advertised.

pdpa_checklist — PDPA 2027 checklist

Advertised by the server during the last successful anonymous check.

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.

No arguments advertised.

Resources

0 advertised

No resource definitions available.

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.

100% (25 of 25 checks answered)

  1. 2026-11-18: 1 of 1 checks answered
  2. 2026-11-19: 4 of 4 checks answered
  3. 2026-11-20: 3 of 3 checks answered
  4. 2026-11-21: 4 of 4 checks answered
  5. 2026-11-22: 4 of 4 checks answered
  6. 2026-11-23: 3 of 3 checks answered
  7. 2026-11-24: 4 of 4 checks answered
  8. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http rulewise-mcp https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add rulewise-mcp --url https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable rulewise-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "rulewise-mcp": {
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "rulewise-mcp": {
      "type": "streamableHttp",
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start rulewise-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "rulewise-mcp": {
      "type": "http",
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http rulewise-mcp https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.