# Cổng Luật Việt

> Vietnamese law: search documents, check legal effect, read articles, verify citations.

- name: vn.congluatviet/phap-luat
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 82/100 flags: no-repository
- quality: 94/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/vn.congluatviet%2Fphap-luat
- tools: https://api.protogrid.dev/v1/servers/vn.congluatviet%2Fphap-luat/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "phap-luat": {
      "type": "http",
      "url": "https://congluatviet.vn/mcp",
      "headers": {
        "Authorization": "Bearer ${PHAP_LUAT_TOKEN}"
      }
    }
  }
}
```

Placeholders to fill: `${PHAP_LUAT_TOKEN}`.

## Trust

- hygiene: 80
- liveness: 99
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-98% +updated-13d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 94/100 (strong)

### protocol: 100 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- pass `protocol.list_ttl`: tool list is cacheable (ttlMs 3600000)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 4 of 4 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: tra_van_ban (destructiveHint, idempotentHint); kiem_trich_dan (destructiveHint, idempotentHint); tim_kiem (destructiveHint, idempotentHint); …
- pass `tools.token_cost`: about 568 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`, `stability.new_links`: tool history recorded for 2 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 4, about 568 tokens to load them all
- tool set hash: c6aa46edc8cd77823ec0e91bf26418bf
- badge: [![protogrid quality](https://protogrid.dev/badge/vn.congluatviet/phap-luat.svg)](https://protogrid.dev/servers/vn.congluatviet/phap-luat)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

_No changes to tool, prompt or resource template definitions recorded._

## Remotes

- https://congluatviet.vn/mcp (streamable-http, auth none, reachable true, uptime30d 0.98)

## Packages

_none_

## Tools (4)

- `doc_dieu`: Nguyên văn một điều của một văn bản, kèm hiệu lực văn bản và số lần điều đó đã bị sửa đổi. Dùng khi cần trích chính xác câu chữ của luật thay vì nhớ lại.
- `kiem_trich_dan`: Dán một văn bản tiếng Việt (bài viết, hợp đồng, công văn…); công cụ tìm mọi chỗ viện dẫn ("Điều N + tên hoặc số hiệu văn bản") rồi đối chiếu từng chỗ: điều đó có tồn tại không, văn bản còn hiệu lực không, điều đã bị sửa đổi chưa và từ ngày nào, kèm câu mở đầu của điều và liên kết nguồn. Cần khoá tài khoản Cổng Luật Việt (header Authorization: Bearer); mỗi chỗ viện dẫn hoặc số hiệu tính một lượt.
- `tim_kiem`: Tìm trong kho văn bản quy phạm pháp luật Việt Nam (luật, nghị định, thông tư…). Nhận từ khoá, tên văn bản, số hiệu, hoặc câu dạng "điều 468 bộ luật dân sự 2015". Trả văn bản và điều khớp kèm tình trạng hiệu lực, guid và liên kết congluatviet.vn.
- `tra_van_ban`: Tình trạng hiệu lực, ngày ban hành, ngày có và hết hiệu lực, số điều của MỘT văn bản. Ưu tiên truyền `guid`; `so_hieu` có thể trùng nhiều văn bản, khi đó trả danh sách để chọn.
