# unblink

unblink is an MCP server that turns web pages into structured Markdown for agents without requiring a browser.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: ChristopherDavenport
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ChristopherDavenport/unblink
- Updated: 2026-07-31
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/unblink

## What it does

unblink fetches a page, parses HTML5, runs its JavaScript against a hand-rolled DOM, strips everything meant for human eyes (nav, ads, trackers), and hands the agent clean Markdown within a token budget. A news portal with mega-menus and sidebars fits in ~300 tokens instead of the ~26,000 a Chromium-based tool emits. With no browser engine, the server weighs 27 MB on disk and cold-starts in ~18 ms.

It ships 18 tools: reading, navigation, sessions, forms, structured data extraction, schema extraction, and search. The server runs JavaScript by default (`--disable-js` to opt out), supports loading a WebExtension like uBlock Origin Lite for ad blocking. Page content is fenced as untrusted: hidden instructions planted in HTML do not leak to the agent, image-beacon URLs turn into inert text.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add unblink -- docker run -i --rm ghcr.io/christopherdavenport/unblink:0.24.0
```

### Codex

**Platform CLI**
```bash
codex mcp add unblink -- docker run -i --rm ghcr.io/christopherdavenport/unblink:0.24.0
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "unblink": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/christopherdavenport/unblink:0.24.0"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "unblink": {
            "type": "stdio",
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "ghcr.io/christopherdavenport/unblink:0.24.0"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add unblink docker run -i --rm ghcr.io/christopherdavenport/unblink:0.24.0
```

## When to use it
- fetch page content as Markdown within a token budget
- extract structured data schema from a page
- research the web without installing Chromium
- block ads and trackers via WebExtension
- fence web content against HTML injection

## Example prompts
- Read the article at this URL and reduce it to 500 tokens
- Extract the JSON-LD schema from the homepage
- Fetch the page with JavaScript enabled and return Markdown

## Similar
- [defuddle](https://affpapa.org/en/nevibecode/skills/defuddle.md) — skill · 76500 installs
- [Compress.new](https://affpapa.org/en/nevibecode/mcp/compressnew.md) — MCP server · 1568 installs
- [scrape](https://affpapa.org/en/nevibecode/skills/brightdata-scrape.md) — skill · 11100 installs
- [firecrawl-scrape](https://affpapa.org/en/nevibecode/skills/parcadei-firecrawl-scrape.md) — skill · 495 installs
- [save-md](https://affpapa.org/en/nevibecode/skills/save-md.md) — skill · 367 installs
- [crawl4ai](https://affpapa.org/en/nevibecode/skills/crawl4ai.md) — skill · 1200 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
