get_law
Pack: japan-law · Endpoint: https://gateway.pipeworx.io/japan-law/mcp
Fetch a Japanese law/ordinance by its e-Gov law id (from search_laws), e.g. “415AC0000000057”. Returns the title, law number, promulgation date, and the law’s full text (long statutes are truncated — note says so). Source: e-Gov 法令検索.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
law_id | string | yes | e-Gov law id, e.g. “415AC0000000057”. |
Example call
Arguments
{
"law_id": "415AC0000000057"
}
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":"get_law","arguments":{"law_id":"415AC0000000057"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_law', {
"law_id": "415AC0000000057"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"japan-law": {
"url": "https://gateway.pipeworx.io/japan-law/mcp"
}
}
}
See Getting Started for client-specific install steps.