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

ukagaka-doc-mcp

v0.11.1

Published

MCP server for searching Ukagaka (伺か) technical documentation: UKADOC, SSP help, YAYA docs, 里々 docs, 蒼空(aosora) Wiki, 湊 (Minato) docs, Pasta docs, and 華和梨 (KAWARI) docs

Readme

ukagaka-doc-mcp

伺か(Ukagaka)の技術ドキュメントを検索する MCP サーバーです。

UKADOC・SSP ヘルプ・YAYA docs・里々 docs・蒼空 Wiki・湊 docs・Pasta docs・華和梨 docs のスナップショットを同梱しており、stdio モード(デフォルト)ではランタイムで外部ネットワークにアクセスしません。

使い方

npx(インストール不要)

npx ukagaka-doc-mcp

グローバルインストール

npm install -g ukagaka-doc-mcp
ukagaka-doc-mcp

Claude Desktop への組み込み

~/Library/Application Support/Claude/claude_desktop_config.json に追加します。

npx を使う場合(推奨):

{
  "mcpServers": {
    "ukagaka-doc": {
      "command": "npx",
      "args": ["ukagaka-doc-mcp"]
    }
  }
}

グローバルインストール済みの場合:

{
  "mcpServers": {
    "ukagaka-doc": {
      "command": "ukagaka-doc-mcp"
    }
  }
}

HTTP モード

--http を付けると Streamable HTTP の MCP サーバーとして起動します(ステートレス・認証なし)。

npx ukagaka-doc-mcp --http                              # http://127.0.0.1:8951/mcp
npx ukagaka-doc-mcp --http --host 0.0.0.0 --port 9000   # listen 先を変更

| オプション | 説明 | デフォルト | |------------|------|------------| | --http | HTTP モードで起動 | (なし=stdio) | | --host <host> | listen するホスト | 127.0.0.1 | | --port <port> | listen するポート | 8951 |

  • エンドポイントは POST /mcp のみです。
  • MCP 仕様 2026-07-28(リクエスト単位の _meta エンベロープ)と、それ以前の initialize ハンドシェイク方式(2025-11-25 / 2025-06-18 / 2025-03-26 / 2024-11-05)の両方のクライアントを同じエンドポイントで受け付けます。2025 系以前のリクエストへの応答は従来どおり application/json です。stdio モードも同様に両方に対応します。
  • Host / Origin ヘッダの検証は行いません。外部に公開する場合は nginx 等のリバースプロキシの背後に置いてください。
  • 起動直後と 24 時間ごとに GitHub 上の最新 data/index.json を取得し、同梱版より新しければメモリ上で差し替えます(ファイルには書き込みません)。取得に失敗した場合は現在のインデックスのまま動作を続けます。

提供ツール

| ツール | 説明 | |--------|------| | list_categories | 検索対象のカテゴリ一覧を返す | | search_docs | キーワードでドキュメントを検索する | | get_doc | URL を指定してドキュメント本文を取得する |

検索対象

| ソース | 内容 | |--------|------| | UKADOC | 伺か全般の仕様・リファレンス | | SSP ヘルプ(ukadoc-ssp) | SSP 本体の使い方・機能・設定 | | YAYA docs(yaya-docs) | YAYA スクリプトのリファレンス | | 里々 docs(satori-docs) | 里々スクリプト・ssu のリファレンス | | 蒼空(aosora) Wiki | 蒼空 shiori/GHOST 開発ガイド | | 湊 docs(minato) | 湊(Minato)SHIORI のリファレンス・里々/YAYA からの移行ガイド | | Pasta docs(pasta) | Pasta SHIORI の Pasta DSL 文法・Lua API・デバッグ・内部設計 | | 華和梨 docs(kawari-docs) | 華和梨(KAWARI)SHIORI の辞書の文法・KIS コマンド・SHIORI/SAORI インターフェース・移行ガイド・仕様書 |

data/index.json として同梱済みです。週1回 CI が自動更新します。

必要環境

  • Node.js 22 以上

開発

npm install
npm run refresh:index   # ドキュメントの取得とインデックス生成
npm run build
npm start

テスト:

npm test

メンテナンス(依存更新・脆弱性対応・手動リリース等)の手順は docs/maintenance.md を参照してください。

インデックスの自動更新フロー

毎週月曜(cron)または手動実行
  ↓ docs/ 配下の各サブモジュールを最新化
  ↓ data/index.json を再生成
  ↓ 変更があればパッチバージョンを上げて PR を自動作成
  ↓ CI 通過後に auto-merge
  ↓ npm publish・git tag・GitHub Release を自動作成

必要な設定

| 項目 | 内容 | |------|------| | APP_ID secret | GitHub App の ID | | APP_PRIVATE_KEY secret | GitHub App の秘密鍵 | | リポジトリの auto-merge | Settings → General → Allow auto-merge を有効化 | | npm Trusted Publishers | npmjs.com のパッケージ設定でこのリポジトリを登録 |

パッケージ内容

npm tarball に含まれるファイル:

  • dist/ — コンパイル済み JS
  • data/index.json — ドキュメントスナップショット
  • LICENSE / NOTICE.md / README.md / SPEC.md

src/・tests/・docs/(ドキュメントのサブモジュール)は含みません。

ライセンス

実装コードは MIT License(LICENSE 参照)。

同梱の data/index.json は UKADOC・SSP ヘルプ・YAYA docs・里々 docs・蒼空 Wiki・湊 docs・Pasta docs・華和梨 docs を元に生成した外部由来データです。MIT License での再ライセンスは行っていません。利用・再配布時は上流の権利関係を別途確認してください(NOTICE.md 参照)。