プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Pathrule

作者:pathruleバージョン 1.0.6i★ –iパソコンでもクラウドでも
レジストリ名io.pathrule/pathrule

インストール

概要

作者による説明(英語の原文)

Path-scoped project memories, rules and skills for coding agents, on your machine or Pathrule Cloud.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンでもクラウドでも
  • トランスポート: stdio, Streamable HTTP
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • 作者のサーバーで動きます。あなたが頼んだ内容は、作者のサーバーを通ります。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • クラウドで動くインストール不要。インターネット経由でつながります
  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

ウェブ、デスクトップ、モバイルのClaudeで使えます:

  1. Settings → Connectors を開く
  2. Add custom connector を押す
  3. 下のアドレスを貼り付けて Add を押す
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Add2https://…3
https://cloud.pathrule.io/mcp

または、パソコンで動かす

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add --transport http pathrule https://cloud.pathrule.io/mcp

または、パソコンで動かす

claude mcp add pathrule -- npx -y @pathrule/mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "pathrule": {
      "url": "https://cloud.pathrule.io/mcp"
    }
  }
}

または、パソコンで動かす

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "pathrule": {
      "type": "http",
      "url": "https://cloud.pathrule.io/mcp"
    }
  }
}

または、パソコンで動かす

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "pathrule": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pathrule/mcp"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ChatGPTがつなげるのは、インターネット上のサーバーだけです:

  1. ウェブ版のChatGPTを開き → Settings → Connectors (Apps)
  2. Create または Add を押す(プランによっては、先に Advanced で Developer mode をオンにする必要があります)
  3. 下のアドレスを貼り付け、名前を付けて保存する
  4. サインインを求められたら、作者のサービスにサインインする
SettingsConnectors1+ Create2https://…3
https://cloud.pathrule.io/mcp

メニューの名前は、プランや時期によって少し違うことがあります。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名はドメイン pathrule.io で確認済みです(レジストリがドメインの所有を確認しています)

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    エンドポイントが応答する

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

    OAuthでサインイン

    まだチェックしていません。エンドポイントは順番にチェックしています

  • … 未チェック

    ツールの説明に隠れた指示がない

    まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32398件のうち0%よりスターが多い
  • このカテゴリのほかの32398件のうち68%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32398件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Pathruleは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.6)がレジストリに届いたのは17 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, AI Deprecations

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

AI Deprecations

作者:aideprecations.com

AI model shutdown dates, replacements, change feed and webhook alerts for 8 providers.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

English · Español · Français · Deutsch · 日本語 · Italiano · Türkçe · Português (Brasil)

Your AI forgets. Pathrule remembers.

The open-source knowledge layer for coding agents. Pathrule keeps what your project has learned as memories, rules and skills scoped to paths in your code, and gives Claude Code, Codex, Cursor, GitHub Copilot and Windsurf only what the task in front of them needs, before they act.

PathruleBench, 2,000 items: 55% lower cost a chain · 2.7× fewer input tokens · 97% of memory probes passed · the numbers

Website · Docs · Quickstart · Benchmarks · Smarter over time · Changelog

Same request, same agent. On the right, Pathrule's hook hands over the three notes filed for apps/web/dashboard before the agent writes a line.

Works with Claude Code · Codex · Cursor · GitHub Copilot · Windsurf · any MCP client

Quickstart

Node.js 22.14.0 or newer, on macOS, Linux or Windows.

npm i -g @pathrule/cli

pathrule setup --local # no account: knowledge stays on this machine pathrule doctor # see what each agent receives

Restart your agent. From the next session on, it gets the notes for the path it is about to touch, and writes new ones as it works.

Other ways inCommandGood for
VS Code extensioncode --install-extension Pathrule.pathrule-vscodeKnowledge beside the code. Marketplace and Open VSX.
Claude Code / Codex plugin/plugin marketplace add pathrule/pathrule · codex plugin marketplace add pathrule/pathruleInstalling from inside the agent. Setup shows a plan before it changes anything.
Cursor pluginCursor Marketplace → PathruleThe same hooks, MCP and skills inside Cursor.
Gemini CLI / OpenCode plugingemini extensions install https://github.com/pathrule/gemini-cli-extension · opencode plugin @pathrule/opencode --globalThe same setup in Gemini CLI and OpenCode.
Any MCP clientnpx -y @pathrule/mcpAgents without a plugin system. Listed in the official MCP Registry.
Local Consolepathrule uiBrowse and edit knowledge on 127.0.0.1. No account.
Remote MCPclaude mcp add --transport http pathrule https://cloud.pathrule.io/mcpTrying it with nothing installed. No hooks, no local mode.
From sourcepnpm install && pnpm cli:bundleHacking on Pathrule. See docs/quickstart.md.

Explain it once

