Skip to main content
Glama
ryoooo
by ryoooo

get_law_content

Retrieve Japanese legal statutes from the e-Gov API. Get full law content or summaries for large documents, with JSON or XML formatting options.

Instructions

Get law content (optimized per API spec with size limits) Args: law_id: Law ID law_num: Law number response_format: "json" or "xml" elm: Element to retrieve (currently disabled due to API 400 errors) ctx: FastMCP context for logging Returns: Dict with law content. For large laws (>800KB), returns summary with recommendation to use find_law_article for specific articles. Note: - elm parameter is currently disabled due to e-Gov API 400 errors - Large laws like Company Law (会社法) will return a summary instead of full text - Use find_law_article tool for specific article searches in large laws

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
law_idNo
law_numNo
response_formatNojson
elmNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ryoooo/e-gov-law-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server