MCPサーバー

Pakistan Case Law

com.pakistancaselaw/caselaw

このMCPでできること

Searches Pakistani judgments by text, citation, or legal question and retrieves case summaries, full decisions, landmark rankings, and citation relationships.

caselaw_get_case
Fetch one judgment by id. section='summary' (default) returns metadata + the headnote (plain-language summary, the laws/provisions referred, and keyword tags) — read this first to judge relevance cheaply. section='full' additionally returns the judgment body text (capped at ~40,000 chars; the response flags body_truncated/body_chars_total when longer).
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_get_caseArguments', 'required': ['case_id'], 'properties': {'case_id': {'type': 'integer', 'title': 'Case Id', 'minimum': 1, 'description': 'Numeric judgment id (from a search/lookup/graph result)'}, 'section': {'enum': ['summary', 'full'], 'type': 'string', 'title': 'Section', 'default': 'summary', 'description': "'summary' = metadata + headnote (cheap); 'full' = + judgment text"}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_get_caseOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_get_citations
Walk the citation graph FORWARD: list the in-corpus cases that THIS judgment cites (the precedents it relied on). Combine with caselaw_get_cited_by to traverse precedent backward and forward until a research question is resolved. Most useful on RECENT judgments: a 2024-25 case usually has nobody citing it yet, but its own citation list is a curated map of the established authority on the point.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_get_citationsArguments', 'required': ['case_id'], 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'case_id': {'type': 'integer', 'title': 'Case Id', 'minimum': 1, 'description': 'Numeric judgment id'}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_get_citationsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_get_cited_by
Walk the citation graph BACKWARD: list later cases that cite THIS judgment (how it was subsequently treated — followed, distinguished, relied upon). Returns newest first. Most useful on OLDER or landmark judgments: it shows whether the case is still followed and where the principle has been applied since. A leading case can have hundreds of citing cases.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_get_cited_byArguments', 'required': ['case_id'], 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'case_id': {'type': 'integer', 'title': 'Case Id', 'minimum': 1, 'description': 'Numeric judgment id'}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_get_cited_byOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_lookup_citation
Find the judgment(s) at an exact law-report citation. Example: journal='PLD', year=1995, page=34 → PLD 1995 Supreme Court 34. Omit page to list everything reported in that journal+year. Returns the same case shape as caselaw_search.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_lookup_citationArguments', 'required': ['journal', 'year'], 'properties': {'page': {'anyOf': [{'type': 'integer', 'minimum': 1}, {'type': 'null'}], 'title': 'Page', 'default': None, 'description': 'Page/serial number in the report (optional)'}, 'year': {'type': 'integer', 'title': 'Year', 'maximum': 2100, 'minimum': 1900}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'journal': {'type': 'string', 'title': 'Journal', 'maxLength': 30, 'minLength': 1, 'description': "Law-report code, e.g. 'PLD', 'SCMR', 'CLC'"}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_lookup_citationOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_most_cited
List the most-cited (landmark) judgments in the corpus, ranked by how many other cases cite them. A good entry point for the leading authorities on Pakistani law.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_most_citedArguments', 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_most_citedOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_search
Full-text search of Pakistani judgments (Supreme Court, High Courts, Federal Shariat Court and tribunals, 1970 onward), with optional filters by court, judge, law report and year. Ranking follows how lawyers research: nearness to the legal point decides which cases are returned; among comparably-near cases, more senior court > larger bench > more recent > more cited. For the current state of the law, add year_from (e.g. 2025); use sort='court' for the most authoritative first. With no query, the filters list judgments newest first - e.g. court='Supreme Court' gives the latest Supreme Court judgments, journal='PLD' with year_from=year_to=2024 gives that volume, and sort='recently_added' alone shows what was added to the site most recently. Returns cases with id, title, citation, court, year, outcome and the public URL. For an exact report citation use caselaw_lookup_citation. To read a case, pass its id to caselaw_get_case.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_searchArguments', 'properties': {'sort': {'type': 'string', 'title': 'Sort', 'default': 'relevance', 'description': 'relevance (default: nearest on the point, then court/bench/recency/citations) | newest (the ~200 closest matches in strict date order) | court (most senior court first) | recently_added (newest additions to the site). For the CURRENT law on a point, keep relevance and set year_from (e.g. 2025): strict date order can surface judgments that only mention the point in passing.'}, 'court': {'anyOf': [{'type': 'string', 'maxLength': 100}, {'type': 'null'}], 'title': 'Court', 'default': None, 'description': "Only this court: 'Supreme Court', 'Lahore High Court' (or 'LHC'), 'Sindh High Court', 'Peshawar High Court', 'Islamabad High Court', 'Balochistan High Court', 'Federal Shariat Court', or a tribunal's name"}, 'judge': {'anyOf': [{'type': 'string', 'maxLength': 100}, {'type': 'null'}], 'title': 'Judge', 'default': None, 'description': "Only judgments where this judge sat on the bench. Spelling-tolerant: 'Asif Khosa', 'Qazi Faez Isa'. The reply names the judge it matched."}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'query': {'anyOf': [{'type': 'string', 'maxLength': 200, 'minLength': 2}, {'type': 'null'}], 'title': 'Query', 'default': None, 'description': "Keywords, e.g. 'bail murder 302' or 'khula dower'. May be left out when a filter is given."}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'journal': {'anyOf': [{'type': 'string', 'maxLength': 20}, {'type': 'null'}], 'title': 'Journal', 'default': None, 'description': "Only judgments reported in this law report: 'PLD', 'SCMR', 'CLC', 'YLR', 'PLC(CS)', 'PTD' ... With year_from/year_to it selects that volume, e.g. SCMR 2025."}, 'year_to': {'anyOf': [{'type': 'integer', 'maximum': 2100, 'minimum': 1900}, {'type': 'null'}], 'title': 'Year To', 'default': None, 'description': 'Latest year (inclusive)'}, 'year_from': {'anyOf': [{'type': 'integer', 'maximum': 2100, 'minimum': 1900}, {'type': 'null'}], 'title': 'Year From', 'default': None, 'description': 'Earliest year (inclusive)'}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_searchOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
caselaw_search_questions
Find judgments by the QUESTION they settle, rather than by words they contain. Every judgment summary on this corpus records the questions that judgment actually decides — e.g. "Does delay in lodging the FIR by itself entitle the accused to bail?" This searches those questions, so it matches the shape a legal problem arrives in rather than the vocabulary a 1987 bench happened to use. COVERAGE IS PARTIAL: only some judgments have a summary with questions yet (the response's `coverage_note` gives the current live ratio, which keeps growing). An empty result means no *summarised* judgment matched — it does NOT mean no such judgment exists. Fall back to caselaw_search, which covers the whole corpus. The questions are prepared from the judgment text. They are a finding aid, not a holding: cite the judgment, never the question. Pass an id to caselaw_get_case to read it.
読み取り専用 冪等
入力スキーマ
{'type': 'object', 'title': 'caselaw_search_questionsArguments', 'required': ['query'], 'properties': {'court': {'anyOf': [{'type': 'string', 'maxLength': 100}, {'type': 'null'}], 'title': 'Court', 'default': None, 'description': "Only this court, e.g. 'Supreme Court' or 'Lahore High Court'"}, 'judge': {'anyOf': [{'type': 'string', 'maxLength': 100}, {'type': 'null'}], 'title': 'Judge', 'default': None, 'description': "Only judgments where this judge sat on the bench (spelling-tolerant, e.g. 'Mansoor Ali Shah')"}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 20, 'maximum': 50, 'minimum': 1}, 'query': {'type': 'string', 'title': 'Query', 'maxLength': 200, 'minLength': 2, 'description': "The legal question or its subject, in the words a judgment would use â\x80\x94 'delay in lodging FIR', 'concurrent findings of fact', 'pre-arrest bail murder'"}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'year_to': {'anyOf': [{'type': 'integer', 'maximum': 2100, 'minimum': 1900}, {'type': 'null'}], 'title': 'Year To', 'default': None, 'description': 'Latest year (inclusive)'}, 'year_from': {'anyOf': [{'type': 'integer', 'maximum': 2100, 'minimum': 1900}, {'type': 'null'}], 'title': 'Year From', 'default': None, 'description': 'Earliest year (inclusive)'}, 'response_format': {'enum': ['markdown', 'json'], 'type': 'string', 'title': 'Response Format', 'default': 'markdown'}}}
出力スキーマ
{'type': 'object', 'title': 'caselaw_search_questionsOutput', 'required': ['result'], 'properties': {'result': {'type': 'string', 'title': 'Result'}}}
変更
caselaw_most_cited
2026年10月3日3:02
変更
caselaw_get_cited_by
2026年10月3日3:02
変更
caselaw_get_citations
2026年10月3日3:02
変更
caselaw_get_case
2026年10月3日3:02
変更
caselaw_lookup_citation
2026年10月3日3:02
変更
caselaw_search_questions
2026年10月3日3:02
変更
caselaw_search
2026年10月3日3:02
変更
caselaw_search
2026年9月27日2:53
追加
caselaw_most_cited
2026年9月17日12:36
追加
caselaw_get_cited_by
2026年9月17日12:36
追加
caselaw_get_citations
2026年9月17日12:36
追加
caselaw_get_case
2026年9月17日12:36
追加
caselaw_lookup_citation
2026年9月17日12:36
追加
caselaw_search_questions
2026年9月17日12:36
追加
caselaw_search
2026年9月17日12:36