Page2AI — Web to Markdown
Turn any web page into clean Markdown with one tool, run locally with no API key
- Pricing
- Open source
- Platforms
- CLI, API, self-hosted
- Runs
- Locally
- Version
- 0.10.1
- Listing updated
- 3 days ago
About Page2AI — Web to Markdown
Page2AI — Web to Markdown is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
Page2AI exposes a single tool, page_to_markdown, that fetches a URL (or takes HTML you already hold, up to 10 million characters) and returns Markdown with code-block language hints, tables and reading structure preserved. A free-text query returns only matching sections, scored locally with BM25 rather than an API call, and long pages come back in parts controlled by max_length (default 30,000 characters per part).
A built-in guard blocks private ranges, loopback and cloud metadata addresses. Setting PAGE2AI_BRIDGE_KEY with the Page2AI browser extension (1.6.0 or later) lets pages open in your own signed-in browser instead of being fetched by the server.
It runs as a stdio server through npx, as a command-line tool (npx page2ai ), or through a hosted Streamable HTTP endpoint at page2ai.igorsaevets.com that is narrower (url and query only, public pages, 60 seconds, rate-limited). The author warns that URLs sent to the hosted endpoint pass through infrastructure he operates, so local use is preferred.
Install
Run in a terminal
claude mcp add page2ai-mcp --env PAGE2AI_BRIDGE_KEY='<PAGE2AI_BRIDGE_KEY>' -- npx -y @page2ai/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"page2ai-mcp": {
"command": "npx",
"args": [
"-y",
"@page2ai/mcp"
],
"env": {
"PAGE2AI_BRIDGE_KEY": "<PAGE2AI_BRIDGE_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"page2ai-mcp": {
"command": "npx",
"args": [
"-y",
"@page2ai/mcp"
],
"env": {
"PAGE2AI_BRIDGE_KEY": "<PAGE2AI_BRIDGE_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"page2ai-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@page2ai/mcp"
],
"env": {
"PAGE2AI_BRIDGE_KEY": "<PAGE2AI_BRIDGE_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"page2ai-mcp": {
"command": "npx",
"args": [
"-y",
"@page2ai/mcp"
],
"env": {
"PAGE2AI_BRIDGE_KEY": "<PAGE2AI_BRIDGE_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"page2ai-mcp": {
"command": "npx",
"args": [
"-y",
"@page2ai/mcp"
],
"env": {
"PAGE2AI_BRIDGE_KEY": "<PAGE2AI_BRIDGE_KEY>"
}
}
}
}Configuration
PAGE2AI_BRIDGE_KEYOptional. The key the Page2AI browser extension (1.6.0 or later) shows in its popup under Agent Bridge. With it, pages open in the user's own browser with its cookies; without it, the server fetches pages itself. Several keys: comma-separated.
Tools this server provides (1)
Taken from the project documentation; the running server may differ.
- page_to_markdown
- Fetches a URL or takes HTML and returns Markdown, optionally filtered by a query.
What it does
- Structure-preserving output
- Keeps code blocks with language hints, tables and headings.
- Query filtering
- Returns only the sections matching a free-text query, using local BM25.
- Paging for long pages
- Splits long output into parts with a configurable max_length.
- SSRF guard
- Blocks private ranges, loopback and cloud metadata endpoints.
- Agent Bridge
- Optionally opens pages in your own browser with its cookies.
- CLI and hosted options
- Use npx page2ai, the stdio server or a hosted endpoint.
Good for
- Feed documentation pages to an LLM as compact Markdown
- Pull one relevant section from a long page using a query
- Convert a saved HTML file offline
- Read pages behind a login through your own browser session
Pricing
Open source
Free; hosted endpoint is rate-limited
Prices change. Check igorsaevets.github.io before you buy.
Page2AI — Web to Markdown FAQ
Does it need an API key?
No. The README says no API key, no account and no telemetry.
What Node version is needed?
Node.js 20 or newer.
Is the hosted endpoint private?
No. URLs sent there are fetched from the author's server, so local use keeps everything on your machine.
Which clients are documented?
Claude Code, Claude Desktop, Cursor, VS Code, Codex CLI, Gemini CLI, Windsurf, Zed, Cline and others.
Is Page2AI — Web to Markdown free?
Yes. Page2AI — Web to Markdown is open source, so you can use and self-host it for free.
How do I add Page2AI — Web to Markdown to Claude Code?
Run this command in your terminal: claude mcp add page2ai-mcp --env PAGE2AI_BRIDGE_KEY='<PAGE2AI_BRIDGE_KEY>' -- npx -y @page2ai/mcp
What are the best alternatives to Page2AI — Web to Markdown?
The closest alternatives to Page2AI — Web to Markdown are Scrapling MCP Server, Firecrawl MCP Server, Claude Code Ultimate Guide, SearXNG Search and NeuralVerge.
Alternatives to Page2AI — Web to Markdown

Scrapling MCP Server
MCP serverMCP server for AI clients to scrape sites with HTTP and stealth browser sessions
Runs locally- 17 tools
- Open source
- 104K GitHub stars
- Web search and scraping

Firecrawl MCP Server
MCP serverMCP server that lets AI agents search, scrape and interact with web pages
- 3 tools
- Remote
- Freemium
- 7.8K GitHub stars
- Web search and scraping

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

SearXNG Search
MCP serverMCP server for web search and page reading through a SearXNG instance
Runs locally- 3 tools
- Open source
- 1.4K GitHub stars
- Web search and scraping

NeuralVerge
MCP serverStructured, source-tagged business and people data from 300+ sources for agents
- 200 tools
- Remote
- Free trial
- 1 GitHub star
- Web search and scraping

ASTra
MCP serverLet agents read, edit, validate and undo Word .docx files with exact operations
Runs locally- 5 tools
- Freemium
- Files and documents