npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kokkai-lib-mcp-server

v1.0.0

Published

国会図書館API用MCPサーバー - 国会会議録検索システムと統合

Readme

国会図書館MCPサーバー

国会図書館の会議録検索システムAPI用MCPサーバーです。Claude DesktopやClineなどのMCPクライアントから、国会会議録を検索・取得できます。

概要

このMCPサーバーは、国会図書館が提供する国会会議録検索システムAPIとの連携を可能にします。以下の機能を提供します:

  • 会議録検索: キーワード、発言者、会議名、日付範囲などで検索
  • 発言詳細取得: 発言IDから詳細な発言内容を取得

インストール

前提条件

  • Node.js 18以上
  • npm または yarn

セットアップ

# リポジトリのクローン
git clone <repository-url>
cd kokkai-lib-mcp

# 依存関係のインストール
npm install

# ビルド
npm run build

使用方法

Claude Desktopでの設定

Claude Desktopの設定ファイル(claude_desktop_config.json)に以下を追加します:

macOS/Linux

{
  "mcpServers": {
    "kokkai-lib": {
      "command": "node",
      "args": ["/path/to/kokkai-lib-mcp/build/index.js"]
    }
  }
}

Windows

{
  "mcpServers": {
    "kokkai-lib": {
      "command": "node",
      "args": ["C:\\path\\to\\kokkai-lib-mcp\\build\\index.js"]
    }
  }
}

Clineでの設定

Clineの設定で、MCPサーバーとして以下を追加します:

{
  "kokkai-lib": {
    "command": "node",
    "args": ["/path/to/kokkai-lib-mcp/build/index.js"]
  }
}

利用可能なツール

1. search_minutes

国会会議録を検索します。

パラメータ:

  • keyword (string, 任意): 検索キーワード
  • speaker (string, 任意): 発言者名
  • meeting (string, 任意): 会議名
  • startDate (string, 任意): 開始日(YYYY-MM-DD形式)
  • endDate (string, 任意): 終了日(YYYY-MM-DD形式)
  • maximum (number, 任意): 取得する最大件数(デフォルト: 10)

使用例:

「環境問題について、過去1年間の国会での議論を検索してください」

2. fetch_speech

会議録の発言IDから詳細な発言内容を取得します。

パラメータ:

  • speechId (string, 必須): 発言ID

使用例:

「発言ID xxx の詳細を取得してください」

開発

開発モードでの起動

npm run dev

ウォッチモード

npm run watch

ビルド

npm run build

プロジェクト構成

kokkai-lib-mcp/
├── src/
│   ├── index.ts       # MCPサーバーのメインファイル
│   └── ndl-api.ts     # 国会図書館API連携機能
├── build/             # ビルド出力
├── package.json
├── tsconfig.json
└── README.md

API仕様

このサーバーは、国会図書館の国会会議録検索システムAPIを使用しています。

詳細なAPI仕様については、公式ドキュメントを参照してください。

ライセンス

MIT

謝辞

このプロジェクトは、国会図書館が提供する国会会議録検索システムAPIを使用しています。