japan_law_get_article

Pack: japan-law · 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/japan_law_get_article for the schema, then POST the same URL with its arguments for the data.

Fetch a single article of a Japanese law by law id + article number, e.g. law_id “415AC0000000057” (個人情報保護法) + article “27” for 第二十七条. Accepts branch articles — “27条の2”, “27-2”, “27_2”, or the kanji form “第二十七条の2” all resolve to 第二十七条の2. Returns just that article’s caption, heading, and text (not the whole law — use this instead of get_law when you know the article you want). Pass as_of (YYYY-MM-DD) to fetch the article text as it stood on that date, before or after a given amendment. Source: e-Gov 法令検索.

Parameters

NameTypeRequiredDescription
law_idstringyese-Gov law id, e.g. “415AC0000000057”.
articlestringyesArticle number: “27”, “27条の2”, “27-2”, “27_2”, or kanji “第二十七条の2”.
as_ofstringnoPoint-in-time date (YYYY-MM-DD). Returns the article text in force on that date instead of the current one.

Example call

Arguments

{
  "law_id": "415AC0000000057",
  "article": "27"
}

curl

curl -X POST https://gateway.pipeworx.io/japan-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"japan_law_get_article","arguments":{"law_id":"415AC0000000057","article":"27"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('japan_law_get_article', {
  "law_id": "415AC0000000057",
  "article": "27"
});

More examples

{
  "law_id": "415AC0000000057",
  "article": "27",
  "as_of": "2020-01-01"
}

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 japan-law pack
{
  "mcpServers": {
    "japan-law": {
      "url": "https://gateway.pipeworx.io/japan-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 16, 2026