japan-parliament-mcp-server

v0.3.1 pre-1.0

Search Japan's National Diet (Kokkai) speeches and sitting agendas since 1947, and read the original Japanese minutes via MCP. STDIO or Streamable HTTP.

japan-parliament.caseyjhand.com/mcp
claude mcp add --transport http japan-parliament-mcp-server https://japan-parliament.caseyjhand.com/mcp
codex mcp add japan-parliament-mcp-server --url https://japan-parliament.caseyjhand.com/mcp
{
  "mcpServers": {
    "japan-parliament-mcp-server": {
      "url": "https://japan-parliament.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http japan-parliament-mcp-server https://japan-parliament.caseyjhand.com/mcp
{
  "mcpServers": {
    "japan-parliament-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://japan-parliament.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "japan-parliament-mcp-server": {
      "type": "http",
      "url": "https://japan-parliament.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://japan-parliament.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

4

jpparl_search_speeches

open-world

Search Japanese National Diet speeches by topic, speaker, group, office, committee, or dates, newest dated sittings first. Keywords match the spoken text. Available text is excerpted to up to 480 Unicode code points near a local keyword match or from the opening if no term is matched locally. Set include_full_text for the whole speech. Pass speech_id to jpparl_get_meeting to read forward from that speech. To include earlier remarks, pass issue_id, include_text: true, and an earlier actual start_order.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jpparl_search_speeches",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "keywords": {
      "description": "Japanese terms separated by spaces, all of which must match (AND). Write numerals as printed, such as 百兆円. Double quotes and standalone uppercase AND, OR, and NOT are rejected.",
      "type": "string"
    },
    "house": {
      "description": "House or conference committee. Omit to search all houses.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "representatives",
            "councillors",
            "conference_committee",
            "衆議院",
            "参議院",
            "両院",
            "両院協議会"
          ],
          "description": "House name or alias."
        },
        {
          "description": "Blank means omitted.",
          "type": "string",
          "const": ""
        }
      ]
    },
    "meeting_name": {
      "description": "Part of a Japanese sitting or committee name, or its hiragana reading (予算委員会 or よさんいいんかい). Spaces separate alternatives (OR).",
      "type": "string"
    },
    "from": {
      "description": "Inclusive first date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.",
      "type": "string"
    },
    "until": {
      "description": "Inclusive last date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.",
      "type": "string"
    },
    "session_from": {
      "description": "First Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    },
    "session_to": {
      "description": "Last Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    },
    "issue_from": {
      "description": "First issue number, or exact issue when used alone.",
      "type": "integer",
      "minimum": 0,
      "maximum": 999
    },
    "issue_to": {
      "description": "Last issue number, or exact issue when used alone.",
      "type": "integer",
      "minimum": 0,
      "maximum": 999
    },
    "closing_only": {
      "description": "Only sittings held while the Diet was not in session (閉会中).",
      "type": "boolean"
    },
    "start": {
      "description": "One-based result position. Start at 1, then pass the previous next_start with the same filters and limit.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Number of results, default 10. Values above 100 are reduced to 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "speaker": {
      "description": "Part of a Japanese speaker name, or a member’s hiragana reading (石破茂 or いしばしげる). Spaces separate alternatives (OR).",
      "type": "string"
    },
    "speaker_group": {
      "description": "Part of the official Japanese parliamentary group (会派) name, such as 自由民主党.",
      "type": "string"
    },
    "speaker_position": {
      "description": "Part of the speaker’s Japanese office or affiliation, such as 内閣総理大臣.",
      "type": "string"
    },
    "speaker_role": {
      "description": "証人 (sworn witness), 参考人 (invited unsworn witness), or 公述人 (public hearing speaker). Omit to include every speaker.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "証人",
            "参考人",
            "公述人"
          ],
          "description": "Japanese speaker role."
        },
        {
          "description": "Blank means omitted.",
          "type": "string",
          "const": ""
        }
      ]
    },
    "issue_id": {
      "pattern": "^(?:\\s*|\\s*[0-9a-zA-Z]{21}\\s*)$",
      "description": "Sitting ID of 21 ASCII letters or digits from either search tool, to search within one sitting.",
      "type": "string"
    },
    "include_full_text": {
      "description": "Return the whole original speech in place of the excerpt.",
      "type": "boolean"
    }
  },
  "additionalProperties": false
}
view source ↗

jpparl_search_meetings

