What it does
PHP code graph for AI agents: impact of a change, feature outlines, handlers, routes, layer rules
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
graphify
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 8/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 20/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
phpgraph をインストールして。https://mcp.popnx.com/i/alpine-ronin-phpgraph.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月16日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
AI にインストールしてもらう
このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude に MCP server phpgraph を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "phpgraph": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/alpine-ronin/phpgraph:2.3.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、phpgraph のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Docker を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --version- バージョン番号(例 Docker version …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
docker --version一度入れれば、Docker を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "phpgraph": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/alpine-ronin/phpgraph:2.3.0" ] } } }Claude を終了してもう一度開く
試してみる
phpgraph を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が phpgraph を使っていると言うか、回答に phpgraph のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ phpgraph につなげません
phpgraph はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · phpgraph につなげるアプリを使う
- 先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Docker を入れてください(1 回だけ)
- 先にパソコンへ Docker を入れてください(1 回だけ)
- 先にパソコンへ Docker を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Claude Code に MCP server phpgraph を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user phpgraph -- docker run -i --rm ghcr.io/alpine-ronin/phpgraph:2.3.0 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、phpgraph のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Docker を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --version- バージョン番号(例 Docker version …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
docker --version一度入れれば、Docker を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user phpgraph -- docker run -i --rm ghcr.io/alpine-ronin/phpgraph:2.3.0Claude Code で /mcp と入力
phpgraph が一覧にあり、接続済みと表示されれば OK です
試してみる
phpgraph を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が phpgraph を使っていると言うか、回答に phpgraph のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの Cursor に MCP server phpgraph を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "phpgraph": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/alpine-ronin/phpgraph:2.3.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、phpgraph のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Docker を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --version- バージョン番号(例 Docker version …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
docker --version一度入れれば、Docker を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
phpgraph を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が phpgraph を使っていると言うか、回答に phpgraph のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Docker を入れてください(1 回だけ)
AI にインストールしてもらう
このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。
このパソコンの VS Code に MCP server phpgraph を入れてください。順番に:1) docker --version で Docker があるか確認。なければ https://www.docker.com/products/docker-desktop/ から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "phpgraph": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/alpine-ronin/phpgraph:2.3.0" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、phpgraph のツールが本当に表示されるか確認する。このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。
Docker を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
docker --version- バージョン番号(例 Docker version …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: Docker Desktop を入れます:Mac は Docker.dmg を開いてアイコンを「アプリケーション」へドラッグ(Mac に合わせて Apple silicon か Intel を選ぶ)· Windows は Docker Desktop Installer.exe をダブルクリック · 入れたら Docker Desktop アプリを開いたままにします。curl コマンドは不要です
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
docker --version一度入れれば、Docker を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
phpgraph を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が phpgraph を使っていると言うか、回答に phpgraph のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user phpgraph -- docker run -i --rm ghcr.io/alpine-ronin/phpgraph:2.3.0Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"phpgraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"phpgraph": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"phpgraph": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alpine-ronin/phpgraph:2.3.0"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント alpine-ronin で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:3 日前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/alpine-ronin-phpgraph)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの6136件のうち83%よりスターが多い
- このカテゴリのほかの6136件のうち90%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6136件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
phpgraphは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は3 日前、最新バージョン(2.3.0)がレジストリに届いたのは3 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ phpgraph | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
A knowledge graph of your PHP codebase, for AI coding agents.
English · Français
A coding agent in a PHP project it does not know searches names with grep, reads file after file, and guesses when the answer goes through something a name search does not show: an interface, the service container, a message bus, a route. phpgraph parses the project once and gives the agent the answer from a graph, over MCP, in one call. In the benchmarks it paid off on the largest project measured, for a question about the impact of a change; on smaller projects the same kind of question cost more tokens with it.
Demo
A 68-second video, the same question to Claude Code with and without phpgraph, one real run each: youtu.be/Cv4ULkN3FF0.
No LLM, no network, no embeddings: your code never leaves your machine, and phpgraph parses it without running it. Every fact says how sure it is (EXTRACTED, INFERRED or AMBIGUOUS), and what phpgraph could not link is reported.
Where it helps and where it doesn't
Akeneo PIM (8,416 PHP files), task: *list every class that must change when GetCategoryInterface::byCode() takes a second parameter*. Claude Code 2.1.325 with Sonnet, 15 November 2026: phpgraph 2.3.0, 6 runs; without phpgraph, 3 runs:
| With phpgraph | Without | |
|---|---|---|
| Correct answers | 6/6 | 3/3 |
| Tokens per run, median | 110,254 | 170,660 |
| Tokens per run, range | 87,643 to 181,273 | 127,193 to 176,783 |
| Time per run | 15.9 to 27.9 s | 15.9 to 26.8 s |
Where it helps: the same answer for 35 % fewer tokens (median) on the largest project; 3 runs out of 6 answered from impact_of alone, the others checked it with one to three searches. Where it doesn't: on the 6 impact tasks of the benchmark, with 2.2.0, phpgraph gave more right answers (17/18 against 15/18) but used 9.8 % more tokens in total, from −30 % to +36 % per task, and time was not better. Results vary from run to run: with 2.2.0 the same Akeneo task took 87,000 to 222,000 tokens. Every result, grouped by version, with the method: docs/BENCHMARKS.md.
Quick start
1. Install the executable (Linux, macOS; it carries its own PHP, none needed):
curl -fsSL https://raw.githubusercontent.com/alpine-ronin/phpgraph/main/install.sh | sh
It checks the SHA-256 and installs to ~/.local/bin. Windows, Composer, PHAR and Docker: docs/INSTALL.md.
2. Connect Claude Code. From your project directory:
phpgraph mcp-config claude
It prints a claude mcp add phpgraph -- ... command with the paths filled in (run it), an .mcp.json to share with the team instead, and a line for CLAUDE.md telling the agent to call phpgraph before grep. Codex, Cursor, Sherpa and other MCP clients: phpgraph mcp-config codex|cursor|sherpa|json.
3. Ask. The graph is built on the first call, then kept up to date as you edit.
What you can ask
- What breaks if I change this method?
impact_oflists every dependent, nearest first, callers through the interface it implements included, the routes reaching it and the tests to run. - How does this feature work?
outlinegives the classes, the routes running into them, the behaviour read in their bodies, the wiring and the tests in one answer, so the agent reads only the files with non-obvious logic. - Which handler receives this message, which controller serves this route? Senders, messages and handlers are linked for Symfony Messenger, Laravel, Ecotone, PrestaShop, WordPress hooks and your own buses; routes to their controllers, HTTP calls to the routes they reach.
- Who calls this, in a large or old codebase? Receivers are typed from return types, docblocks, generics, branches and the signatures of
vendor/, and PHP 4 and 5 syntax is parsed.
What it is not
- Not a runtime tool. It reads code and configuration, never runs them: services built at runtime (compiler passes, ids computed at runtime) and dynamic calls (
$this->$name(),__callwithout@method) stay unresolved. - Not every framework. Symfony, Laravel, Ecotone, PrestaShop and WordPress conventions are recognised, plus generic ones (handler attributes,
*Handler,*Bus); others get the call graph only. Only PHP files are read. - Better with `vendor/`. Without installed dependencies, call chains stop at the first one.
- PHP versions. The project you analyse can be any PHP version, PHP 4 syntax included, and its PHP does not need to be installed. phpgraph itself needs no PHP as an executable or in Docker, and PHP 8.5 or newer with Composer or the PHAR.
The full list: docs/LIMITATIONS.md.
Documentation
- Install: every method, every agent
- MCP tools: the 8 tools, 4 listed by default
- Command line:
build,impact,outline,check,serveand their options - Graph schema and confidence levels: relations,
EXTRACTED/INFERRED/AMBIGUOUS, how it works - Architecture rules: layers,
phpgraph checkin CI,phpgraph.yaml - Frameworks: what is recognised, microservices, XML action routing
- Benchmarks: agents with and without phpgraph, other code graphs, the measurement corpus
- Limitations and FAQ
- Contributing, code architecture, library providers, stability, changelog
- The previous README, kept unchanged
License
MIT.