Rulewise
Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"rulewise": {
"url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
}
}
}Remote-Endpunkte
https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
🟢check_legal_risks(users_in, facts, company_in, processing_in, done)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"users_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "ISO country codes where users are, as the user said, e.g. ['LK']",
"title": "Users In"
},
"facts": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"additionalProperties": {
"type": "boolean"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "List of the facts that are true, from get_fact_questions",
"title": "Facts"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'",
"title": "Company In"
},
"processing_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country codes where data is stored or processed",
"title": "Processing In"
},
"done": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"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.",
"title": "Done"
}
},
"required": [
"users_in",
"facts"
],
"title": "check_legal_risksArguments"
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true,
"title": "check_legal_risksDictOutput"
}🟢get_fact_questions
List the facts check_legal_risks understands, grouped, each with the question it answers. Call once before check_legal_risks.
Eingabe-Schema
{
"type": "object",
"properties": {},
"title": "get_fact_questionsArguments"
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true,
"title": "get_fact_questionsDictOutput"
}🟢get_rule(rule_id)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"rule_id": {
"description": "rule_id from a check_legal_risks warning",
"title": "Rule Id",
"type": "string"
}
},
"required": [
"rule_id"
],
"title": "get_ruleArguments"
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true,
"title": "get_ruleDictOutput"
}🟢get_checklist(users_in, facts, company_in, processing_in, law)
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.
Eingabe-Schema
{
"type": "object",
"properties": {
"users_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "ISO country codes where users are, as the user said, e.g. ['LK']",
"title": "Users In"
},
"facts": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"additionalProperties": {
"type": "boolean"
},
"type": "object"
},
{
"type": "string"
}
],
"description": "List of the facts that are true, from get_fact_questions",
"title": "Facts"
},
"company_in": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country code where the company (or maker) is, e.g. 'LK'",
"title": "Company In"
},
"processing_in": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO country codes where data is stored or processed",
"title": "Processing In"
},
"law": {
"default": "pdpa",
"description": "Which checklist: 'pdpa'",
"title": "Law",
"type": "string"
}
},
"required": [
"users_in",
"facts"
],
"title": "get_checklistArguments"
}Ausgabe-Schema
{
"type": "object",
"additionalProperties": true,
"title": "get_checklistDictOutput"
}Community
Nachweis