Kokkai Minutes MCP Agent
Hosts the MCP agent on Cloudflare Workers infrastructure, making it accessible via a public endpoint for AI models to interact with
Uses Node.js as the runtime environment for the MCP server implementation
Implements the MCP server using TypeScript for type-safe development
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kokkai Minutes MCP Agent Find recent discussions about childcare waiting lists in the Diet"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kokkai Minutes MCP Agent
A Model Context Protocol (MCP) agent that provides a structured interface to the Japanese National Diet Library's Kokkai Minutes (parliamentary proceedings) API. This agent allows AI models to search and retrieve parliamentary proceedings through a standardized interface.
🚀 Already Deployed: The agent is live and ready to use at https://kokkaikaigiroku-mcp.egeg.workers.dev/mcp
Table of Contents
Related MCP server: kokkai-mcp
Example Questions for LLMs
Here are some example questions you can ask AI models (like Claude) that use this agent:
Policy Research
"Give me the list of politicians that talked about problems with 仮放免 (provisional release) in the last year"
"What were the main arguments made about 入管法改正 (immigration law reform) in recent Diet sessions?"
"Summarize discussions about 待機児童 (childcare waiting lists) from 2020 to present"
Political Analysis
"How has the government's stance on 原発再稼働 (nuclear power plant restart) evolved over time?"
"Find statements by the Prime Minister about インバウンド観光 (inbound tourism) after COVID-19"
"Compare different party positions on 消費税 (consumption tax) in budget committee meetings"
Historical Research
"Find debates about 日米安保条約 (US-Japan Security Treaty) from its original ratification period"
"How did the Diet discuss 少子化対策 (measures against declining birthrate) when it first became a social issue?"
API Functions
The agent provides three main functions:
searchMeetingList- Search for meetings with basic informationsearchMeetingsWithSpeechText- Search for meetings including full speech textssearchSpeeches- Search for specific speeches
Each function supports various parameters including:
Date range (
from,until)House selection (
nameOfHouse)Speaker information (
speaker,speakerPosition,speakerGroup)Content search (
any)Session numbers (
sessionFrom,sessionTo)And more
For detailed parameter information, please refer to the source code documentation.
Environment
Node.js
TypeScript
Cloudflare Workers
Model Context Protocol SDK
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Connect Claude Desktop to your MCP server
You can connect to the MCP server from local MCP clients using the mcp-remote proxy.
To connect from Claude Desktop, follow Anthropic's Quickstart and within Claude Desktop go to Settings > Developer > Edit Config.
Update with this configuration:
{
"mcpServers": {
"kokkaikaigiroku": {
"command": "npx",
"args": [
"mcp-remote",
"https://kokkaikaigiroku-mcp.egeg.workers.dev/mcp" // Use this for the deployed version
// or "http://localhost:8787/mcp" for local development
]
}
}
}Restart Claude and you should see the Kokkai Minutes search tools become available.
Available Tools
3 toolssearchMeetingListA
Searches for meeting summaries from the Kokkai API (会議単位簡易出力). Returns basic info like meeting name, date, ID, URL. Does not include speech text. Max 100 records.
Inputs: startRecord, nameOfHouse, nameOfMeeting, any, +18 more.
searchMeetingsWithSpeechTextA
Searches for meetings and includes the full text of ALL speeches within those meetings from the Kokkai API (会議単位出力). Returns meeting info and all speech texts. Max 10 records.
Inputs: startRecord, nameOfHouse, nameOfMeeting, any, +18 more.
searchSpeechesA
Searches for specific speeches from the Kokkai API (発言単位出力). Returns speech text and info about the meeting it belongs to. Max 100 records.
Inputs: startRecord, nameOfHouse, nameOfMeeting, any, +18 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no ambiguity: searchMeetingList retrieves meeting metadata without speech text, searchMeetingsWithSpeechText returns meetings with full speech text, and searchSpeeches focuses on individual speeches with meeting context. The descriptions explicitly differentiate their scopes and output formats, making misselection unlikely.
All tool names follow a consistent verb_noun pattern using camelCase (searchMeetingList, searchMeetingsWithSpeechText, searchSpeeches), with 'search' as the uniform verb prefix. This predictable naming scheme enhances readability and agent usability without deviations.
With only 3 tools, the count feels borderline thin for a parliamentary minutes domain, potentially limiting advanced operations like filtering by date or speaker. However, it covers core search functionalities adequately, avoiding bloat but leaving room for expansion to improve workflow completeness.
The tool set provides comprehensive search coverage for Kokkai minutes, including metadata, full meeting texts, and individual speeches, with no dead ends. Minor gaps exist, such as lack of update/delete operations (irrelevant for read-only data) or advanced filtering options, but agents can work around these with the available tools.
Maintenance
Related MCP Connectors
Search National Diet proceedings speeches.
Kokkai Diet MCP — Japan National Diet proceedings, speech-level full-text search via the National…
Neutral Japanese politics data: laws, Diet bills, votes, parties, members, questions. All sourced.
Search Japanese subsidies and public company data using J-Grants, gBizINFO, and EDINET.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables querying Japanese national laws and ordinances via the e-Gov Law API, allowing AI agents to access legal data through natural language questions.145 npmMIT
- FlicenseAqualityDmaintenanceEnables search, retrieval, and summarization of Japanese National Diet meeting minutes via MCP tools.81-
- AlicenseAqualityDmaintenanceSearch Japan's National Diet records (1947-present): ministerial statements, committee Q&A, and policy debates with speaker, party, and citation URLs.2MIT
- AlicenseBqualityDmaintenanceMCP server that provides tools and prompts for searching Japanese Diet (国会) proceedings using the National Diet Library API. Enables querying meetings and speeches with various filters and obtaining direct URLs to the records.338ISC