pxtree
What it does
Measures how a webpage actually renders and prints it as compact text for AI coding agents.
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "pxtree": { "command": "npx", "args": [ "-y", "pxtree", "mcp" ] } } }Claude を終了してもう一度開く
試してみる
pxtree を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が pxtree を使っていると言うか、回答に pxtree のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ pxtree につなげません
pxtree はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · pxtree につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user pxtree -- npx -y pxtree mcpClaude Code で /mcp と入力
pxtree が一覧にあり、接続済みと表示されれば OK です
試してみる
pxtree を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が pxtree を使っていると言うか、回答に pxtree のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
pxtree を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が pxtree を使っていると言うか、回答に pxtree のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
pxtree を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が pxtree を使っていると言うか、回答に pxtree のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user pxtree -- npx -y pxtree mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"pxtree": {
"command": "npx",
"args": [
"-y",
"pxtree",
"mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"pxtree": {
"command": "npx",
"args": [
"-y",
"pxtree",
"mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"pxtree": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pxtree",
"mcp"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。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月14日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント alabsi91 で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:2 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5873件のうち0%よりスターが多い
- このカテゴリのほかの5873件のうち41%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5873件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
pxtreeは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は2 か月前、最新バージョン(0.1.2)がレジストリに届いたのは2 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:REA, GitHub, Serena MCP: the IDE for your agent
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
pxtree
Loads a webpage in headless Chromium and prints what actually rendered as a compact text tree, so an AI coding agent can check a layout without a screenshot.
A dev server page with a row of three cards, a row of three plans, a list of steps, a row of stats, an article, a form, a column of prices and a row of tiles:
$ npx -y pxtree@latest localhost:5173
1280x800 light dpr 1 ltr scroll 0/382 page 1280x1182 painted to 1134 since last run: no changes summary: 7 findings a.button tops 64..136 across siblings: ul.cards div.stat tops 0..6 across siblings: div.stats input.field starts 0..3 across siblings: form.fields 12 wider than li.plan: li.plan.featured 72 taller than li.card: li.card 3 of 3 20 shorter than div.tile: div.tile.short gaps 16 16 24 16 between li.step: ul.steps body 1280x1182 pad 24 ul.cards 1232x208 gaps across 16, free 600 at end li.card 200x136 pad 16[renders background] h3 "Starter" 168x24 [text 19/24] p "Short text." 168x24 @0,32 [text 16/24] a.button "Choose" 168x40 @0,64 pad 8 16[renders background] li.card 200x136 @216,0 pad 16[renders background] h3 "Team" 168x24 [text 19/24] p "Short text." 168x24 @0,32 [text 16/24] a.button "Choose" 168x40 @0,64 pad 8 16[renders background] li.card 200x208 @432,0 pad 16renders background h3 "Business" 168x24 [text 19/24] p "A much longer…" 168x96 @0,32 [text 16/24, 4 lines, 444 on one line] a.button "Choose" 168x40 @0,136 pad 8 16[renders background] ul.plans 1232x56 @0,232 [gaps across 16, free 588 at end] li.plan "Monthly" 200x56 pad 16[renders background] li.plan "Yearly" 200x56 @216,0 pad 16[renders background] li.plan.featured "Lifetime" 212x56 @432,0 pad 16renders background ul.steps 1232x192 @0,312 gaps 16 16 24 16 li.step "One" 1232x24 [text 16/24] li.step "Two" 1232x24 @0,40 [text 16/24] li.step.active "Three" 1232x24 @0,80 [text 16/24] li.step "Four" 1232x24 @0,128 [text 16/24] li.step "Five" 1232x24 @0,168 [text 16/24] div.stats 1232x62 @0,528 gaps across 16, free 456 at end div.stat "Revenue" 182x56 pad 16[renders background] div.stat "Orders" 182x56 @198,0 pad 16[renders background] div.stat.alert "Refunds" 182x56 @396,6 pad 16[renders background] div.stat "Customers" 182x56 @594,0 pad 16[renders background] article 1232x132 @0,614 [gaps 12] h2 "First heading" 1232x24 [text 24/24] p "First paragraph." 1232x24 @0,36 [text 16/24] h2 "Second heading" 1232x24 @0,72 [text 24/24] p "Second paragraph." 1232x24 @0,108 [text 16/24] p.with-link "Read the first." 1232x24 @0,762 [text 16/24] a "guide" 39x17 @69,3 [text 16/24] form.fields 1232x108 @0,802 gaps 8 input.field "Name" 208x21 pad 1 2[renders background, border] input.field "Email" 208x21 @0,29 pad 1 2[renders background, border] input.field.nudged "Company" 208x21 @3,58 pad 1 2[renders background, border] input.field "Phone" 208x21 @0,87 pad 1 2[renders background, border] div.prices 300x72 @0,934 span.price "$9" 18x24 @282,0 [text 16/24] …×2 similar span.price 36x24..49x24 div.tiles 1232x80 @0,1030 [gaps across 16, free 900 at end] div.tile 100x80 [renders background] div.tile.short 100x60 @116,0 renders background div.tile 100x80 @232,0 [renders background]
The first line is the facts line: viewport, color scheme, device pixel ratio, direction, scroll position out of the maximum, document size, and painted to, the lowest painted pixel. since last run compares with the previous run of the same URL and settings, or of the same --diff-key name. That history lives in ~/.cache/pxtree, never in your project, and --no-diff skips it.
The ul.cards line says the "Choose" buttons in the three cards have tops from 64 px to 136 px below the top of their card. The li.plan.featured "Lifetime" line says that plan is 212x56 at x 432 in its row, 12 px wider than the width its siblings share. Findings are measurements with a threshold, never verdicts. The agent decides from the code whether they are intended.
Why not a screenshot
- It gives numbers in CSS px, not pixels the model has to estimate.
- The agent reads it in one pass, as text, with the findings listed on top.
- One call covers several viewports and color schemes.
Install
pxtree drives Playwright's Chromium. Install it once, about 150 MB:
npx -y playwright@1.63.0 install chromium
pxtree itself downloads nothing and never edits your project. --channel chrome uses an installed Chrome instead. Needs Node 20 or newer.
MCP server
| Client | Install | Scope |
|---|---|---|
| Codex | codex mcp add pxtree -- npx -y pxtree@latest mcp | user, ~/.codex/config.toml |
| Claude Code | claude mcp add --scope user pxtree -- npx -y pxtree@latest mcp | user. --scope project writes .mcp.json |
| Cursor | or ~/.cursor/mcp.json / .cursor/mcp.json | user / project |
| VS Code Copilot | or code --add-mcp '{"name":"pxtree","command":"npx","args":["-y","pxtree@latest","mcp"]}' | user. .vscode/mcp.json for project, see below |
| OpenCode | ~/.config/opencode/opencode.json or opencode.json, see below | user / project |
OpenCode, opencode.json:
{
"$schema": "https://opencode.ai/config.json", "mcp": { "pxtree": { "type": "local", "command": ["npx", "-y", "pxtree@latest", "mcp"], "enabled": true } } }
Other clients and config files
Any MCP client that reads mcpServers:
{
"mcpServers": { "pxtree": { "command": "npx", "args": ["-y", "pxtree@latest", "mcp"] } } }
| Client | Command or config path | Scope |
|---|---|---|
| Claude Code plugin (MCP server and skill) | /plugin marketplace add alabsi91/pxtree, then /plugin install pxtree@pxtree | user |
| Gemini CLI | gemini mcp add -s user pxtree npx -y pxtree@latest mcp | user. Without -s user: project .gemini/settings.json |
| Devin (formerly Windsurf) | devin mcp add pxtree -- npx -y pxtree@latest mcp, files ~/.config/devin/mcp_config.json / .devin/mcp_config.json | user / project |
| Amp | amp mcp add pxtree -- npx -y pxtree@latest mcp, files ~/.config/amp/settings.json / .amp/settings.json, see below | user / project |
| Zed | ~/.config/zed/settings.json, see below | user |
| Cline | CLI: cline mcp or ~/.cline/mcp.json. VS Code extension: Cline panel, MCP Servers, Configure | user |
| Roo Code | .roo/mcp.json, or mcp_settings.json from Roo's settings | project / user |
| JetBrains AI Assistant | Settings, Tools, AI Assistant, Model Context Protocol (MCP): paste the JSON above. The file path is not documented, check your client's docs | user / project |
VS Code, .vscode/mcp.json:
{
"servers": { "pxtree": { "type": "stdio", "command": "npx", "args": ["-y", "pxtree@latest", "mcp"] } } }
Amp, settings.json:
{
"amp.mcpServers": { "pxtree": { "command": "npx", "args": ["-y", "pxtree@latest", "mcp"] } } }
Zed, settings.json: