# Taiwan Legal DB MCP — Search Laws & Judgments > Taiwan Legal DB MCP lets agents search 11,700+ laws and 868 rulings plus full-text judgments, via 8 read-only tools. Verified 107★; setup ~8–15 minutes. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash git clone https://github.com/lawchat-oss/mcp-taiwan-legal-db.git cd mcp-taiwan-legal-db python3 -m venv .venv && .venv/bin/pip install -e . .venv/bin/playwright install chromium # only needed when WAF triggers ``` ## Intro Taiwan Legal DB MCP lets agents search 11,700+ laws and 868 rulings plus full-text judgments, via 8 read-only tools. Verified 107★; setup ~8–15 minutes. **Best for:** Teams who need verifiable Taiwan legal lookups (laws + judgments) inside an agent **Works with:** Any MCP client; Python 3.10+ server; optional Playwright for WAF fallback **Setup time:** 8-15 minutes ### Key facts (verified) - GitHub: 107 stars · 23 forks · pushed 2026-05-13. - License: MIT · owner avatar + repo URL verified via GitHub API. - README-verified entrypoint: `git clone https://github.com/lawchat-oss/mcp-taiwan-legal-db.git && cd mcp-taiwan-legal-db && python3 -m venv .venv && .venv/bin/pip install -e .`. ## Main - Use it for grounded answers: tools query Taiwan official sources (judicial judgments + law database + constitutional court) and return verifiable text. - Leverage offline cache: README states 868 constitutional rulings are served from local JSON for fast retrieval without extra network calls. - Keep it read-only: README emphasizes the server is a wrapper over three public sources and does not send other network requests. ### Source-backed notes - README lists 8 MCP tools covering judgments search/full-text, regulation lookup over 11,700+ laws, and constitutional rulings retrieval. - README says constitutional court content (868 entries) is served from offline JSON cache for instant responses. - README notes a hybrid strategy: default httpx requests (~0.25s) with Playwright fallback to refresh cookies when a WAF triggers. ### FAQ - **Is it read-only?**: Yes — README describes it as a tool wrapper for three public sources, focused on querying and retrieval. - **Do I need Playwright always?**: No — README says Playwright is only used when the judicial WAF is triggered. - **How many tools does it expose?**: README states it registers 8 MCP tools and includes a setup check snippet. ## Source & Thanks > Source: https://github.com/lawchat-oss/mcp-taiwan-legal-db > License: MIT > GitHub stars: 107 · forks: 23 --- ## Quick Use ```bash git clone https://github.com/lawchat-oss/mcp-taiwan-legal-db.git cd mcp-taiwan-legal-db python3 -m venv .venv && .venv/bin/pip install -e . .venv/bin/playwright install chromium # only needed when WAF triggers ``` ## Intro 台湾法律数据库 MCP 让 agent 直连 3 个官方公开库,检索 11,700+ 法规、868 条释字/宪判字,并支持裁判书全文查询与离线快取(共 8 个工具)。已验证 107★;约 8–15 分钟可部署。 **Best for:** 需要把台湾法条/判决的可核对查询接入 agent 的团队 **Works with:** 任意 MCP 客户端;Python 3.10+ server;可选 Playwright 用于 WAF 兜底 **Setup time:** 8-15 minutes ### Key facts (verified) - GitHub:107 stars · 23 forks;最近更新 2026-05-13。 - 许可证:MIT;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中核对过的入口命令:`git clone https://github.com/lawchat-oss/mcp-taiwan-legal-db.git && cd mcp-taiwan-legal-db && python3 -m venv .venv && .venv/bin/pip install -e .`。 ## Main - 适合做“有出处”的回答:工具对接司法院裁判书、法规数据库与宪法法庭,并可回传可核对内容。 - 利用离线快取:README 写明 868 条释字/宪判字从本地 JSON 返回,速度更快且更稳定。 - 保持只读:README 强调只封装三大公开来源,不会发送其他网络请求。 ### Source-backed notes - README 写明共有 8 个 MCP 工具:包含裁判书检索/全文、11,700+ 法规查询,以及释字/宪判字等内容。 - README 表示宪法法庭内容(868 条)来自离线 JSON 快取,可即时返回。 - README 说明混合策略:默认 httpx(约 0.25s),遇到 WAF 会用 Playwright 刷新 cookie 后继续。 ### FAQ - **它是只读的吗?**:是。README 将其定位为三大公开来源的查询/获取工具封装。 - **Playwright 必须装吗?**:不一定。README 说明仅在触发 WAF 时才会用到 Playwright。 - **一共有多少工具?**:README 写明会注册 8 个 MCP 工具,并给出校验脚本。 ## Source & Thanks > Source: https://github.com/lawchat-oss/mcp-taiwan-legal-db > License: MIT > GitHub stars: 107 · forks: 23 --- Source: https://tokrepo.com/en/workflows/taiwan-legal-db-mcp-search-laws-judgments Author: MCP Hub