open-world

Find National Diet sittings and their printed agendas, newest dated sittings first. Undated publications retain their source order. Keywords match only the sitting header (agenda and attendance), so use them for a Japanese bill title; for words said in debate, use jpparl_search_speeches. Omit every filter to list recent sittings. Pass a returned issue_id to jpparl_get_meeting to read the minutes.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jpparl_search_meetings",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "keywords": {
      "description": "Japanese terms separated by spaces, all of which must match (AND). Write numerals as printed, such as 百兆円. Double quotes and standalone uppercase AND, OR, and NOT are rejected.",
      "type": "string"
    },
    "house": {
      "description": "House or conference committee. Omit to search all houses.",
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "representatives",
            "councillors",
            "conference_committee",
            "衆議院",
            "参議院",
            "両院",
            "両院協議会"
          ],
          "description": "House name or alias."
        },
        {
          "description": "Blank means omitted.",
          "type": "string",
          "const": ""
        }
      ]
    },
    "meeting_name": {
      "description": "Part of a Japanese sitting or committee name, or its hiragana reading (予算委員会 or よさんいいんかい). Spaces separate alternatives (OR).",
      "type": "string"
    },
    "from": {
      "description": "Inclusive first date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.",
      "type": "string"
    },
    "until": {
      "description": "Inclusive last date as YYYY-MM-DD, YYYY/M/D, YYYY年M月D日, or a Japanese era date such as 令和7年5月1日.",
      "type": "string"
    },
    "session_from": {
      "description": "First Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    },
    "session_to": {
      "description": "Last Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    },
    "issue_from": {
      "description": "First issue number, or exact issue when used alone.",
      "type": "integer",
      "minimum": 0,
      "maximum": 999
    },
    "issue_to": {
      "description": "Last issue number, or exact issue when used alone.",
      "type": "integer",
      "minimum": 0,
      "maximum": 999
    },
    "closing_only": {
      "description": "Only sittings held while the Diet was not in session (閉会中).",
      "type": "boolean"
    },
    "start": {
      "description": "One-based result position. Start at 1, then pass the previous next_start with the same filters and limit.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Number of results, default 25. Values above 100 are reduced to 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}
view source ↗

jpparl_get_meeting

open-world

Read National Diet minutes by issue_id or speech_id. An issue_id opens the speaker outline at the first available order, 50 rows by default. Set include_text for original Japanese text, 10 rows by default from order zero. A speech_id opens text at that exact speech. Continue with issue_id, next_order as start_order, and the same limit and mode.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jpparl_get_meeting",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "issue_id": {
      "pattern": "^(?:\\s*|\\s*[0-9a-zA-Z]{21}\\s*)$",
      "description": "Sitting ID of 21 ASCII letters or digits from jpparl_search_meetings or jpparl_search_speeches, such as 100115254X00119470520. Use exactly one of issue_id and speech_id.",
      "type": "string"
    },
    "speech_id": {
      "pattern": "^(?:\\s*|\\s*[0-9a-zA-Z]{21}_[0-9]{3,4}\\s*)$",
      "description": "Speech ID from jpparl_search_speeches or an outline, such as 100115254X00119470520_025: the sitting ID, an underscore, and a 3–4 digit speech order.",
      "type": "string"
    },
    "include_text": {
      "description": "Return a page of original Japanese text. Implied by a speech ID.",
      "type": "boolean"
    },
    "start_order": {
      "description": "Exact first speech order for an issue-ID page. Zero opens the header.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Rows per page, default 50 in outline mode or 10 in text mode. Values above 100 are reduced to 100.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "additionalProperties": false
}
view source ↗

jpparl_list_reference

open-world

Look up Diet session dates, house names and aliases, current standing committees, Japanese era dates, or syntax for searching the minutes.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "jpparl_list_reference",
    "arguments": {
      "topic": "<topic>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "enum": [
        "sessions",
        "houses",
        "eras",
        "standing_committees",
        "search_syntax"
      ],
      "description": "sessions: Diet session numbers and dates, read live from the House of Representatives. houses: house filter values and aliases. eras: Japanese era boundaries and date syntax. standing_committees: current statutory committee names. search_syntax: filter matching and paging rules."
    },
    "session_from": {
      "description": "First Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    },
    "session_to": {
      "description": "Last Diet session, or exact session when used alone.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 999
    }
  },
  "required": [
    "topic"
  ],
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}