Markdown Tools
live UtilityConvert Markdown to plain text, extract links, and extract the heading outline. Regex-based, keyless, offline.
Tools
markdown_to_text Convert Markdown to readable plain text (keyless, offline): strips headings, emphasis, code fences, and turns links/images into their text/alt. Ideal for de-formatting Markdown.
No parameters required.
Try it
extract_links Extract all Markdown links [text](url) (and bare autolinks) as {text, url} pairs (keyless, offline).
No parameters required.
Try it
extract_headings Extract the ATX heading outline (# … ######) as {level, text} entries (keyless, offline).
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/markdown/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/markdown/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"markdown_to_text","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("markdown_to_text", {}); // Or ask in plain English:
const answer = await px.ask("convert markdown to plain text, extract links, and extract the heading outline");