# Tw Law (npm · @pipeworx/mcp-tw-law)

tw-law — Taiwan national statutes and the Constitution, in Chinese plus the Ministry of Justice's…

- Trust score: 79/100 (medium)
- Change this week: 0
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- remote · `gateway.pipeworx.io`: 77/100, [markdown](https://verifymcp.io/servers/pipeworx-io-tw-law/tw-law-mcp.md), [page](https://verifymcp.io/servers/pipeworx-io-tw-law/tw-law-mcp)
- npm · `@pipeworx/mcp-tw-law`: 79/100 (this document), [markdown](https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law.md), [page](https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law)

## Channel facts

- Registry: `npm`
- Package: `@pipeworx/mcp-tw-law`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-tw-law).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 6 days ago).
  - Security-disclosure policy not yet verified: we couldn't inspect the source repository.
- **Schema Quality & AI Usability**: 67/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 823 tokens (~205/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the Tw Law MCP server?

Tw Law runs locally as an npm package, launched with npx -y @pipeworx/mcp-tw-law. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add pipeworx-io-tw-law -- npx -y @pipeworx/mcp-tw-law
```

### Cursor

```json
{
  "mcpServers": {
    "pipeworx-io-tw-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-tw-law"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "pipeworx-io-tw-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-tw-law"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add pipeworx-io-tw-law -- npx -y @pipeworx/mcp-tw-law
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pipeworx-io-tw-law": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pipeworx/mcp-tw-law"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add pipeworx-io-tw-law --command npx --arg -y --arg @pipeworx/mcp-tw-law
```

### Hermes

```yaml
mcp_servers:
  pipeworx-io-tw-law:
    command: "npx"
    args: ["-y", "@pipeworx/mcp-tw-law"]
```

### Netclaw

```json
{
  "McpServers": {
    "pipeworx-io-tw-law": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@pipeworx/mcp-tw-law"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add pipeworx-io-tw-law -t stdio -c npx -a -y @pipeworx/mcp-tw-law
```

### Other

```json
{
  "mcpServers": {
    "pipeworx-io-tw-law": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-tw-law"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 79, 0)

- [functional regression] Security disclosure: fail → unverified

### 2026-10-30 (score 79, 0)

- [functional regression] Security disclosure: unverified → fail

### 2026-10-29 (score 79)

First indexed and scored.

## MCP tools (4)

### `tw_law_search` (~174 tokens)

Search Taiwan national statutes and the Constitution by TITLE keyword, Chinese or English — "個人資料保護法", "Personal Data Protection", "民法", "Civil Code". This is a title search, not full-text; it will not find a law by a phrase appearing only inside an article. Returns each match's pcode (for tw_law_info/tw_law_article), Chinese and English titles, law level, category, whether an official English translation exists, and the last amendment date. Source: Taiwan Ministry of Justice, Laws & Regulations Database.

Input parameters:

- `limit` (number): Max laws to return (1-50, default 10).
- `query` (string, required): Title keyword, Chinese or English, e.g. "個人資料保護法" or "Personal Data Protection Act".

### `tw_law_info` (~221 tokens)

Resolve a Taiwan law to its full metadata by pcode (from tw_law_search) or an exact/partial Chinese or English title — the exact-citation step before reading an article. Returns the law's level (法律/憲法), category, official English title if one exists, whether it has been abolished, the LAST AMENDMENT date and the date that amendment TAKES/TOOK LEGAL EFFECT as separate fields (Taiwan statutes can be amended on one date and take effect on another, sometimes "to be set later by the Executive Yuan" — flagged as effective_date_pending), the full promulgation history (in Chinese, and in English when the law has an official translation), and the article count. Source: Taiwan Ministry of Justice, Laws & Regulations Database.

Input parameters:

- `name` (string): Chinese or English law title, exact or partial, used when pcode is not known.
- `pcode` (string): The law's pcode, e.g. "I0050021" (from tw_law_search).

### `tw_law_toc` (~160 tokens)

Table of contents for one Taiwan law: its chapter/section headings and the article number of every provision, in order, paged. Use to browse a law's structure before reading a specific article with tw_law_article, or to enumerate every article number a long law has. Returns has_more and next_offset when the law has more entries than the page size.

Input parameters:

- `limit` (number): Max entries to return (1-500, default 200).
- `name` (string): Chinese or English law title, used when pcode is not known.
- `offset` (number): Pagination offset (default 0).
- `pcode` (string): The law's pcode (from tw_law_search or tw_law_info).

### `tw_law_article` (~215 tokens)

Full text of ONE article (條) of a Taiwan law, by pcode or title plus article number in any spelling — "2", "第 2 條", "Article 2", "第 6-1 條", "Article 6-1". Returns the Chinese text and, when the Ministry has published an official English translation of that law, the official English text of the SAME article, labelled official (never a machine translation) — plus the chapter/section heading it falls under. A long law is never returned whole; use tw_law_toc to find article numbers, and call this once per article.

Input parameters:

- `article` (string, required): Article number, any spelling: "2", "第 2 條", "Article 2", "6-1".
- `name` (string): Chinese or English law title, used when pcode is not known.
- `pcode` (string): The law's pcode (from tw_law_search or tw_law_info).

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law#diagnostics

## Score history

- 2026-11-05: 79
- 2026-11-04: 79
- 2026-11-03: 79
- 2026-11-02: 79
- 2026-11-01: 79
- 2026-10-31: 79
- 2026-10-30: 79
- 2026-10-29: 79

## Common questions

### What is the Tw Law MCP server?

Tw Law is an MCP server listed in the public MCP registry as io.github.pipeworx-io/tw-law. tw-law, Taiwan national statutes and the Constitution, in Chinese plus the Ministry of Justice's… This page covers its npm package (@pipeworx/mcp-tw-law).

### Is the Tw Law MCP server safe to use?

Tw Law scores 79 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Tw Law MCP server expose?

Tw Law exposes 4 tools: tw_law_search, tw_law_info, tw_law_toc, tw_law_article. Their descriptions and schemas cost roughly 770 tokens of context every time the server is loaded.

### Is the Tw Law MCP server still maintained?

Tw Law is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Tw Law MCP server under?

Tw Law declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@pipeworx/mcp-tw-law
- Socket report: https://socket.dev/npm/package/@pipeworx/mcp-tw-law
- Repository: https://github.com/pipeworx-io/mcp-tw-law
- Website: https://pipeworx.io/packs/tw-law
- Changelog RSS feed: https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law.xml
- Changelog JSON feed: https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law.json
- HTML version of this page: https://verifymcp.io/servers/pipeworx-io-tw-law/pipeworx-mcp-tw-law
