# pxtree

> pxtree is an open-source MCP server. Measures how a webpage actually renders and prints it as compact text for AI coding agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/alabsi91/pxtree
- **MCP Registry name:** io.github.alabsi91/pxtree
- **Listing updated:** 2026-11-13

## About

Measures how a webpage actually renders and prints it as compact text for AI coding agents.

## Install

### Claude Code (Terminal)

```sh
claude mcp add pxtree -- npx -y pxtree
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "pxtree": {
      "command": "npx",
      "args": [
        "-y",
        "pxtree"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pxtree": {
      "command": "npx",
      "args": [
        "-y",
        "pxtree"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "pxtree": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pxtree"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "pxtree": {
      "command": "npx",
      "args": [
        "-y",
        "pxtree"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pxtree": {
      "command": "npx",
      "args": [
        "-y",
        "pxtree"
      ]
    }
  }
}
```

## FAQ

### Is pxtree free?

Yes. pxtree is open source, so you can use and self-host it for free.

### How do I add pxtree to Claude Code?

Run this command in your terminal: claude mcp add pxtree -- npx -y pxtree

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/pxtree
