Logo Lanfrica

hangonn/ejustice-mcp

Domaine:

digital infrastructure

Type de record:

software
Créateur:
han
Hôte:
MCP server providing AI-assisted access to Namibia’s public eJustice portal: search cases, retrieve structured court records, and access filed documents. # eJustice MCP A **Model Context Protocol (MCP)** server that connects AI agents, including ChatGPT Desktop, Claude Desktop, Goose, and other MCP-compatible clients, to the **Namibia eJustice public portal** (`ejustice.jud.na`). Search for a case by its exact case number, retrieve structured case details and individual sections, and access filed documents through MCP resource links. It turns the portal into a focused interface for legal research without requiring manual browsing. ## Available MCP Tools | Tool Name | Parameters | Description | AI Workflow | | :--- | :--- | :--- | :--- | | **`search_case`** | `case_no` | Searches for a case by its exact case number and returns the **full case record** in one call: header fields (Judge, Status, Title, Filed By...), the Relief Claim list, and every non-document accordion section's rows, including parties, legal practitioners, judges, hearings, return of services, case history, and interlocutories. Each filed document is returned as an MCP `resource_link` with its name, MIME type, metadata, and `ejustice-document:// ` URI. | **Step 1:** AI searches `"HC-MD-CIV-MOT-GEN-2025/00343"` and receives the case record plus document resource links. | | **`get_case_section`** | `case_no`, `section` | Re-fetches just *one* section's rows on demand, without re-fetching every other section. Useful for a cheap refresh (e.g. checking for a new hearing) after an initial `search_case`. Valid `section` values: `parties`, `legalPractitioners`, `judges`, `hearings`, `returnOfServices`, `caseHistory`, `interlocutories`, `documents`. The `documents` section returns resource links rather than JSON rows. | **Step 2 (optional):** AI calls this with `section: "hearings"` to check for updates, or `section: "documents"` to refresh document links. | | **`fetch_document`** | `file_url` (the exact `ejustice-document:// ` URI from a document `resource_link`) | Downloads the document from the eJustice portal and returns its contents as a base64-encode …