MCP server exposing 2 tools for south-africa-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/south-africa-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
za_law_search — Search South African Acts of Parliament by title or subject words, e.g. "expropriation", "national health" or "cybercrimes". Matching is full-text over the Government's Act pages, so results are Acts whose title or summary mention the words, most relevant first. Returns id, title, Act number and year ("Act 13 of 2024"), Government Gazette number and a link; 30 per page, next_page says whether to continue. Each Act is as published in the Government Gazette (not a consolidation). National Acts only, not provincial legislation or regulations. Pair with za_law_get.za_law_get — Fetch one South African Act by id from za_law_search (e.g. "acts/expropriation-act-13-2024-english-sepedi-24-jan-2025"). Returns title, Act number and year, the Government's summary of what the Act does, the commencement statement where the page gives one, the gazetted PDF link(s) and, when the PDF has a readable text layer, the text (capped at max_chars; use offset to read on). The site states no in-force flag, so status is null. Recent gazette PDFs often lose letters in text extraction; when that is detected the text is withheld with an empty_reason rather than returned corrupted, and the PDF link is the authoritative text.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/south-africa-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io