FAI Legal Research

Pakistani case law and statutes: Supreme Court and High Court judgments, laws, drafting templates.

使うべきか

品質と安全性

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

検出事項(1)

  • LOWTool 'get_statute_section' description lacks action verbget_statute_section 内

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

コンテキストコスト

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

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

インストール

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

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

{
  "mcpServers": {
    "fai-legal": {
      "url": "https://failegal.site/mcp"
    }
  }
}

リモートエンドポイント

https://failegal.site/mcpstreamable-http

できること

ツール一覧

ツール(5)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢search_judgments(query, court, year_from, year_to, limit)

Find reported judgments (case law, precedents) of Pakistani courts: Supreme Court of Pakistan, Lahore, Sindh, Peshawar, Balochistan and Islamabad High Courts, Federal Shariat Court and others. Use for any request like "Supreme Court judgment on bike snatching", "case law on pre-arrest bail mala fide", "precedent on specific performance". Returns citation (e.g. 2022 SCMR 1577), court, year, parties, judges, provisions and headnote, ranked by relevance; off-topic matches are dropped, so an empty list means no on-point judgment was found. Pakistan only.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 3,
      "maxLength": 300,
      "description": "The legal issue or facts in plain English, e.g. \"motorcycle snatched at gunpoint robbery conviction\"."
    },
    "court": {
      "description": "Only this court. Omit to search all Pakistani courts.",
      "type": "string",
      "enum": [
        "Federal Constitutional Court",
        "Supreme Court",
        "Lahore High Court",
        "Islamabad High Court",
        "Peshawar High Court",
        "Sindh High Court",
        "Balochistan High Court",
        "Federal Shariat Court",
        "AJK courts",
        "Gilgit-Baltistan",
        "Tribunals"
      ]
    },
    "year_from": {
      "description": "Earliest year of the report.",
      "type": "integer",
      "minimum": 1947,
      "maximum": 2100
    },
    "year_to": {
      "description": "Latest year of the report.",
      "type": "integer",
      "minimum": 1947,
      "maximum": 2100
    },
    "limit": {
      "default": 5,
      "description": "How many judgments to return (max 5).",
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "citation": {
            "type": "string"
          },
          "court": {
            "type": "string"
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "decided_on": {
            "type": [
              "string",
              "null"
            ]
          },
          "parties": {
            "type": [
              "string",
              "null"
            ]
          },
          "judges": {
            "type": [
              "string",
              "null"
            ]
          },
          "case_no": {
            "type": [
              "string",
              "null"
            ]
          },
          "outcome": {
            "type": [
              "string",
              "null"
            ]
          },
          "provisions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "headnote": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "relevance": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "citation",
          "court",
          "year",
          "decided_on",
          "parties",
          "judges",
          "case_no",
          "outcome",
          "provisions",
          "headnote",
          "summary",
          "relevance"
        ],
        "additionalProperties": false
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "results",
    "note"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢search_statutes(query, act, limit)

Find the sections of Pakistani laws relevant to a question: Pakistan Penal Code (PPC), Code of Criminal Procedure (CrPC), Code of Civil Procedure (CPC), the Constitution, Contract Act, Limitation Act, Qanun-e-Shahadat, family, tax, labour and provincial laws. Use for "punishment for snatching a motorcycle", "which section covers cheque dishonour", "bail in a non-bailable offence". Understands everyday words (murder finds qatl-i-amd, s.302 PPC). Returns section text with its citation.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 300,
      "description": "The question or topic, or a section reference like \"section 302 PPC\"."
    },
    "act": {
      "description": "Only search this act, e.g. \"Code of Criminal Procedure\".",
      "type": "string",
      "maxLength": 120
    },
    "limit": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "citation": {
            "type": "string"
          },
          "act": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "heading": {
            "type": [
              "string",
              "null"
            ]
          },
          "chapter": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "scanned_copy": {
            "type": "boolean"
          }
        },
        "required": [
          "citation",
          "act",
          "section",
          "heading",
          "chapter",
          "text",
          "scanned_copy"
        ],
        "additionalProperties": false
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "results",
    "note"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_statute_section(act, section)

Return the full text of one section or article of a Pakistani law when the act and number are known, e.g. act "PPC", section "392"; act "Constitution", section "199".

入力スキーマ

{
  "type": "object",
  "properties": {
    "act": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "Act name or common short form: PPC, CrPC, CPC, Constitution, Contract Act, Qanun-e-Shahadat..."
    },
    "section": {
      "type": "string",
      "minLength": 1,
      "maxLength": 20,
      "description": "Section or article number, e.g. \"489-F\", \"199\"."
    }
  },
  "required": [
    "act",
    "section"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "citation": {
            "type": "string"
          },
          "act": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "heading": {
            "type": [
              "string",
              "null"
            ]
          },
          "chapter": {
            "type": [
              "string",
              "null"
            ]
          },
          "text": {
            "type": "string"
          },
          "scanned_copy": {
            "type": "boolean"
          }
        },
        "required": [
          "citation",
          "act",
          "section",
          "heading",
          "chapter",
          "text",
          "scanned_copy"
        ],
        "additionalProperties": false
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "found",
    "sections",
    "note"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢list_drafting_templates(filter)

List FAI's reviewed Pakistani legal drafting templates (legal notice, plaint, bail application, written statement, affidavit, agreements, family and rent matters and more). Use when the user wants to draft a Pakistani legal document; then call get_drafting_template with the chosen id.

入力スキーマ

{
  "type": "object",
  "properties": {
    "filter": {
      "default": "",
      "description": "Optional words to narrow the list, e.g. \"bail\" or \"notice\".",
      "type": "string",
      "maxLength": 80
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "count": {
      "type": "number"
    },
    "templates": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "forum": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "category",
          "description",
          "forum"
        ],
        "additionalProperties": false
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "count",
    "templates",
    "note"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢get_drafting_template(template_id)

Return one reviewed template: its structure, the facts that must be collected first, and the standard wording for its Pakistani forum. Ask the user for any missing facts, never invent them, then fill the template.

入力スキーマ

{
  "type": "object",
  "properties": {
    "template_id": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "An id from list_drafting_templates, e.g. \"legal-notice\"."
    }
  },
  "required": [
    "template_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "message": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "forum": {
      "type": "string"
    },
    "template": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "found",
    "note"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

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