@camasuvi/readability-lab-mcp
v0.1.1
Published
MCP server exposing Readability Lab inspection, comparison, recipes and the evidence registry to coding agents.
Readme
@camasuvi/readability-lab-mcp
MCP server (stdio) for Readability Lab: lets an agent measure a page in a real browser, check it against a policy, compare before and after, and look up the evidence behind each rule. Everything runs on your machine with Playwright.
npx playwright install chromium
# Claude Code:
claude mcp add readability-lab -- npx -y @camasuvi/readability-lab-mcp
# Any MCP client: run `npx -y @camasuvi/readability-lab-mcp` as a stdio server.Tools: rl_inspect, rl_check, rl_compare, rl_claims, rl_claim, rl_recipe, rl_rules.
What the server may reach
An agent's instructions can come from untrusted text, so the server limits what a tool call can touch.
- Files: tools read (recipes, policies, reports, local HTML) and write (report folders) only inside the folder the server was started in. Add folders with
--root <dir>(repeatable). - Network: a page being inspected can reach public addresses. A page served from this machine (
localhostor a local file) can also reachlocalhost, so dev servers work. Private-network and link-local addresses, including cloud metadata services, are refused, and so is a public page that redirects to or loads from your machine.--allow-private-networklifts these limits. - The check covers the page, every redirect hop, subresources and WebSockets, and needs Chromium (the default browser).
- A host name is checked when it is resolved; a server that changes its DNS answer between the check and the connection is not defended against.
Reports are written only when a tool is given outDir or out. Nothing is sent to a remote service by the server itself; the inspected page makes its own requests, as in any browser.
Use it with the agent skill.
Node 20 or later. Apache-2.0.
