jp_court_get

Pack: jp-courts · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/jp_court_get for the schema, then POST the same URL with its arguments for the data.

Fetch one decision from the Courts of Japan judgments database by the id jp_court_search returned (use get_id, e.g. “89915-2”; a bare record number such as “89915” also works, with extra page reads): the case number, name, date, court, the court’s holding (判示事項) and summary (裁判要旨) where it gives them, every field on the record, and the judgment text read from the court’s PDF. A scan with no readable text layer returns text null with empty_reason no_text_layer; an unknown id returns found false. Long judgments are returned in slices: max_chars (default 40,000) and offset, with next_offset when more remains. Parties appear as the court published them.

Parameters

NameTypeRequiredDescription
idstringyesRecord id from jp_court_search, e.g. “89915”.
max_charsnumbernoCharacters of judgment text to return (1,000-200,000, default 40,000).
offsetnumbernoCharacter offset into the judgment text, for the next slice.

Example call

Arguments

{
  "id": "89915-2",
  "max_chars": 3000
}

curl

curl -X POST https://gateway.pipeworx.io/jp-courts/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jp_court_get","arguments":{"id":"89915-2","max_chars":3000}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('jp_court_get', {
  "id": "89915-2",
  "max_chars": 3000
});

Response shape

FieldTypeDescription
idstring
kindnumber | null
foundboolean
case_numberstring | null
case_namestring | null
decision_datestring | null
decision_date_jastring | null
courtstring | null
holdingstring | null
summarystring | null
fieldsobject
detail_urlstring
full_text_pdf_urlstring
sourcestring
textstring | null
text_charsnumber | null
text_offsetnumber | null
truncatedboolean | null
next_offsetnumber | null
pdf_pagesnumber | null
unreadable_charactersnumber | null
empty_reasonstring
notestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "kind": {
      "type": [
        "number",
        "null"
      ]
    },
    "found": {
      "type": "boolean"
    },
    "case_number": {
      "type": [
        "string",
        "null"
      ]
    },
    "case_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "decision_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "decision_date_ja": {
      "type": [
        "string",
        "null"
      ]
    },
    "court": {
      "type": [
        "string",
        "null"
      ]
    },
    "holding": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "fields": {
      "type": "object",
      "additionalProperties": true
    },
    "detail_url": {
      "type": "string"
    },
    "full_text_pdf_url": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "text_chars": {
      "type": [
        "number",
        "null"
      ]
    },
    "text_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "pdf_pages": {
      "type": [
        "number",
        "null"
      ]
    },
    "unreadable_characters": {
      "type": [
        "number",
        "null"
      ]
    },
    "empty_reason": {
      "type": "string"
    },
    "note": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the jp-courts pack
{
  "mcpServers": {
    "jp-courts": {
      "url": "https://gateway.pipeworx.io/jp-courts/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026