The Standard Library
for the Agentic Web.

Verified MCP tools for AI Agents. Scrape clean markdown, fix broken JSON, and generate PDFs. One command.

Star on GitHub ...
$ pip install protocolbox
scrape(url)
Fetch web pages as token-efficient Markdown. Strips ads, scripts, and clutter automatically.
heal_json(str)
Repair malformed LLM outputs. Fixes trailing commas, missing quotes, and truncated JSON.
generate_invoice(dict)
Create professional PDF invoices instantly from structured data.