kokkai-mcp
Enables search, retrieval, and summarization of Japanese National Diet meeting minutes via MCP tools.
README
kokkai-mcp
国会議事録検索・要約 MCP サーバー
国立国会図書館の国会会議録検索システム API を利用し、 発言検索・会議録取得・議事録要約を MCP ツールとして提供します。
機能
| ツール | 説明 |
|---|---|
search_speeches |
キーワード・発言者・会議名・期間で発言を検索 |
get_meeting |
issueID を指定して会議録全体を取得 |
summarize_speeches |
発言一覧を要約(brief / standard / detailed) |
summarize_meeting |
会議録全体を取得して要約 |
セットアップ
1. 依存関係のインストール
npm install
2. 環境変数の設定
cp .env.example .env
# .env を編集して ANTHROPIC_API_KEY を設定する
必須の環境変数:
| 変数名 | 説明 |
|---|---|
ANTHROPIC_API_KEY |
Anthropic Claude API キー(https://console.anthropic.com/ で取得) |
3. ビルド
npm run build
4. Claude Desktop への登録
claude_desktop_config.json に以下を追加する:
{
"mcpServers": {
"kokkai-mcp": {
"command": "node",
"args": ["/path/to/kokkai-mcp/dist/server.js"],
"env": {
"ANTHROPIC_API_KEY": "your-api-key-here"
}
}
}
}
開発
npm run dev # ホットリロード起動
npm test # テスト実行
npm run lint # Lint チェック
npm run build # ビルド
使用例
発言検索
生成AIに関する最近の国会議論を検索してください。
→ search_speeches({ query: "生成AI", from: "2024-01-01", limit: 10 })
会議録要約
issueID の会議録を要約してください。
→ summarize_meeting({ issueID: "...", mode: "standard" })
アーキテクチャ
- Node.js 20+ / TypeScript 5.x
- MCP SDK (stdio transport)
- Anthropic Claude API(claude-3-5-haiku デフォルト)
- メモリキャッシュ(TTL: 発言 1 日、会議録・要約 7 日)
詳細は docs/architecture/ を参照してください。
ライセンス
本ソフトウェアの利用にあたっては、 国会会議録検索システム利用規約 に従うこと。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.