MCP server exposing 3 tools for kokkai-diet.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/kokkai-diet/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_speeches — Full-text search of Japanese National Diet (parliament) speeches back to 1947, via the National Diet Library's kokkai.ndl.go.jp API. Requires "query" and/or "speaker". Returns speaker, party (speaker_group), house, meeting, date, session, and a permalink for each hit — the actual speech text is a short preview here; fetch the full text with get_speech(speech_id). Queries are Japanese-first: kokkai.ndl.go.jp indexes speeches in Japanese, so Japanese keywords match; English keywords (e.g. "semiconductors" instead of "半導体") will under-match or return zero even when Japanese-language debate on the topic exists. PAGINATION: the API caps results at 100 per request (default 30) — check "next_start_record" in the response; if it is not null, more speeches exist beyond this page and were NOT returned. Never treat a page as the complete result set without checking it.search_meetings — Search Japanese National Diet meetings/sittings (a meeting = one committee or plenary session on one day) by meeting name, chamber, or date range, via kokkai.ndl.go.jp. Requires at least one of "query", "meeting_name", or "house". Returns each meeting's issueID (for fetching its speeches with search_speeches or get_speech), house, meeting name, session number, issue number, date, and permalink. Queries are Japanese-first: kokkai.ndl.go.jp indexes speeches in Japanese, so Japanese keywords match; English keywords (e.g. "semiconductors" instead of "半導体") will under-match or return zero even when Japanese-language debate on the topic exists. PAGINATION: this endpoint caps results at 10 per request (default 3) — lower than search_speeches. Check "next_start_record"; a null value means this page is the end of the result set, anything else means more meetings exist.get_speech — Fetch one Diet speech's full text and metadata by its speechID (from search_speeches' "speech_id" field). Returns the complete speech text (search_speeches only gives a preview), speaker, party, house, meeting, date, session, and permalink.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/kokkai-diet/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io