Tw Law
NPM · @PIPEWORX/MCP-TW-LAW · 2 COMPONENTS
tw-law — Taiwan national statutes and the Constitution, in Chinese plus the Ministry of Justice's…
Available components
Last scanned (23 hours ago)
Scores higher than 61% of npm servers
Category Education and Research
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. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-tw-law). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 5 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability67
- AI-judged instruction clarity (excellent).Pass
- 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. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 4 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 5 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
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.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 30 Oct 26 0
- Security disclosure: unverified → fail ▼ functional
- 29 Oct 26 79
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Nov 2026 · Analysed npm/@pipeworx/mcp-tw-law@0.2.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | pipeworx-io/mcp-tw-law |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/pipeworx-io/mcp-tw-law/.github/workflows/publish.yml@refs/heads/main |
| Rekor log index | 3560590701 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:29b31d67e38d714a6fa484fb5cb9e1627382f1be1a1424962e8ac8495bb724972058685bf5181bfb8b96615151bdcc64e1600824c646c6fa1804e1566 |
Background: How many MCP packages publish verified provenance →
Dependencies 0 packages
| Packages resolved | 0 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
tw_law_article ~215
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.
| Name | Type | Req | Description |
|---|---|---|---|
| article | string | yes | 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). |
No output schema declared.
No examples provided.
tw_law_info ~221
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.
| Name | Type | Req | Description |
|---|---|---|---|
| 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). |
No output schema declared.
No examples provided.
tw_law_search ~174
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.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | – | Max laws to return (1-50, default 10). |
| query | string | yes | Title keyword, Chinese or English, e.g. "個人資料保護法" or "Personal Data Protection Act". |
No output schema declared.
No examples provided.
tw_law_toc ~160
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.
| Name | Type | Req | Description |
|---|---|---|---|
| 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). |
No output schema declared.
No examples provided.
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.
npm · @pipeworx/mcp-tw-law
claude mcp add pipeworx-io-tw-law -- npx -y @pipeworx/mcp-tw-law
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 4 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 4 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.