National Diet Proceedings Search MCP Server logo

National Diet Proceedings Search MCP Server

Community
seiichi3141

Model Context Protocol (MCP) を使用して、国会議事録検索APIにアクセスできるサーバーです。

Publisherseiichi3141
Repositorykokkai_giji_mcp
LanguageTypeScript
Forks
2
Stars
38
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    National Diet Proceedings Search MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    38 stars and 2 forks from the linked repository.

国会議事録検索 MCP サーバー

Model Context Protocol (MCP) を使用して、国会議事録検索APIにアクセスできるサーバーです。

機能

ツール機能

  • 会議単位簡易出力(search_meetings_simple)
  • 会議単位出力(search_meetings_full)
  • 発言単位出力(search_speeches)

プロンプト機能

AIアシスタントに国会議事録の効果的な検索方法を指示:

  • search_with_urls: 発言URLを必ず含めて回答するよう指示
  • search_diet_proceedings: 効率的な検索戦略のガイド
  • analyze_speech_patterns: 発言パターンの分析方法
  • track_legislative_progress: 法案審議の追跡方法
  • find_specific_speaker: 特定発言者の検索
  • search_by_topic: トピック別の議論検索

各検索結果には以下のURLが含まれます:

  • speechURL: 個別発言への直接リンク
  • meetingURL: 会議録全体へのリンク
  • pdfURL: PDF版へのリンク(存在する場合)

インストール

通常のインストール

bash
npm install
npm run build

Dockerを使用する場合

Docker Hubを使用(推奨)

bash
# Docker Hubからイメージを取得
docker pull seiichi3141/kokkai-giji-mcp:latest

# コンテナを起動
docker run --rm -i seiichi3141/kokkai-giji-mcp:latest

ローカルビルド(開発時)

bash
# Dockerイメージをビルド
docker build -t kokkai-giji-mcp .

# Docker Composeでサービス起動
docker-compose up -d

使用方法

Claude Desktop での設定

通常実行の場合

claude_desktop_config.json に以下を追加:

json
{
  "mcpServers": {
    "kokkai-giji": {
      "command": "node",
      "args": ["/path/to/mcp_kokkai_giji/dist/index.js"]
    }
  }
}

Docker Hubイメージ使用の場合

json
{
  "mcpServers": {
    "kokkai-giji": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "seiichi3141/kokkai-giji-mcp:latest"
      ]
    }
  }
}

ローカルDockerコンテナ使用の場合

json
{
  "mcpServers": {
    "kokkai-giji": {
      "command": "docker",
      "args": [
        "exec",
        "-i",
        "kokkai-giji-mcp",
        "node",
        "dist/index.js"
      ]
    }
  }
}

開発・テスト用コマンド

bash
# 開発モード(ソースコードから直接実行)
npm run dev

# テスト実行
npm test

# テスト(ウォッチモード)
npm run test:watch

# カバレッジ付きテスト
npm run test:coverage

利用可能なツール

search_meetings_simple

会議単位簡易出力。会議の基本情報と該当する発言のリストを取得(最大100件)。

search_meetings_full

会議単位出力。会議の全発言本文を含む詳細データを取得(最大10件)。

search_speeches

発言単位出力。個別の発言本文を取得(最大100件)。

共通パラメータ

  • nameOfHouse: 院名(衆議院、参議院、両院、両院協議会)
  • nameOfMeeting: 会議名(例:本会議、予算委員会)。半角スペース区切りでOR検索
  • any: 発言内容の検索キーワード。半角スペース区切りでAND検索
  • speaker: 発言者名。半角スペース区切りでOR検索
  • from: 開会日付/始点(YYYY-MM-DD形式)
  • until: 開会日付/終点(YYYY-MM-DD形式)
  • sessionFrom: 国会回次From(開始回)
  • sessionTo: 国会回次To(終了回)
  • issueFrom: 号数From(開始号)
  • issueTo: 号数To(終了号)
  • speechNumber: 発言番号(0以上の整数)
  • speakerPosition: 発言者肩書き(部分一致)
  • speakerGroup: 発言者所属会派(部分一致)
  • speakerRole: 発言者役割(証人、参考人、公述人)
  • supplementAndAppendix: 追録・附録に限定(true/false)
  • contentsAndIndex: 目次・索引に限定(true/false)
  • searchRange: 検索対象箇所(冒頭、本文、冒頭・本文)
  • closing: 閉会中の会議録に限定(true/false)
  • speechID: 発言ID
  • issueID: 会議録ID(21桁の英数字)
  • maximumRecords: 最大取得件数
    • search_meetings_simple, search_speeches: 1-100(デフォルト30)
    • search_meetings_full: 1-10(デフォルト3)
  • startRecord: 取得開始位置(デフォルト1)

API について

このサーバーは国立国会図書館の国会会議録検索システムAPIを使用しています。 詳細: https://kokkai.ndl.go.jp/api.html

Installation

TypingMind
{
  "mcpServers": {
    "kokkai-giji-mcp": {
      "command": "node",
      "args": [
        "dist/index.js"
      ]
    }
  }
}

Use National Diet Proceedings Search MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once National Diet Proceedings Search MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add National Diet Proceedings Search MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the National Diet Proceedings Search MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "kokkai-giji-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp_kokkai_giji"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the National Diet Proceedings Search MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the National Diet Proceedings Search MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use National Diet Proceedings Search MCP Server to help me with this task?
National Diet Proceedings Search MCP Server
Sure. I read it.
Here is what I found using National Diet Proceedings Search MCP Server.

Frequently asked questions

What is the National Diet Proceedings Search MCP Server MCP server used for?

National Diet Proceedings Search MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use National Diet Proceedings Search MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use National Diet Proceedings Search MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use National Diet Proceedings Search MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With National Diet Proceedings Search MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect National Diet Proceedings Search MCP Server MCP to TypingMind?

National Diet Proceedings Search MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does National Diet Proceedings Search MCP Server MCP provide in TypingMind?

National Diet Proceedings Search MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use National Diet Proceedings Search MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If National Diet Proceedings Search MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