Skip to main content
Glama

Kokkai Minutes MCP Agent

by egegungordu

searchSpeeches

Retrieve specific Diet speeches by filtering keywords, speaker names, meeting types, or dates using the Japanese National Diet Library's API. Returns up to 100 records with text and meeting details.

Instructions

Searches for specific speeches from the Kokkai API (発言単位出力). Returns speech text and info about the meeting it belongs to. Max 100 records.

Input Schema

NameRequiredDescriptionDefault
anyNoKeywords to search in speech content. Partial match. Multiple terms separated by space for AND search.
closingNoLimit search to meetings held during recess. Default false.
contentsAndIndexNoLimit search to table of contents and index. Default false.
fromNoStart date for meeting search (YYYY-MM-DD). Default '0000-01-01'.
issueFromNoStarting issue number (up to 3 digits, 0 for TOC/index/appendix/supplement).
issueIDNoUnique ID for a meeting record (21 alphanumeric characters, e.g., '100105254X00119470520'). Exact match.
issueToNoEnding issue number (up to 3 digits, 0 for TOC/index/appendix/supplement).
maximumRecordsNoMaximum number of records to retrieve (1-100) for speeches. Default is 30.
nameOfHouseNoName of the House (e.g., '衆議院' for House of Representatives, '参議院' for House of Councillors). '両院' and '両院協議会' yield the same results.
nameOfMeetingNoName of the meeting (e.g., plenary session, committee). Partial match. Multiple terms separated by space for OR search.
searchRangeNoSpecifies where to search for keywords from 'any' parameter: '冒頭' (opening), '本文' (body), or '冒頭・本文' (both). Default '冒頭・本文'.
sessionFromNoStarting Diet session number (up to 3 digits).
sessionToNoEnding Diet session number (up to 3 digits).
speakerNoSpeaker's name. Partial match. Multiple names separated by space for OR search.
speakerGroupNoSpeaker's affiliated political group. Partial match.
speakerPositionNoSpeaker's position/title. Partial match.
speakerRoleNoSpeaker's role: '証人' (witness), '参考人' (expert witness/referential speaker), '公述人' (public speaker).
speechIDNoUnique ID for a speech (format: issueID_paddedSpeechNumber, e.g., '100105254X00119470520_000'). Exact match.
speechNumberNoExact match for speech number (e.g., 10).
startRecordNoStart position for retrieving search results (1-based). Default is 1.
supplementAndAppendixNoLimit search to supplements and appendices. Default false.
untilNoEnd date for meeting search (YYYY-MM-DD). Default '9999-12-31'.

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "any": { "description": "Keywords to search in speech content. Partial match. Multiple terms separated by space for AND search.", "type": "string" }, "closing": { "description": "Limit search to meetings held during recess. Default false.", "type": "boolean" }, "contentsAndIndex": { "description": "Limit search to table of contents and index. Default false.", "type": "boolean" }, "from": { "description": "Start date for meeting search (YYYY-MM-DD). Default '0000-01-01'.", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" }, "issueFrom": { "description": "Starting issue number (up to 3 digits, 0 for TOC/index/appendix/supplement).", "minimum": 0, "type": "integer" }, "issueID": { "description": "Unique ID for a meeting record (21 alphanumeric characters, e.g., '100105254X00119470520'). Exact match.", "type": "string" }, "issueTo": { "description": "Ending issue number (up to 3 digits, 0 for TOC/index/appendix/supplement).", "minimum": 0, "type": "integer" }, "maximumRecords": { "description": "Maximum number of records to retrieve (1-100) for speeches. Default is 30.", "maximum": 100, "minimum": 1, "type": "integer" }, "nameOfHouse": { "description": "Name of the House (e.g., '衆議院' for House of Representatives, '参議院' for House of Councillors). '両院' and '両院協議会' yield the same results.", "enum": [ "衆議院", "参議院", "両院", "両院協議会" ], "type": "string" }, "nameOfMeeting": { "description": "Name of the meeting (e.g., plenary session, committee). Partial match. Multiple terms separated by space for OR search.", "type": "string" }, "searchRange": { "description": "Specifies where to search for keywords from 'any' parameter: '冒頭' (opening), '本文' (body), or '冒頭・本文' (both). Default '冒頭・本文'.", "enum": [ "冒頭", "本文", "冒頭・本文" ], "type": "string" }, "sessionFrom": { "description": "Starting Diet session number (up to 3 digits).", "exclusiveMinimum": 0, "type": "integer" }, "sessionTo": { "description": "Ending Diet session number (up to 3 digits).", "exclusiveMinimum": 0, "type": "integer" }, "speaker": { "description": "Speaker's name. Partial match. Multiple names separated by space for OR search.", "type": "string" }, "speakerGroup": { "description": "Speaker's affiliated political group. Partial match.", "type": "string" }, "speakerPosition": { "description": "Speaker's position/title. Partial match.", "type": "string" }, "speakerRole": { "description": "Speaker's role: '証人' (witness), '参考人' (expert witness/referential speaker), '公述人' (public speaker).", "enum": [ "証人", "参考人", "公述人" ], "type": "string" }, "speechID": { "description": "Unique ID for a speech (format: issueID_paddedSpeechNumber, e.g., '100105254X00119470520_000'). Exact match.", "type": "string" }, "speechNumber": { "description": "Exact match for speech number (e.g., 10).", "minimum": 0, "type": "integer" }, "startRecord": { "description": "Start position for retrieving search results (1-based). Default is 1.", "minimum": 1, "type": "integer" }, "supplementAndAppendix": { "description": "Limit search to supplements and appendices. Default false.", "type": "boolean" }, "until": { "description": "End date for meeting search (YYYY-MM-DD). Default '9999-12-31'.", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "type": "string" } }, "type": "object" }
Install Server

Other Tools from Kokkai Minutes MCP Agent

Related Tools

    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/egegungordu/kokkaikaigiroku-mcp'

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