Enterprise DNA
M MCP Servers Developer low

Retio-ai/pagemap

by Various

🐍 🏠 - Compresses ~100K-token HTML into 2-5K-token structured maps while preserving every actionable element. AI agents can read and interact with any web page at 97% fewer tokens

R

MCP

Retio-ai/pagemap

Added 1 June 2026

Overview

Retio-ai/pagemap compresses large HTML documents (up to ~100K tokens) into compact structured maps of 2-5K tokens. It preserves all actionable elements such as links, forms, and buttons, enabling AI agents to read and interact with web pages using 97% fewer tokens.

Best for

Best for
Developers building cost-sensitive AI agents that need to parse and act on web page content

Use cases

  • Reduce token costs when feeding web page content to AI agents
  • Extract structured, actionable summaries of HTML for automation
  • Enable AI agents to navigate and interact with web pages via compact representations

How to use

Install

pip install retio-pagemap

Tools exposed

  • get_page_map
  • execute_action
  • fill_form
  • get_page_state
  • scroll_page
  • wait_for
  • take_screenshot
  • navigate_back
  • open_tab
  • switch_tab
  • list_tabs
  • close_tab
  • batch_get_page_map

Tested with

Claude Desktop, Claude Code, Cursor, Windsurf, VS Code

Notes

Retio-ai/pagemap compresses large HTML documents (up to ~100K tokens) into compact structured maps of 2-5K tokens. It preserves all actionable elements such as links, forms, and buttons, enabling AI agents to read and interact with web pages using 97% fewer tokens.

32 stars on GitHub. Last updated 2026-05-21.

Use cases

  • Reduce token costs when feeding web page content to AI agents
  • Extract structured, actionable summaries of HTML for automation
  • Enable AI agents to navigate and interact with web pages via compact representations

Pros

  • Reduces HTML token count by 97% while retaining critical content
  • Preserves every actionable element for agent interaction
  • Open-source Python tool, easy to integrate into existing pipelines

Cons

  • Small user base (32 stars) suggests limited community support
  • Requires pre-fetched HTML; does not handle dynamic content or browser automation
  • Documentation and examples may be sparse given early stage

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Reduces HTML token count by 97% while retaining critical content
  • Preserves every actionable element for agent interaction
  • Open-source Python tool, easy to integrate into existing pipelines

Cons

  • Small user base (32 stars) suggests limited community support
  • Requires pre-fetched HTML; does not handle dynamic content or browser automation
  • Documentation and examples may be sparse given early stage
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks