PageMap MCP Server

Structured web page representation for AI agents — 97% HTML token reduction

Remote serverstreamable-httpPython

What is the PageMap MCP Server?

Structured web page representation for AI agents — 97% HTML token reduction

What you get

PageMap converts raw HTML (100K+ tokens) into structured, AI-readable page maps (2-5K tokens) — a 97% token reduction. It works as an MCP server, Python SDK, and CLI, supporting 16 page types and 30+ e-commerce sites. Agents can read, click, type, and navigate any web page.

Configuration and credentials

  • Python 3.11+ - Chromium (auto-installed on first use)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_page_map**Start here.** Navigate to a URL and get a full structured map with numbered refs.
execute_actionClick, type, select, or hover using a ref number from the last get_page_map.
fill_formFill multiple form fields in one call. More efficient than sequential execute_action calls.
get_page_stateCheck current URL and title without a full rebuild. Use after actions that may navigate.
scroll_pageScroll to reveal lazy-loaded content before calling get_page_map again.
wait_forWait for dynamic content to appear (e.g. after a search or form submit).
take_screenshotCapture the visual state when the PageMap alone is ambiguous.
navigate_backGo back one step in browser history.
open_tabOpen a new browser tab and navigate to a URL.
switch_tabSwitch to a different open tab by index.
list_tabsList all open tabs with their URLs and titles.
close_tabClose a tab by index.
batch_get_page_mapFetch multiple URLs in parallel. Use for comparison tasks.

How to install the PageMap MCP Server

{
  "mcpServers": {
    "pagemap": {
      "command": "uvx",
      "args": ["ENOENT"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11+ - Chromium (auto-installed on first use)

Example prompts to try

  • “Use PageMap to get page map.”
  • “Use PageMap to execute action.”
  • “Use PageMap to fill form.”

Frequently asked questions

Structured web page representation for AI agents — 97% HTML token reduction Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.