Compresses large HTML into compact structured maps enabling AI agents to read and interact with web pages efficiently.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Pagemap.
get_page_mapStart 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).
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.
"Give your agent eyes and hands on the web."
Playwright MCP dumps 50-540KB accessibility snapshots per page, overflowing context windows after 2-3 navigations. Firecrawl and Jina convert HTML to markdown โ read-only, no interaction.
PageMap gives your agent a compressed, actionable view of any web page:
| PageMap | Playwright MCP | Firecrawl | Jina Reader | |
|---|---|---|---|---|
| Tokens / page | 2-5K | 6-50K | 10-50K | 10-50K |
| Interaction | click / type / select / hover | Raw tree parsing | Read-only | Read-only |
| Multi-page sessions | Unlimited | Breaks at 2-3 pages | N/A | N/A |
| Task success (94 tasks) | 84.7% | 61.5% | 64.5% | 57.8% |
| Avg tokens / task | 2,710 | 13,737 | 13,888 | 11,424 |
| Cost / 94 tasks | $1.06 | $4.09 | $3.98 | $2.26 |
Benchmarked across 11 e-commerce sites, 94 static tasks, 7 conditions. 8,100+ tests passing.
Chromium is auto-installed on first use โ no manual playwright install needed.
Add to Claude Code, Cursor, Windsurf, or Claude Desktop:
Claude Desktop (macOS): Use the absolute path to
uvxโ runwhich uvx(e.g./opt/homebrew/bin/uvx).
VS Code (Copilot): Use
"servers"instead of"mcpServers"in.vscode/mcp.json.
Not just reading โ your agent can click buttons, fill forms, select options, manage tabs, and navigate across pages. 13 tools cover the full browsing workflow:
get_page_map ยท execute_action ยท fill_form ยท scroll_page ยท wait_for ยท take_screenshot ยท get_page_state ยท navigate_back ยท batch_get_page_map ยท open_tab ยท switch_tab ยท list_tabs ยท close_tab
PageMap automatically classifies pages and applies optimized extraction for each type:
product_detail ยท listing ยท search_results ยท article ยท news ยท video ยท login ยท form ยท checkout ยท dashboard ยท help_faq ยท settings ยท error ยท documentation ยท landing ยท blocked
Built-in support for 30+ major e-commerce sites across 4 tiers:
Structured extraction of prices, options (size/color), ratings, availability โ with automatic cookie consent handling and login barrier detection.
PageMap detects problems and tells your agent what to do:
barrier field with the diagnosis and suggested next stepsrole="dialog" + HTML regex 2-phase detection. Promotional popups (newsletter, exit-intent) auto-dismissedto_delta_packet() serializer emits digest-bound evidence units, claim candidates, provenance, and authority flags for downstream memory/review systems without changing the default MCP outputLocale auto-detected from URL. Token budgets adjusted for CJK scripts.
| Language | Locale | Language | Locale |
|---|---|---|---|
| English | en | Chinese | zh |
| Korean | ko | Spanish | es |
| Japanese | ja | Italian | it |
| French | fr | Portuguese | pt |
| German | de | Dutch | nl |
Default mode. Runs as a local MCP server โ no server setup needed.
Multi-architecture images (amd64/arm64) available on Docker Hub and GitHub Container Registry.
For offline processing (no browser):
PageMap treats all web content as untrusted input:
--ignore-robots opt-out flagLocal development: Private IPs are blocked by default. Use --allow-local or PAGEMAP_ALLOW_LOCAL=1.
Users are responsible for complying with the terms of service of target websites and all applicable laws when using PageMap.
"spawn uvx ENOENT" (Claude Desktop on macOS) โ Claude Desktop does not inherit your shell PATH. Run which uvx and use the absolute path in your config.
First page takes a long time โ Chromium cold start takes ~10-30s on first navigation. Subsequent pages load in 1-3 seconds.
Localhost blocked โ Use --allow-local flag or set PAGEMAP_ALLOW_LOCAL=1.
Chromium not found โ Run pip install retio-pagemap && playwright install chromium to install manually.
Have a question or idea? Join the conversation in GitHub Discussions.
Local (STDIO) โ Free forever. Self-hosted, open source under AGPL-3.0.
Cloud API โ Hosted multi-tenant server with auth, rate limiting, and credit-based billing. Contact retio1001@retio.ai for access.
AGPL-3.0-only โ see LICENSE for the full text.
For commercial licensing options, contact retio1001@retio.ai.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/retio-ai-pagemap)<a href="https://allmcps.com/mcp/retio-ai-pagemap"><img src="https://allmcps.com/api/badge/retio-ai-pagemap?style=directory" alt="Pagemap on AllMCPs" /></a>