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

norolu-frameworks-mcp

v0.1.2

Published

MCP server for Norolu Frameworks — lets an AI agent fill 3C / SWOT / MECE / OKR in your local data.json (local-first, zero-trust).

Readme

Norolu Frameworks — MCP server

AIエージェント(Claude Desktop / Code 等)が、あなたのローカル data.json3C / SWOT / MECE / OKR を直接書き込める MCP(Model Context Protocol)サーバーです。

★ローカルファイルのみ・ネットワーク非経由(ゼロトラスト)。data.json の場所は環境変数 FRAMEWORKS_DATA で指定。デスクトップ(Tauri)版と同じファイルを指せば、AIが書いた戦略が そのまま画面に反映されます。

セットアップ(npm 公開済み・インストール不要)

Claude Desktop / Code の MCP 設定に以下を追加するだけ(npx が npm から取得して起動):

{
  "mcpServers": {
    "norolu-frameworks": {
      "command": "npx",
      "args": ["-y", "norolu-frameworks-mcp"],
      "env": { "FRAMEWORKS_DATA": "/path/to/your/frameworks-data.json" }
    }
  }
}

FRAMEWORKS_DATA に指すファイルは、Web/デスクトップ版が読む data.json と同じにできます (AI が書いた戦略がそのまま画面に反映)。Windows のパスは C:\\Users\\you\\frameworks-data.json の形。

開発(このリポジトリをクローンする場合)

cd mcp
npm install
npm start   # server.mjs を直接起動

その場合の設定は "command": "node", "args": ["/abs/path/to/mcp/server.mjs"]

ツール

| ツール | 役割 | |---|---| | list_projects | 戦略プロジェクト一覧(id・名前・アクティブ) | | create_project | 新規プロジェクト作成(アクティブ化) | | get_project | プロジェクト全体を Markdown で取得 | | set_3c | 3C(顧客/競合/自社)を設定(渡したフィールドのみ更新) | | add_swot | SWOT 象限(strengths/weaknesses/opportunities/threats)に項目追加 | | set_mece | MECE 木を入れ子アウトライン([{text, children?}])で再構築 | | define_okr | Objective+Key Results を追加 |

動作確認

npm start   # stdio で起動(MCP クライアントから接続)

安全設計

  • 書き込みは原子的(temp→rename)。書込前に1世代 .bak へ退避(AIの誤操作からの復旧網)。
  • data.json は AppState 互換スキーマ。壊れていれば読み込み時に明示エラー。
  • 外部送信・テレメトリ一切なし。
  • set_mece の outline は最大 200KB・深さ24まで(深い再帰での失敗・巨大入力を早期に弾く)。
  • projectId を明示して存在しない場合はエラー(別プロジェクトを黙って更新しない)。
  • ★同時書込はロックなし=最後の更新が勝つ(単一ユーザー・端末内・低頻度書込前提)。MCP とデスクトップで近接して書くと一方が上書きされ得る。

Web アプリへの取り込み(デスクトップ版なしで使う)

デスクトップ(Tauri)版が無くても、MCP が書いた data.jsonWeb アプリにそのまま取り込めます

  1. AI エージェントに戦略を書かせる(FRAMEWORKS_DATA の data.json が更新される)
  2. https://frameworks.norolu.com を開く →「概要」→「バックアップ」→ 復元 で data.json を選ぶ
  3. 内容(3C / SWOT / MECE / OKR すべて)が新しいプロジェクトとして非破壊で追加される(既存は壊れない)

data.json はアプリのバックアップ形式と互換(AppState 形)。逆方向は Web の「書き出す」で JSON を保存し、 FRAMEWORKS_DATA に置けば MCP / デスクトップから続きを編集できます。