Coding agents start every session blank. So the same correction comes back, day after day, agent after agent:

DayAgentWhat you typed
MonClaude Code“use our api client, not fetch”1st
TueClaude Code“again: api client, not fetch”2nd
WedCodex“we use the api client.”3rd
ThuCursor“I told you yesterday. api client.”4th
FriClaude Code“API CLIENT. NOT FETCH.”5th

Five sessions, three agents, nothing remembered. With Pathrule you say it once:

  1. You fix it once, the way you normally would.
  2. Pathrule files it next to the code it is about: a memory on features/, not a line in a file every session has to read.
  3. Every agent knows from the next session on, whichever one you open.

Only what matters

A workspace collects hundreds of notes. An agent editing features/orders needs four of them.

Knowledge is matched by path, scope and relevance, then fit to a per-prompt budget. Enforced rules are never cut for space. Whatever does not fit is listed by title, so the agent can ask for it. When a prompt names a function or a type, the hook also points the agent to the file and line where it is defined (JS/TS, Python, Go).

Three kinds of knowledge
KindWhat it holdsExample on features/
MemoryDecisions, gotchas and incidents, in short markdown.“Use the api client. It handles auth and retries.”
RuleConstraints the agent must follow, ranked above advice.“Data loading goes through React Query.”
SkillReusable procedures and checklists an agent can run.“Run the checks before calling it done.”
Three ways in
ChannelWhen it reaches the agentCost
Path-scoped rule filesClaude Code reads Pathrule's own .claude/rules/pathrule/ at session start, each file scoped to its paths. Your CLAUDE.md and AGENTS.md are left as they are.Cached by the client.
HooksBefore the agent acts: on session start, on each prompt and on file tools. Only new or changed context is sent again.Budgeted per prompt.
MCP get_contextWhen the agent asks, at the depth the request needs.Every MCP client has it.

Why not just CLAUDE.md?

A CLAUDE.md file is read whole on every step, so every note your team adds makes every session cost more. Pathrule sends each prompt only what the path and the task need. PathruleBench measured the difference with the same agent, the same prompts and the same hidden checks, from 500 to 2,000 items of team knowledge.

At 2,000 items of team knowledgeCLAUDE.mdPathrule
Cost a chain of 8 sessions$3.89–$4.21$1.76–$1.89
Input tokens a chain11.8–12.5 M4.3–4.7 M
Memory probes passed89%97%
Chains that passed every memory probe0 of 95 of 9
A habit said once, followed later78%97%
What a failing command taught, kept33%78%
The work each prompt asked for100%100%

From 500 to 2,000 items, a chain with CLAUDE.md costs 89–98% more. With Pathrule it moves between −1% and +10%. Your knowledge base can grow; the bill does not.

Claude Code with claude-sonnet-5-5 in Python, Go and TypeScript; nine chains an arm at 2,000 items (three per language); executable tests decide every pass, no model judges. The Pathrule arm is this repository's open-source CLI in local mode: no Cloud, no model.

[Every condition, chain and check, and how to run it yourself → pathrule/benchmark](https://github.com/pathrule/benchmark)

Smarter the longer you use it.

Day one needs no account, no network and no model. Everything after builds on what you and your agents already did in this repository.

WhenWhat Pathrule doesWhere it runs

| Day 0 Foundation | Hooks and the local MCP server are wired into your agents. What you write is delivered per path, within a budget, through the hooks and Claude Code's path-scoped rules; your own CLAUDE.md and AGENTS.md are left as they are. | Open source, this machine | | Week 1 Memory | A decision you state in a prompt (“from now on…”, “we decided…”) is saved in your own words. A lesson a failing command taught is saved once. Each note is filed next to the code it is about, and only new or changed context is sent again. | Open source, this machine | | Month 1 Your habits | A preference you state lives in a local file of your own. Said once in passing, it waits; said again in another session, it reaches every agent. One you call lasting is in force at once. A project rule always wins over a personal one. | Open source, this machine | | Month 3 At scale | Thousands of notes, and a session stays the same size: the root rules file stays around 6k characters and the rest arrives per prompt. A sentence that says where code lives is marked (as of writing), so when a teammate moves the file the agent follows the code. When an edit writes a value a newer decision replaced, the hook quotes the decision at that edit. | Open source, this machine | | When you choose Team | The same knowledge on every machine and for every member. For a Cloud workspace, a model also reads the prompts Pathrule's phrase rules found nothing in and keeps the sentence you meant to last, still in your words. It is paid from AI Credits. | Pathrule Cloud, opt-in |

No model runs on your machine. Everything before Team is the open-source CLI, the same path the benchmark above measured.

Switch agents. Keep the knowledge.

<source media="(prefers-color-scheme: dark)" srcset="docs/assets/readme/en/

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く