GU

georgejeffers/uk-case-law-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

26 stars 8 forks 품질 53 트렌드 11NOASSERTION

MCP Server for UK case law using The National Archives API. 검색, 검색, 검색 및 영국 법적 판단을 인용하기 위해 LLM을 활성화합니다.

개요

The National Archives의 영국 케이스 법 검색 및 검색 도구로 Claude를 제공하는 모델 Context Protocol (MCP) 서버. - : 모든 법원과 재판관 (2003+)에 대한 Query - : 번호 단락이있는 완전한 경우 텍스트를 가져옵니다 - : 특정 관할 구역 또는 실습 구역에 초점 - : 첫 페이지 이상 액세스 결과 - : TNA API 제한 (5 분 당 1,000 요청) 선택 필터와 영국 케이스 법 검색: - 쿼리 - 검색 조건 (특히 개념, 파티 이름, 키워드) - legal area - 지역 필터 (IP, 상업, 고용 등) - 법원 - 법원 수준 필터 (Supreme Court, Appeal 등) - year from / year to - 날짜 범위 필터링 - 제한 - 최대 결과 (1-50) - 페이지 - 그림 - 인용 - 중립 인용 (예 :, [2024] UKSC 1) 또는 문서 URI - 단락 - 옵션 범위 (예 : 1-50) - include metadata - 판단, 법원, 날짜 포함 Claude Desktop config (~/Library/Application Support/Claude/claude desktop config에 추가하십시오.

개요(AI 번역)

The National Archives의 영국 케이스 법 검색 및 검색 도구로 Claude를 제공하는 모델 Context Protocol (MCP) 서버.

특징

-Search 영국 케이스 법: 모든 법원과 재판관 (2003+)의 Query

  • 완전한 판단: 숫자를 가진 완전한 케이스 원본을 얻으십시오
  • ** Court/Legal Area 필터 **: 특정 관할 구역 또는 연습 구역에 초점
  • Pagination Support: 첫 페이지에 대한 액세스 결과
  • Rate Limited: TNA API 제한(5분당 1,000개의 요청)

도구

uklaw_search

선택 필터와 영국 케이스 법 검색:

  • query - 검색 조건 (특정 개념, 파티 이름, 키워드)
  • legal_area - 지역별 필터 (IP, 상업, 고용 등)
  • court - 법원 수준의 필터 (Supreme Court, Appeal 법원 등)
  • year_from / year_to - 날짜 범위 필터링
  • limit - 최대 결과 (1-50)
  • page - 질

uklaw_get_case

전체 케이스 텍스트를 검색:

  • citation - 중립 인용 (예 : [T10]]) 또는 문서 URI
  • paragraphs - 선택범위 (예, 1-50)
  • 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 filtering
  • limit - Max results (1-50)
  • page - Pagination

uklaw_get_case

Retrieve full case text:

  • citation - Neutral citation (e.g., [2024] UKSC 1) or document URI
  • paragraphs - 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

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

GitHub에서 전체 README 보기

설치

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