Rulewise

Warns developers which Sri Lankan laws apply to what they build. Legal information, not advice.

使うべきか

品質と安全性

A
説明の品質
95%
スキーマの完全性
74%
命名の品質
100%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,083トークン数(ツール定義)
~2.1 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.85%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "rulewise": {
      "url": "https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcp"
    }
  }
}

リモートエンドポイント

https://rulewise.victoriousdune-a7b660c5.centralindia.azurecontainerapps.io/mcpstreamable-http

できること

ツール一覧

ツール(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.

入力スキーマ

{
  "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"
}

出力スキーマ

{
  "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.

入力スキーマ

{
  "type": "object",
  "properties": {},
  "title": "get_fact_questionsArguments"
}

出力スキーマ

{
  "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.

入力スキーマ

{
  "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"
}

出力スキーマ

{
  "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.

入力スキーマ

{
  "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"
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true,
  "title": "get_checklistDictOutput"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 4 件