@pipeworx/tw-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/tw-law’s. Install: one-click buttons
Connect to just the @pipeworx/tw-law pack
https://gateway.pipeworx.io/tw-law/mcp — only @pipeworx/tw-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 4
Taiwan’s national statutes and the Constitution — full text in Chinese, plus the Ministry of Justice’s own official English translation where one exists — searchable by title, resolvable by exact citation, and readable one provision at a time.
Tools
tw_law_search(query, limit?)— find a law by title keyword, Chinese or English (“個人資料保護法”, “Personal Data Protection”, “民法”).tw_law_info(pcode?, name?)— a law’s full metadata: level, category, official English title if any, repeal status, the last amendment date and the date that amendment takes/took legal effect as SEPARATE fields, and the promulgation history (Chinese, and English when translated).tw_law_toc(pcode?, name?, offset?, limit?)— a law’s chapter/section structure and article numbers, paged.tw_law_article(pcode?, name?, article)— one article’s full text, Chinese plus the official English translation when the Ministry has published one, labelledofficial.
Auth
Keyless.
Data sources
- Taiwan Ministry of Justice, Laws & Regulations Database (全國法規資料庫) — the Chinese text of every national statute and the Constitution, plus the Ministry’s own official English translations for the subset it has translated (973 of 1,351 laws as of the 2026-10-15 load).
The source publishes its whole catalog only as two bulk exports (Chinese,
English), never a per-law or per-article live route — confirmed 2026-10-15.
Per Bruce’s 2026-09-23 local-copy ruling, this pack reads from a D1 copy
loaded by scripts/tw-law/load-data.mjs, refreshed by re-running that
script. data_as_of on every response is when that load last ran.
Licence: 政府資料開放授權條款-第1版 (Government Open Data Licence v1), the
licence the source’s own data-reuse declaration
(law.moj.gov.tw/Service/Copyright.aspx) names — free, non-exclusive,
re-licensable, and explicitly permits reproduction, adaptation and public
transmission (a mirror, not only a live proxy), conditioned on citing the
source. Every response carries source.
English translations are tied to the exact Chinese version
Chinese and English are two separate bulk exports from the same publisher,
joined by this pack’s loader at load time, by law title and then by article
number (normalizing “第 6-1 條” / “Article 6-1” / “6-1” to the same key) —
never machine-translated, never guessed. An article with no official
translation returns eng_content: null and
has_official_english_translation: false rather than a translation that
doesn’t exist. A law can gain or lose an official translation between loads;
tw_law_info/tw_law_search report has_official_english_translation as of
the current data_as_of.
Notes
tw_law_searchis a TITLE search — it will not find a law by a phrase that appears only inside an article’s text.- Article numbering is not always contiguous: amendments can delete an
article or insert a sub-article (“第 1-1 條” after “第 1 條”). Use
tw_law_tocto see a law’s real article numbers rather than assuming 1..N. effective_dateandlast_amended_dateare tracked separately because Taiwanese statutes are routinely amended on one date and brought into force on another (sometimes “date to be set later by the Executive Yuan” — surfaced aseffective_date_pending: true, with the fulleffective_noteexplaining which provisions are affected).
Tools
- tw_law_search — Find a Taiwan law by title (Chinese or English).
- tw_law_info — One Taiwan law’s metadata: level, category, amendment vs. effective dates, repeal status, promulgation history.
- tw_law_toc — A Taiwan law’s chapter structure and article numbers, paged.
- tw_law_article — One article of a Taiwan law, Chinese plus the official English translation when one exists.
Tools
tw_law_article— One article of a Taiwan law, Chinese plus the official English translation when one exists.tw_law_info— One Taiwan law's metadata: level, category, amendment vs. effective dates, repeal status, promulgation history.tw_law_search— Find a Taiwan law by title (Chinese or English).tw_law_toc— A Taiwan law's chapter structure and article numbers, paged.