vn_law_search

Pack: vietnam-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/vn_law_search for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
querystringyesVietnamese title words, a document number such as “91/2025/QH15”, or keyword, e.g. “luật đất đai”
limitnumbernoMax results to return (default 20, max 100)

Example call

Arguments

{
  "query": "bảo vệ dữ liệu cá nhân",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/vietnam-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"vn_law_search","arguments":{"query":"bảo vệ dữ liệu cá nhân","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('vn_law_search', {
  "query": "bảo vệ dữ liệu cá nhân",
  "limit": 5
});

Response shape

FieldTypeDescription
querystring
countnumber
resultsarray
more_availableboolean
sourcestring
data_as_ofstring
empty_reasonstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "issued": {
            "type": [
              "string",
              "null"
            ]
          },
          "attachments": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "more_available": {
      "type": "boolean"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "empty_reason": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the vietnam-law pack
{
  "mcpServers": {
    "vietnam-law": {
      "url": "https://gateway.pipeworx.io/vietnam-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 14, 2026