get_speech
Pack: kokkai-diet · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_speech for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
speech_id | string | yes | A speechID from search_speeches, e.g. “122105261X01720260727_012”. |
Example call
Arguments
{
"speech_id": "122105261X01720260727_012"
}
curl
curl -X POST https://gateway.pipeworx.io/kokkai-diet/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_speech","arguments":{"speech_id":"122105261X01720260727_012"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_speech', {
"speech_id": "122105261X01720260727_012"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the kokkai-diet pack
{
"mcpServers": {
"kokkai-diet": {
"url": "https://gateway.pipeworx.io/kokkai-diet/mcp"
}
}
}
See Getting Started for client-specific install steps.