html_to_text
Pack: htmltext · Endpoint: https://gateway.pipeworx.io/htmltext/mcp
Convert HTML to readable plain text (keyless, offline): drops scripts/styles/comments, converts block elements to newlines, decodes entities, and collapses whitespace. Ideal for cleaning scraped HTML.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
html | string | yes | The HTML to convert. |
Example call
curl -X POST https://gateway.pipeworx.io/htmltext/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"html_to_text","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"htmltext": {
"url": "https://gateway.pipeworx.io/htmltext/mcp"
}
}
}
See Getting Started for client-specific install steps.