Page2AI — Web to Markdown logo

Page2AI — Web to Markdown

Converts web pages or supplied HTML into structured Markdown locally, with support for long pages and browser-assisted access.

Install Page2AI — Web to Markdown

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "page2ai-web-to-markdown": {
      "command": "npx",
      "args": [
        "-y",
        "page2ai-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Page2AI — Web to Markdown converts public web pages or caller-supplied HTML into Markdown for LLM context through one read-only MCP tool. Local fetching parses pages without cookies or JavaScript, preserving headings, code blocks, links, tables, and tab groups while removing common navigation and layout elements. Use it for documentation research, page extraction, and targeted reading of long pages; provide browser HTML or enable Agent Bridge for authenticated or JavaScript-rendered content. A hosted Streamable HTTP endpoint is also available when a local installation is not suitable.

Use cases

  • Extract documentation pages for an LLM
  • Convert browser-captured HTML from authenticated pages
  • Read long reference pages in targeted sections
  • Preserve separate code examples from tabbed documentation

Key features

  • URL and supplied-HTML conversion
  • Structured Markdown with code and tables
  • Static tab-group separation
  • Long-page chunking with section offsets
  • Local parsing without external API calls
  • Optional browser-based Agent Bridge

Tools1

What Page2AI — Web to Markdown lets your agent do. Expand a tool for its parameters.

Verified live~846 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 63d

What it can do

From the 1 tool this server returned when we ran it; 1 declare their own safety hints.

Handles credentials · 1Makes network requests · 1Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age101 days
Maintainers1

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · page2ai-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads2kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Page2AI — Web to Markdown works

What Page2AI — Web to Markdown does

Page2AI — Web to Markdown exposes page_to_markdown, a read-only MCP tool that turns a URL or existing page HTML into Markdown intended for model context. It retains the page’s main reading structure, including headings, links, tables, and fenced code blocks with language hints, while filtering out navigation, headers, footers, and sidebars.

The converter also handles static tab groups by writing each panel under a separate ### Tab: {label} heading. This keeps examples from different tabs from being combined into one misleading code block. URLs that point directly to Markdown or text files are returned as written rather than being treated like rendered documentation pages.

How it works

Local mode requests only the URL supplied to the tool. Pages are parsed on the machine with linkedom; no external API call, account, API key, or telemetry is required. Fetches do not include cookies and do not execute page scripts, so login-protected pages and JavaScript-only applications may produce a sign-in page or little usable content.

For content already available through a browser tool such as Playwright or Chrome DevTools MCP, pass the page’s html together with its url. The server converts that HTML without fetching the URL, and uses the URL to resolve relative links. This is also the route for pages that require the browser’s existing session.

Agent Bridge provides another browser-assisted path through the Page2AI browser extension version 1.6.0 or later. When connected, the extension opens URL pages in the user’s browser with its cookies and scripts and returns the extension’s Markdown. The server can fall back to its own fetch when the extension declines a page and reports the reason.

Long results are split at block boundaries when they exceed max_length, which defaults to 30,000 characters. The first part includes section offsets and names so an agent can request a later range with start_index. Subsequent parts are held in memory for 10 minutes after the last part is read.

Setup and configuration

The local server requires Node.js 20 or newer and can be started with:

Terminal
npx -y page2ai-mcp

Configure an MCP client to run that command over stdio. Claude Desktop, Cursor, VS Code with GitHub Copilot, Codex CLI, Gemini CLI, Windsurf, Zed, Cline, Continue, JetBrains AI Assistant, and LM Studio are named configuration options. Claude Desktop also supports installing the .mcpb bundle from the latest GitHub release. Claude Code can add the server with claude mcp add page2ai -- npx -y page2ai-mcp.

Clients that only accept remote MCP URLs can use the beta Streamable HTTP endpoint at https://page2ai-mcp-remote.vercel.app/api/mcp. The hosted service is rate-limited per IP, and URLs sent there are fetched from infrastructure operated by the author. Local stdio execution keeps fetching on the user’s machine.

Tools and capabilities

  • page_to_markdown: fetch a URL or convert supplied HTML into clean Markdown.
  • Preserves headings, links, tables, and language-labelled code blocks.
  • Removes common navigation and surrounding page chrome.
  • Separates statically discoverable tab panels.
  • Supports max_length and start_index for long-page retrieval.
  • Reports next steps for authentication failures, JavaScript-only pages, timeouts, redirects, unsupported content, and common HTTP errors.

The tool can honor include_images and include_frontmatter when content is obtained through Agent Bridge. Supplied HTML is marked with provenance indicating that the source URL was not fetched.

Limitations and notes

The default fetcher cannot use a user’s cookies or execute page JavaScript. Pass browser-collected HTML or use Agent Bridge for signed-in, blocked, or client-rendered pages. A request to a documentation URL returns that page itself; it does not assemble a complete Markdown mirror of the site. The hosted endpoint changes the privacy boundary because URLs are processed remotely.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Page2AI — Web to Markdown

Page2AI — Web to Markdown is an MCP server that connects AI clients to web pages and caller-supplied HTML through the page_to_markdown tool. It locally fetches or parses content, removes common page chrome, and returns Markdown with headings, links, tables, code blocks, tab panels, and long-page sectioning.

Run `npx -y page2ai-mcp` and add that command to your MCP client’s stdio configuration. Node.js 20 or newer is required, and no API key is needed. Claude Desktop can alternatively install the `.mcpb` bundle from the latest GitHub release.

Yes, Page2AI — Web to Markdown works with Cursor through its MCP configuration. Add an `mcpServers` entry named `page2ai` with `npx` and the arguments `-y`, `page2ai-mcp` in the global or project `.cursor/mcp.json` file.

Pass HTML already captured by a browser tool together with the page URL, or enable Agent Bridge in the Page2AI browser extension version 1.6.0 or later. The normal fetcher has no cookies and does not run page scripts, while Agent Bridge uses the connected browser session.

Yes, long pages are returned in parts controlled by `max_length` and `start_index`. The first part includes section positions and names, and later parts are read from temporary server memory without making another request to the site.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPage2AI — Web to Markdown AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/page2ai-web-to-markdown?style=directory)](https://allmcps.com/mcp/page2ai-web-to-markdown)
HTML Embed
<a href="https://allmcps.com/mcp/page2ai-web-to-markdown"><img src="https://allmcps.com/api/badge/page2ai-web-to-markdown?style=directory" alt="Page2AI — Web to Markdown on AllMCPs" /></a>