japan-legislation-mcp-server

v0.3.0 pre-1.0

Search Japanese national laws in e-Gov, read provisions as of a date, and trace amendments via MCP. STDIO or Streamable HTTP.

japan-legislation.caseyjhand.com/mcp
claude mcp add --transport http japan-legislation-mcp-server https://japan-legislation.caseyjhand.com/mcp
codex mcp add japan-legislation-mcp-server --url https://japan-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "japan-legislation-mcp-server": {
      "url": "https://japan-legislation.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http japan-legislation-mcp-server https://japan-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "japan-legislation-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://japan-legislation.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "japan-legislation-mcp-server": {
      "type": "http",
      "url": "https://japan-legislation.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://japan-legislation.caseyjhand.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'

Tools

8

jplaw_search_laws

open-world

Search national law metadata by Japanese title or abbreviation, law type, subject, promulgation, repeal status, or amending law ID. Use asof to select a date view. For words in a law’s body, call jplaw_search_text. To see every amendment of one law, call jplaw_list_revisions.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_search_laws",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "title": {
      "description": "Substring of the Japanese title or an abbreviation. Ignores ASCII case and width.",
      "type": "string"
    },
    "law_types": {
      "description": "Accept any listed law type. A compound value matches the exact composite type.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Constitution",
          "Act",
          "CabinetOrder",
          "ImperialOrder",
          "MinisterialOrdinance",
          "Rule",
          "Misc",
          "Act,ImperialOrder",
          "Act,CabinetOrder",
          "Act,MinisterialOrdinance"
        ]
      }
    },
    "categories": {
      "description": "Accept any listed Japanese subject category code.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "001",
          "002",
          "003",
          "004",
          "005",
          "006",
          "007",
          "008",
          "009",
          "010",
          "011",
          "012",
          "013",
          "014",
          "015",
          "016",
          "017",
          "018",
          "019",
          "020",
          "021",
          "022",
          "023",
          "024",
          "025",
          "026",
          "027",
          "028",
          "029",
          "030",
          "031",
          "032",
          "033",
          "034",
          "035",
          "036",
          "037",
          "038",
          "039",
          "040",
          "041",
          "042",
          "043",
          "044",
          "045",
          "046",
          "047",
          "048",
          "049",
          "050"
        ]
      }
    },
    "law_num_era": {
      "description": "Era of the published law number.",
      "type": "string",
      "enum": [
        "Meiji",
        "Taisho",
        "Showa",
        "Heisei",
        "Reiwa"
      ]
    },
    "law_num_year": {
      "description": "Year within the Japanese era of the published law number.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "promulgation_from": {
      "description": "Earliest law promulgation date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "promulgation_to": {
      "description": "Latest law promulgation date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "amendment_promulgation_from": {
      "description": "Earliest promulgation date of the selected revision’s amendment, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "amendment_promulgation_to": {
      "description": "Latest promulgation date of the selected revision’s amendment, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "amendment_enforcement_from": {
      "description": "Earliest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "amendment_enforcement_to": {
      "description": "Latest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "amendment_law_id": {
      "description": "Exact 15-character e-Gov law ID of an amending Act. Select affected laws and their matched revisions. Use status all for every repeal status.",
      "type": "string",
      "pattern": "^[A-Za-z0-9]{15}$"
    },
    "status": {
      "default": "in_force",
      "description": "Repeal status. in_force selects e-Gov status None in the selected view.",
      "type": "string",
      "enum": [
        "in_force",
        "all",
        "Repeal",
        "Expire",
        "Suspend",
        "LossOfEffectiveness"
      ]
    },
    "asof": {
      "description": "ISO date for the historical or future metadata view, from 2017-04-01. Omit for the default view.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "sort": {
      "default": "law_number",
      "description": "Sort by ascending law number, newest law promulgation, or newest amendment promulgation.",
      "type": "string",
      "enum": [
        "law_number",
        "promulgated",
        "amended"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based offset or next_offset from the previous call.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "maximum": 500,
      "description": "Maximum results per page. Values above 500 are served at 500.",
      "type": "integer",
      "exclusiveMinimum": 0
    }
  },
  "required": [
    "status",
    "sort",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_search_text

open-world

Search Japanese statutes across laws for highlighted previews grouped by law. Filter with sections and continue with next_offset and the same filters. Read exact text with jplaw_get_law or jplaw_get_provision. Supply law or law_revision_id for literal search of paragraphs, their inline tables and lists, and article captions. Reopen a scoped match with its selector as jplaw_get_law.part or, when present, its address as a jplaw_get_provision.provisions entry. Pin the returned revision for reads and paging. Restart if revision.updated changes.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_search_text",
    "arguments": {
      "keyword": "<keyword>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "keyword": {
      "type": "string",
      "minLength": 1,
      "description": "Japanese body text. Across laws use space (AND), | (OR), ! (NOT), or * and ? wildcards. In one revision, join literal terms by whitespace (AND within one provision)."
    },
    "law_types": {
      "description": "Cross-law filter for law types.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Constitution",
          "Act",
          "CabinetOrder",
          "ImperialOrder",
          "MinisterialOrdinance",
          "Rule",
          "Misc",
          "Act,ImperialOrder",
          "Act,CabinetOrder",
          "Act,MinisterialOrdinance"
        ],
        "description": "An e-Gov law type."
      }
    },
    "categories": {
      "description": "Cross-law filter for category codes from jplaw_list_reference.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "001",
          "002",
          "003",
          "004",
          "005",
          "006",
          "007",
          "008",
          "009",
          "010",
          "011",
          "012",
          "013",
          "014",
          "015",
          "016",
          "017",
          "018",
          "019",
          "020",
          "021",
          "022",
          "023",
          "024",
          "025",
          "026",
          "027",
          "028",
          "029",
          "030",
          "031",
          "032",
          "033",
          "034",
          "035",
          "036",
          "037",
          "038",
          "039",
          "040",
          "041",
          "042",
          "043",
          "044",
          "045",
          "046",
          "047",
          "048",
          "049",
          "050"
        ],
        "description": "A three-digit category code."
      }
    },
    "sections": {
      "description": "Cross-law snippet sections. The search scans later pages to fill the limit.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "mainprovision",
          "supplprovision",
          "amendsupplprovision",
          "caption",
          "enactstatement",
          "relatedarticlenum"
        ],
        "description": "Section label."
      }
    },
    "asof": {
      "description": "Calendar date YYYY-MM-DD from 2017-04-01. Omit for the current version.",
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "ISO calendar date."
        }
      ]
    },
    "law": {
      "description": "Exact law ID, Japanese number, title, or abbreviation for scoped search.",
      "type": "string"
    },
    "law_revision_id": {
      "description": "Exact revision ID for scoped search. Mutually exclusive with asof.",
      "type": "string",
      "pattern": "^[A-Z0-9]{15}_[0-9]{8}_[A-Z0-9]{15}$"
    },
    "offset": {
      "default": 0,
      "description": "Upstream snippet or scoped match offset. Pass the previous next_offset.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "maximum": 1000,
      "description": "Maximum snippets or scoped matches per page. Values above 1000 are served at 1000.",
      "type": "integer",
      "exclusiveMinimum": 0
    }
  },
  "required": [
    "keyword",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_get_provision

open-world

Read Japanese 条, 項, or 号 from one e-Gov law revision. Process the first 10 addresses and return the rest for continuation. Use jplaw_get_law for a revision outline, supplementary occurrences, tables, or text pages.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_get_provision",
    "arguments": {
      "provisions": "<provisions>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "law": {
      "description": "Exact e-Gov law ID, Japanese law number, title, or abbreviation. Required unless a revision ID is supplied.",
      "type": "string"
    },
    "asof": {
      "description": "Calendar date on or after 2017-04-01. Mutually exclusive with law_revision_id.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "law_revision_id": {
      "description": "Exact pinned revision ID from a law read or revision list. Mutually exclusive with asof.",
      "type": "string",
      "pattern": "^[A-Z0-9]{15}_[0-9]{8}_[A-Z0-9]{15}$"
    },
    "provisions": {
      "minItems": 1,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "description": "Japanese display address in 条/項/号 notation."
          },
          {
            "type": "object",
            "properties": {
              "article": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991,
                    "description": "Positive article number."
                  },
                  {
                    "type": "string",
                    "pattern": "^[1-9\\uFF11-\\uFF19][0-9\\uFF10-\\uFF19]*(?:_[1-9\\uFF11-\\uFF19][0-9\\uFF10-\\uFF19]*)*$",
                    "description": "Article number with optional underscore-separated branches."
                  }
                ],
                "description": "Article number or branch, such as 4_3_2."
              },
              "paragraph": {
                "description": "Paragraph number (項).",
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "item": {
                "description": "Item number (号) such as 3 or \"3\", or branch such as \"3_2\". Omit the paragraph only for a sole first paragraph.",
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991,
                    "description": "Positive item number."
                  },
                  {
                    "type": "string",
                    "pattern": "^[1-9\\uFF11-\\uFF19][0-9\\uFF10-\\uFF19]*(?:_[1-9\\uFF11-\\uFF19][0-9\\uFF10-\\uFF19]*)*$",
                    "description": "Positive decimal item number or underscore-separated item branch."
                  }
                ]
              },
              "supplement": {
                "description": "Occurrence of 附則 in the selected revision outline.",
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "article"
            ],
            "additionalProperties": false,
            "description": "Structured Japanese provision coordinates."
          }
        ],
        "description": "Japanese 条/項/号 address or provision coordinates."
      },
      "description": "Provision addresses in caller order, for example 第二条第三号の二 or 附則第二条."
    }
  },
  "required": [
    "provisions"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_get_law

open-world

Browse a whole-law or selected-part outline, optionally limited to headings, or read complete text units. Pin law_revision_id and keep the same part and view controls when following next_offset. Check updated for corrections.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_get_law",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "law": {
      "description": "Exact e-Gov law ID, Japanese law number, title, or abbreviation. Required unless a revision ID is supplied.",
      "type": "string"
    },
    "asof": {
      "description": "Calendar date on or after 2017-04-01. Mutually exclusive with law_revision_id.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "law_revision_id": {
      "description": "Exact pinned revision ID from a law read or revision list. Mutually exclusive with asof.",
      "type": "string",
      "pattern": "^[A-Z0-9]{15}_[0-9]{8}_[A-Z0-9]{15}$"
    },
    "part": {
      "description": "Japanese part label (such as 本則, 制定文, 目次, or 別表第1), structure path, or canonical selector from this revision. Use 全部 for the whole law.",
      "type": "string"
    },
    "view": {
      "description": "Defaults to an outline without part and text with part. Choose outline with part to browse its descendants, or text without part to read the whole law.",
      "type": "string",
      "enum": [
        "outline",
        "text"
      ]
    },
    "outline": {
      "description": "Outline detail level. Defaults to full. Use headings to omit article and paragraph detail. Applies only to outline views.",
      "type": "string",
      "enum": [
        "full",
        "headings"
      ]
    },
    "include_amendment_suppl": {
      "default": false,
      "description": "Include amending supplementary provisions in whole-law text. Outlines include them within the selected scope. Explicit supplement selections always include the selected supplement.",
      "type": "boolean"
    },
    "offset": {
      "default": 0,
      "description": "Number of outline entries or text units to skip.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "description": "Maximum complete outline entries or text units per page.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "include_amendment_suppl",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_list_revisions

open-world

Trace past, current, and not-yet-enforced versions of one national law, in e-Gov’s newest-first order. Use law_revision_id with jplaw_get_law or jplaw_get_provision to read that exact version. Use amendment_law_id with jplaw_search_laws to find other laws changed by the same amendment.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_list_revisions",
    "arguments": {
      "law": "<law>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "enforcement_from": {
      "description": "Earliest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "enforcement_to": {
      "description": "Latest reported amendment enforcement date, inclusive. A date not yet fixed matches at e-Gov’s placeholder and is marked enforcement_date_placeholder.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "promulgation_from": {
      "description": "Earliest amendment promulgation date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "promulgation_to": {
      "description": "Latest amendment promulgation date, inclusive.",
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
    },
    "statuses": {
      "description": "Accept any listed revision status. Status is relative to the present.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "CurrentEnforced",
          "PreviousEnforced",
          "UnEnforced",
          "Repeal"
        ]
      }
    },
    "law": {
      "type": "string",
      "minLength": 1,
      "description": "Exact law ID, number, Japanese title, or abbreviation."
    },
    "offset": {
      "default": 0,
      "description": "Zero-based offset or next_offset from the previous call.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "description": "Maximum number of revisions to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "law",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_find_subordinate_laws

open-world

Find candidate cabinet orders, ministerial ordinances and rules implementing a Japanese Act. Results identify matching titles and enactment statements; e-Gov has no official parent link. For citations anywhere in a law, use jplaw_search_text.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_find_subordinate_laws",
    "arguments": {
      "law": "<law>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "law": {
      "type": "string",
      "minLength": 1,
      "description": "Exact Japanese Act title, abbreviation, law number, or law ID."
    },
    "status": {
      "default": "in_force",
      "description": "Include only active instruments, or also inactive instruments.",
      "type": "string",
      "enum": [
        "in_force",
        "all"
      ]
    },
    "offset": {
      "default": 0,
      "description": "Zero-based offset in the deduplicated law list. Pass next_offset to continue.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "default": 25,
      "description": "Number of unique instruments to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "law",
    "status",
    "offset",
    "limit"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_lookup_citation

open-world

Resolve exact Japanese law titles, abbreviations, law IDs, and published numbers, optionally followed by a 条/項/号 address. Process the first 25 citations and return the rest for continuation. Accept Japanese eras or Gregorian law-number years and Arabic or kanji numerals. Call jplaw_get_provision to confirm the address in a specific revision.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_lookup_citation",
    "arguments": {
      "citations": "<citations>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "citations": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Citations in caller order, for example 平成15年法律第57号 or 個人情報保護法第二十七条第一項."
    }
  },
  "required": [
    "citations"
  ],
  "additionalProperties": false
}
view source ↗

jplaw_list_reference

Look up e-Gov law types, category codes, Japanese law numbers, revision IDs, provision addresses, full-text query syntax, coverage, and upstream errors. Omit topic to see the available topics.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jplaw_list_reference",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "description": "Reference topic to expand.",
      "type": "string",
      "enum": [
        "law_types",
        "categories",
        "law_numbers",
        "identifiers",
        "provision_addresses",
        "keyword_syntax",
        "coverage",
        "upstream_errors"
      ]
    }
  },
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}