Skip to main content
Glama
houan-mcp

houan-mcp

by SHAYOUWORLD

@codeagentjp/houan-mcp

NDL国会会議録検索システムAPIを介して、日本の議案情報(衆参)および委員会質疑記録を検索するためのローカルstdio MCPサーバーです。

このサーバーはLLMを呼び出しません。ソースに基づいた国会データのみを返し、主要なURL(国会会議録検索システム、衆議院議案情報、参議院議案情報)を提供するため、MCPクライアント(Claude Desktop、Claude Code、Cursor、その他のエージェント)が元のソースを引用できます。

姉妹パッケージ: 現行の日本法(e-Gov法令検索)を扱う @codeagentjp/egov-law-mcp。houan-mcp は立法プロセス側、つまり審議中の議案、委員会質疑、会議録全文をカバーします。

ステータス

MVP。4つのツールを提供します:

  • find_diet_qa — NDL国会会議録検索システムAPIを介した、全国会委員会発言の全文検索。日付、議院、委員会、発言者でフィルタリング可能。

  • get_meeting_record — issueID を指定して、特定の委員会の会議録全文を取得。

  • search_bills — タイトルのキーワードで、両院の今国会の議案を検索。

  • get_bill — 議案の詳細(審議経過、付託委員会、全文URL)を取得。

Related MCP server: open-assembly-mcp

要件

  • Node.js 20以降

  • https://kokkai.ndl.go.jp、https://www.shugiin.go.jp、https://www.sangiin.go.jp へのネットワークアクセス

インストール

npmから:

{
  "mcpServers": {
    "houan": {
      "command": "npx",
      "args": ["-y", "@codeagentjp/houan-mcp"]
    }
  }
}

ソースから:

git clone https://github.com/SHAYOUWORLD/houan-mcp.git
cd houan-mcp
node bin/houan-mcp.mjs
{
  "mcpServers": {
    "houan": {
      "command": "node",
      "args": ["/absolute/path/to/houan-mcp/bin/houan-mcp.mjs"]
    }
  }
}

ツール

find_diet_qa

NDL国会会議録検索システムAPIを介した、国会委員会発言の全文検索。

{
  "keyword": "クロード ミトス",
  "from": "2026-04-01",
  "until": "2026-04-25",
  "chamber": "衆議院",
  "committee": "外務委員会",
  "limit": 5
}

発言者、役職、委員会コンテキスト、およびNDLの直接URLを含む一致した発言を返します。

get_meeting_record

issueID を指定して、会議録全文を取得します。

{
  "issueID": "122103968X00620260410"
}

search_bills

タイトルキーワードで衆議院議案情報 / 参議院議案情報を検索します。

{
  "keyword": "情報",
  "chamber": "both",
  "session": 221,
  "limit": 20
}

get_bill

議案詳細ページ(審議経過、付託委員会、全文URL)を取得します。proceedingURL は search_bills によって返されたURLである必要があり、取得前に議院の許可されたパスプレフィックスに対して検証されます。

{
  "chamber": "shugiin",
  "proceedingURL": "https://www.shugiin.go.jp/internet/itdb_gian.nsf/html/gian/keika/1DE..."
}

データソースと帰属表示

このパッケージは、以下の3つの日本の公開ソースを使用しています:

ツールの結果にはソースURLが含まれます。このパッケージに基づいた出力を公開または再配布する場合は、適切な帰属表示を含めてください。推奨例:

出典: 国会会議録検索システム (https://kokkai.ndl.go.jp/) / 衆議院議案情報 / 参議院議案情報

例: Mythosに関する質疑の取得

2026年4月10日の衆議院外務委員会における、AnthropicのClaude Mythos Previewに関する宇佐美登(チームみらい)議員の質疑は、以下のように取得できます:

{
  "tool": "find_diet_qa",
  "arguments": {
    "keyword": "クロード",
    "from": "2026-04-01",
    "until": "2026-04-30"
  }
}

レスポンスには、花田貴裕 政府参考人の答弁がそのまま含まれており、meetingURL は https://kokkai.ndl.go.jp/txt/122103968X00620260410 のNDL公式記録を指しています。

安全上の注意

  • 本パッケージは立法参照ツールであり、法的・政治的助言を行うものではありません。

  • シェルコマンドは実行しません。

  • JSON-RPCメッセージはstdoutにのみ書き出し、ログはstderrにのみ出力します。

  • NDL国会会議録検索システムAPIおよび衆議院・参議院議案情報エンドポイントのみにアクセスします。

  • NDLの国会記録は、通常、委員会開催から1〜2週間の遅れで公開されます。最近の会議が見つからない場合は、後で確認するか、各議院のビデオライブラリを直接参照してください。

関連

ライセンス

MIT © codeagent.jp

Available Tools

4 tools
find_diet_qaA

Full-text search of Japanese Diet committee speeches via the NDL Kokkai API. Returns speeches matching the keyword along with speaker, position, committee, and the canonical NDL URL.

Inputs: keyword (required), from, until, chamber, +3 more.

get_billA

Retrieve detail of one bill by chamber and proceedings URL. Returns title, submitter, committee assignment, and a status timeline parsed from the proceedings page. The proceedingURL must be a URL returned by search_bills.

Inputs: chamber (required), proceedingURL (required).

get_meeting_recordA

Retrieve the full transcript of one Diet committee meeting by issueID via the NDL Kokkai API. Use the issueID from a find_diet_qa result.

Inputs: issueID (required).

search_billsA

Search current-session Japanese Diet bills (衆議院議案情報 / 参議院議案情報) by title keyword. Returns bill metadata with proceedings and full-text URLs.

Inputs: keyword (required), chamber, session, limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct resource: speeches (find_diet_qa), bills (get_bill, search_bills), and meeting transcripts (get_meeting_record). There is no overlap in functionality, making it easy for an agent to choose the correct tool.

    Naming Consistency3/5

    Tool names mix verb prefixes: 'find', 'get', and 'search'. While all use snake_case, the lack of a uniform verb-noun pattern (e.g., all 'get_...' or all 'search_...') creates mild inconsistency.

    Tool Count5/5

    Four tools is well-scoped for the domain of Japanese Diet information retrieval. Each tool serves a clear purpose without redundancy or excessive granularity.

    Completeness4/5

    The tool set covers search and retrieval for bills, speeches, and meeting transcripts, which are the core needs. Minor gaps exist (e.g., listing all committees or filtering by date), but they don't hinder primary workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Japan's TDnet (Timely Disclosure network). Search and retrieve timely disclosure documents from listed companies on Japanese stock exchanges.
      178 PyPI
      6
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for the Korean National Assembly Open API, enabling querying of bills, members, votes, committees, and more via natural language.
      20
      51 PyPI
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      MCP 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.
      3
      38
      ISC