
georgejeffers/uk-case-law-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP サーバー 英国 ケース 法律用 国立アーカイブ API を使用します。 LLM は、英国法的な判断を検索、取得、および引用することを可能にします.
概要
Claude に提供するモデルコンテキストプロトコル (MCP) サーバーは、The National Archive から英国ケースの法律を検索および取得するためのツールを提供します。 - : すべての裁判所および裁判所(2003+)全体に問い合わせる - : 番号付きの段落で完全なケースのテキストを入手 - : 特定の管轄区域または練習エリアに焦点を当てる - : 最初のページを超えるアクセス結果 - : TNA APIの制限を尊重する(1,000リクエスト/ 5分) オプションのフィルタで英国の場合の法律を検索: - クエリ - 検索条件(法的概念、パーティー名、キーワード) - リーガル area - エリア別フィルタ(IP、コマーシャル、雇用など) - コート - コートレベル別フィルタ(解釈コート、控訴裁判所など) - 年 から/年 から - 期間のフィルタリング - 制限 - 最大結果(1-50) - ページ - 調整 - 引用 - 中立引用 (例えば、 [2024] UKSC 1) または文書 URI - 段落 - オプション範囲 (例えば、1-50) - include metadata - 審査員、裁判所、日付を含む Claudeデスクトップコンフィグ(~/ Library/Application Support/Claude/claude desktop config)に追加します.
概要(AI 翻訳)
Claude に提供するモデルコンテキストプロトコル (MCP) サーバーは、The National Archive から英国ケースの法律を検索および取得するためのツールを提供します。
##特徴
- 英国のケースの法律を検索:すべての裁判所と裁判所を横断して問い合わせる(2003+)
- 完全な判断の取得: 番号付き段落で完全なケースのテキストを取得します。
- 裁判所/法域によるフィルター: 特定の管轄区域か練習区域に焦点を合わせて下さい -Pagination Support:最初のページを超えてアクセス結果 -Rate Limited:TNA APIの制限事項を調べる(5分1,000リクエスト)
ツール
##[uklaw_search
オプションのフィルタで英国の場合の法律を検索:
- [
query- 検索条件(法的概念、パーティー名、キーワード) - [
legal_area- エリア別フィルタ(IP、コマーシャル、雇用など) - [
court- 裁判所レベルのフィルタ(解釈裁判所、控訴裁判所など) - [[
year_from]/[year_to]] - 日付範囲のフィルタリング - [
limit- 最大結果(1-50) - [
page- パジネーション
##[uklaw_get_case
完全な場合のテキストを取得します。
- [
citation- 中立引用符(例、[2024] UKSC 1)または文書のURI - [
paragraphs- オプション範囲(例、[[T12])) - [
include_metadata- 審査員、裁判所、日付を含める
準拠法
| コートレベル | 例 | お問い合わせ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
UK Case Law MCP Server
A Model Context Protocol (MCP) server that provides Claude with tools to search and retrieve UK case law from The National Archives.
Features
- Search UK Case Law: Query across all courts and tribunals (2003+)
- Retrieve Full Judgments: Get complete case text with numbered paragraphs
- Filter by Court/Legal Area: Focus on specific jurisdictions or practice areas
- Pagination Support: Access results beyond the first page
- Rate Limited: Respects TNA API limits (1,000 requests per 5 minutes)
Tools
uklaw_search
Search UK case law with optional filters:
query- Search terms (legal concepts, party names, keywords)legal_area- Filter by area (IP, commercial, employment, etc.)court- Filter by court level (Supreme Court, Court of Appeal, etc.)year_from/year_to- Date range filteringlimit- Max results (1-50)page- Pagination
uklaw_get_case
Retrieve full case text:
citation- Neutral citation (e.g.,[2024] UKSC 1) or document URIparagraphs- Optional range (e.g.,1-50)include_metadata- Include judges, court, date
Supported Courts
| Court Level | Examples |
|---|---|
| Supreme Court | UKSC |
| Court of Appeal | EWCA Civ, EWCA Crim |
| High Court | EWHC (Ch, QB/KB, Admin, Comm, Patents, IPEC, TCC, Fam) |
| Tribunals | EAT, UKUT (IAC, LC, AAC) |
Installation
Prerequisites
- Bun runtime
Setup
# Clone the repository
git clone https://github.com/georgejeffers/uk-case-law-mcp-server.git
cd uk-case-law-mcp-server
# Install dependencies
bun install
# Run tests
bun test
# Start the server
bun start
Claude Desktop Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"uk-case-law": {
"command": "bun",
"args": ["run", "/path/to/uk-case-law-mcp/src/server.ts"]
}
}
}
Usage Examples
Once configured, you can ask Claude questions like:
- “Search for patent obviousness cases in the High Court”
- “Find recent unfair dismissal tribunal decisions”
- “Get the full text of [2024] UKSC 1”
- “What did the Court of Appeal say about breach of fiduciary duty in 2023?”
API
This server uses the TNA Find Case Law API, which:
- Covers judgments from 2003 onwards
- Requires no authentication
- Returns results in Atom/XML format
- Provides full text in LegalDocML (Akoma Ntoso) format
License
This project is licensed under the PolyForm Noncommercial License 1.0.0.
You may use this software for personal, educational, and non-commercial purposes only. Commercial use requires a separate license.
Contributing
Contributions are welcome for non-commercial purposes. Please open an issue or PR.
Acknowledgments
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"uk-case-law": {
"command": "bun",
"args": ["run", "/path/to/uk-case-law-mcp/src/server.ts"]
}
}
}