Page2AI β€” Web to Markdown logo

Page2AI β€” Web to Markdown

Converts fetched web pages or supplied HTML into clean Markdown for LLM context through one read-only MCP tool.

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.

Automated check passedβ€” started and listed 1 tools correctly (Today).

Overview

Page2AI β€” Web to Markdown runs locally over MCP and turns a URL or caller-supplied HTML into Markdown for agent context. Its `page_to_markdown` tool preserves reading structure, code-language hints, tables, and optional frontmatter. Use it to collect documentation or other public web content without an API key; pages requiring cookies or JavaScript can be supplied as browser-captured HTML or handled through the optional Agent Bridge.

Use cases

  • Fetch documentation and convert it into Markdown for question answering
  • Convert browser-captured HTML from authenticated pages
  • Extract API reference content for code-generation workflows
  • Compare or summarize multiple web pages in an MCP client

Key features

  • Converts URLs or supplied HTML to clean Markdown
  • Preserves code blocks, tables, and reading structure
  • Runs locally without an API key or account
  • Supports an optional browser bridge for cookies and JavaScript
  • Offers stdio and hosted Streamable HTTP access

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 3d ago

Recent health check succeeded.

6/6 checks healthy over the last 51d

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 6d ago via OSV.dev Β· page2ai-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

npm downloads2.9kPackage downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.

How Page2AI β€” Web to Markdown works

What Page2AI β€” Web to Markdown does

Page2AI β€” Web to Markdown converts web content into Markdown that an MCP client can pass to an LLM. The server accepts either a URL to fetch or HTML supplied directly by the caller. Conversion is performed locally with the Page2AI core package, and the server does not require an account, API key, or telemetry service.

The output is intended for tasks such as reading documentation, extracting structured page content, and giving an agent a cleaner representation than raw HTML. Code blocks retain language hints, tables are preserved, and the document's reading structure is carried into the result.

How it works

Run the server as a stdio process with npx -y page2ai-mcp, then register that command in an MCP client. The client calls page_to_markdown with a URL, or with html and its corresponding url. When HTML is supplied, the server converts that content instead of fetching the URL; the URL provides the base for resolving relative links and is recorded in the result's provenance.

A hosted Streamable HTTP endpoint is also available at https://page2ai-mcp-remote.vercel.app/api/mcp. It uses the same tool and is rate-limited per IP, but URLs sent there are fetched from the author's hosted infrastructure rather than from the local machine.

Setup and configuration

Node.js 20 or newer is required for the local installation. Add the stdio command to a compatible MCP client, or install the downloadable MCP bundle in Claude Desktop. Configuration examples are available for Claude Code, Cursor, VS Code with GitHub Copilot, Codex CLI, Gemini CLI, Windsurf, Zed, Cline, Continue, JetBrains AI Assistant, and LM Studio.

The optional Agent Bridge connects the server to the Page2AI browser extension for pages that need browser cookies or JavaScript. Enable Agent Bridge in the extension, copy its key, and provide that value as PAGE2AI_BRIDGE_KEY to the MCP server. Restart the MCP client after changing the key. Multiple browser keys can be separated by commas.

Tools and capabilities

  • page_to_markdown: fetch a web page by URL or convert caller-supplied HTML into clean Markdown.
  • Preserves code blocks with language information, tables, and reading structure.
  • Supports optional image and frontmatter handling, including through the browser bridge.
  • Resolves relative links against the supplied page URL when converting provided HTML.
  • Returns provenance information when HTML was supplied instead of fetched.

Limitations and notes

Normal server fetches do not send cookies and do not execute page scripts, so authenticated or JavaScript-rendered pages may not produce their complete content. Supplying HTML from Playwright, browser developer tools, or another browser tool avoids a second fetch. The Agent Bridge can instead open eligible HTTP(S) pages in a connected browser tab, but sign-in provider pages and refused URLs fall back to the server fetch behavior.

Local execution keeps URL fetching on the user's machine. The hosted endpoint changes that privacy boundary because its infrastructure performs the fetch. The browser bridge listens on ws://127.0.0.1:3025; only a client with the configured key can use it, and anyone who can read the MCP configuration or browser profile can read that key.

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 or caller-supplied HTML and exposes the `page_to_markdown` tool. It fetches or converts the content locally, producing clean Markdown with preserved structure, tables, and code blocks for LLM context without an API key.

Install it by registering `npx -y page2ai-mcp` as a stdio MCP server in your client. Node.js 20 or newer is required. Claude Desktop can also install the downloadable MCP bundle, while clients such as Cursor, VS Code, and Claude Code have configuration or command-line examples.

Provide HTML captured from a browser tool, or enable the Page2AI extension's Agent Bridge. Supplied HTML is converted without fetching the URL. With the bridge enabled and `PAGE2AI_BRIDGE_KEY` configured, eligible pages can open in a browser with its cookies and scripts.

Yes, it works with Cursor through a standard stdio configuration. Add a `page2ai` server entry using command `npx` and arguments `-y`, `page2ai-mcp` in the global or project `.cursor/mcp.json` file.

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>