io.github.xo0ps/domstrip-mcp is an MCP server that turn any web page or raw HTML into compact, clean Markdown for AI agents. Its tool list has not been published yet over stdio and http, requires no API key, and scores 61/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"domstrip": {
"env": {
"DOMSTRIP_MCP_API_KEY": "domstrip_<prefix>_<secret>",
"DOMSTRIP_MCP_SERVICE_ORIGIN": "https://api.domstrip.dev"
},
"args": [
"domstrip-mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Turn any web page or raw HTML into compact, clean Markdown for AI agents.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'domstrip-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked domstrip-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in browser / ai-ml
Open-source web scraper for AI agents with scrape, crawl, and map tools
A cross-platform desktop application for managing AI Agents and MCP Servers. 一款用于管理AI智能体与MCP服务器的跨平台桌面应用程序。
Search-first MCP server for JavaScript reverse engineering: 735 tools across 36 domains.
An open-source AI agent that brings the power of Gemini directly into your terminal.
MCP Security Weekly
Get CVE alerts and security updates for io.github.xo0ps/domstrip-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
mcp-name: io.github.xo0ps/domstrip-mcp
A local Model Context Protocol server that converts web pages into clean Markdown, using the DOMStrip API.
It exposes two tools:
| Tool | What it does |
|---|---|
fetch_clean_markdown | Fetch a public http(s) URL and return clean Markdown. |
clean_html | Convert HTML you already have into clean Markdown. No network fetch for the HTML. |
The adapter holds no database or billing state. It authenticates to the DOMStrip service with a key from your local environment -- never from tool arguments -- so an MCP client cannot redirect your key anywhere.
benchmark/ measures it on 1,038 real pages from 74 sites:
84.08% fewer tokens than raw HTML (macro average; median 90.12%), 76.4M HTML
tokens down to 9.8M Markdown. It reproduces from a clean clone and --verify
fails the run if any page's expected content is missing from its output.
The spread is worth reading rather than the headline; that is why three figures are reported. Repositories save 95.81%, articles 82.61%, and a pooled total reads 87.16% because it is dominated by the largest pages. Corpus composition drives this a lot: the same code measured 76.03% on an earlier article-heavy 21-page set.
DOMStrip fetches a public page, removes everything that is not the content (scripts, forms, embeds, hidden nodes, trackers), and returns compact Markdown: headings, paragraphs, fenced code blocks with language hints, and tables.
Pages are fetched with connection-time SSRF validation on every redirect hop — all DNS candidates are validated at connect time, and loopback, private, link-local, metadata, CGNAT and IPv6-embedded forms are refused.
content_not_extractable. There is no headless
browser in this version. If your target pages need JS, this tool will not work on them.pip install domstrip-mcp
# or
uv tool install domstrip-mcp
Requires Python 3.12.
Two environment variables are required. The service origin must be HTTPS; plain HTTP is refused unless it points at localhost (for development) and you opt in explicitly.
export DOMSTRIP_MCP_SERVICE_ORIGIN=https://api.domstrip.dev
export DOMSTRIP_MCP_API_KEY=domstrip_<prefix>_<secret>
| Variable | Required | Default | Purpose |
|---|---|---|---|
DOMSTRIP_MCP_SERVICE_ORIGIN | yes | — | Bare HTTPS origin of the DOMStrip API. |
DOMSTRIP_MCP_API_KEY | yes | — | Your API key. Never logged, never in a repr. |
DOMSTRIP_MCP_CLIENT_BUDGET | no | 25.0 | Total seconds per tool call, including retries. |
DOMSTRIP_MCP_ALLOW_INSECURE_HTTP | no | false | Allow plain HTTP to localhost only. |
The adapter deliberat