MCP server exposing 2 tools for vietnam-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/vietnam-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
vn_law_search — Search Vietnamese national legal documents (Constitution, laws, ordinances, resolutions, decrees, decisions, circulars) on the Government Portal by title or keyword in Vietnamese, e.g. "bảo vệ dữ liệu cá nhân" or "Bộ luật Lao động". Returns document id, number (e.g. 91/2025/QH15), title, issue date, and attachment link; newest first, up to `limit` (default 20, max 100). Pair with vn_law_get for the effective date and text. Vietnamese keywords work best; diacritics are required.vn_law_get — Fetch one Vietnamese legal document by id from vn_law_search (e.g. "214590" for Luật Bảo vệ dữ liệu cá nhân) or by its number (e.g. "91/2025/QH15"). Returns type, issuing body, signer, issue date, effective date, an effective-date-based status (the system does not track repeal or amendment, so "effective" means the date has passed, not that the text is unamended), and the attachment link. Text is returned only when the signed PDF attachment has a text layer; the major laws and decrees are published as scanned images, for which text is null with empty_reason (no OCR). Pass article (e.g. "8") for one Điều only; otherwise text is capped at max_chars. Word-format attachments are returned as a link without text.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/vietnam-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io