← Back to directory
T

Taiwan Legal Database MCP Server

Community
Query public Taiwan legal data through MCP.
Category
Database #5 of 86
Stars
★ 238 Popular
Transport
stdio (local process)
Runtime
Python
Credentials
No credential needed
License
MIT
Last commit
Tools
26
63FMRS · C

The README documents 26 read-only MCP tools covering Taiwan public legal materials from official and public institution sources. Most data is queried live, while packaged Constitutional Court decisions are available offline. It identifies the server as unofficial, states that results are not legal advice, and describes caching, source limitations, and CAPTCHA handling.

Strongest · Documentation 17/20 Weakest · Reliability 9/20

Reliability
9/20
Security and permissions
13/20
Maintenance
10/20
Documentation
17/20
Setup experience
14/20
Why each score
Reliability 9/20
The README lists 26 tools, dependencies, cache policies, failure scenarios, and health-check instructions, and describes how failures from some sources are reported. However, the supplied material contains no server manifest, source code, CI, or verifiable test results. The MCP initialization and tool-list handshake, agreement between declared tools and behavior, and error handling therefore cannot be confirmed, so the score is a conservative 9.
Security and permissions 13/20
The documentation describes read-only access to public sources, fixed official domains, an allow-list for supplied URLs, and disclosure of local caching, browser cookies, OCR, and external requests. Sources requiring CAPTCHA are disabled by default, and the README acknowledges that some public documents may contain names. These are positive claims that cannot be verified against source code here; credential handling and permission enforcement are also not evidenced. No red-line issue is evidenced by the supplied material.
Maintenance 10/20
The README identifies a maintainer, contact email, GitHub Issues, an MIT code license, and a data update mechanism, while describing maintenance as best-effort. The material provides no release history, commit cadence, dependency update evidence, security reporting process, or issue response record, so the score is 10.
Documentation 17/20
The README gives detailed installation instructions, examples and descriptions for 26 tools, source coverage, cache durations, limitations, CAPTCHA and WAF behavior, troubleshooting, and disclaimers. It also advises checking legal material against official sources. The claims cannot be cross-checked against a manifest or source code, and there is no cost information, compatibility matrix, or verifiable failure-case evidence, so full marks are not justified.
Setup experience 14/20
The README provides PyPI installation plus pipx and uv alternatives, configuration examples for Claude Code, Desktop, Cowork, and generic MCP clients, and notes about browser downloads and extra settings for some sources. It also describes cases requiring local Python, a virtual environment, and Chromium. Without a manifest or verifiable CI/test evidence, a successful connection after installation cannot be confirmed, so the score is 14.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the networkControls a browser

Best for

  • Researchers, legal professionals, and general users who need Taiwan public legal materials through an MCP assistant
  • Read-only research across government and public institution sources

Not for

  • People seeking legal advice, case strategy, or guaranteed complete and current results
  • Users who need authenticated, court-internal, paid, or otherwise non-public data
  • Bulk, high-frequency, automated scraping or building a database from results

Required permissions

  • The user's computer needs network access to the listed government and public institution websites; queries are sent from that computer
  • The server makes read-only requests for public information and stores query caches in the local user data directory
  • Some sources require local Chromium; CAPTCHA-protected sources are disabled by default, and enabling Interior or Health and Welfare sources also requires local OCR dependencies

Risks and side effects

  • This is an unofficial tool with no government authorization or endorsement; website changes, caching, or extraction errors can make results incomplete or inaccurate
  • Some public documents contain unredacted names, and OCR of scanned PDFs may be inaccurate
  • Official English translations may lag behind Chinese amendments; verify effective dates and source status labels
  • CAPTCHA, WAF, JavaScript checks, or website restrictions may cause failed queries; a failure does not mean no records exist
  • Source terms and copyright restrictions still apply, including limits on some literature and exchange rules

Setup

Before you start

Runtime:Python

Other optional settings (2)
MCP_TAIWAN_LEGAL_DB_HOME optional Sets the directory for user data such as the query cache; set it to a preferred local path.
MCP_TAIWAN_LEGAL_DB_ENABLE_CAPTCHA_SOURCES optional Set to 1 to enable sources disabled by default because they require CAPTCHA verification. Check source site rules first; the Ministry of the Interior and Ministry of Health and Welfare sources also require local OCR dependencies.

Install with pip: pip install mcp-taiwan-legal-db. For Claude Code, register it with claude mcp add taiwan-legal-db mcp-taiwan-legal-db --scope user. The README also provides a Claude Desktop mcpServers example using the mcp-taiwan-legal-db command, with cwd and Python module launch settings. Some sources require Chromium, which may be downloaded automatically on first use. Other MCP clients can use the Python module entry point with cwd set to the package directory.

.mcp.json
{"mcpServers":{"taiwan-legal-db":{"command":"mcp-taiwan-legal-db"}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "taiwan-legal-db": {
      "command": "mcp-taiwan-legal-db"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.taiwan-legal-db]
command = "mcp-taiwan-legal-db"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add taiwan-legal-db -- mcp-taiwan-legal-db

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that the MCP client lists the 26 Taiwan legal database tools. You can also ask it to look up Article 184 of the Civil Code and check that it returns regulation data.

Troubleshooting

  1. If startup fails, confirm the package is installed and the client command, Python module, and cwd are configured correctly
  2. For sources requiring a browser, confirm Chromium can be downloaded or is installed in advance
  3. If a source is reported as disabled by default, it requires CAPTCHA handling; use the official URL in the response or follow the documented opt-in setup
  4. If a query times out or verification fails, retry later and do not treat the error as no results
  5. Before citing, check the official text, effective date, source status, case history, and PDF extraction quality

Things to try

Once connected, you can ask your AI assistant things like:

  • Look up Article 184 of the Civil Code of Taiwan.
  • Find Supreme Court judgments about delayed delivery of pre-sale homes.
  • What interpretations has the Ministry of Labor issued about overtime pay?
  • What are typical sentence lengths for repeat theft offenders in Taipei District Court statistics?

Tools 26

search_judgments read-only
Search Judicial Yuan judgments by keyword, case number, court, case type, and year.
get_judgment read-only
Retrieve structured judgment text and case history by JID or URL.
query_regulation read-only
Retrieve specified provisions, a chapter outline, amendment history, or official English text from the national law database.
get_pcode read-only
Resolve a regulation name to its pcode identifier.
search_regulations read-only
Search regulations by name keyword or find regulations promulgated or amended after a date.
get_interpretation read-only
Retrieve a packaged Judicial Yuan interpretation or Constitutional Court decision, with optional reasoning and opinion text.
search_interpretations read-only
Search Judicial Yuan interpretations and Constitutional Court decisions by title, issue, and reasoning text.
get_citations read-only
Find earlier decisions cited by a Constitutional Court decision or later decisions that cite it.
Show 18 more tools
search_agency_interpretations read-only
Search administrative interpretations and review guidelines across multiple official sources.
get_agency_interpretation read-only
Retrieve an administrative interpretation and its source-reported status by result ID.
search_precedents read-only
Search Judicial Yuan legal research records, including resolutions, legal issue discussions, precedents, judicial interpretations, grand chamber rulings, and selected judgments.
get_precedent read-only
Retrieve a precedent record and its annotations by ID.
search_administrative_decisions read-only
Search administrative appeal decisions and decisions or sanctions from quasi-judicial bodies.
get_administrative_decision read-only
Retrieve a decision or sanction text by ID; some PDFs may not yield extractable text.
get_legislative_history read-only
Retrieve prior versions and legislative reasons for a provision, plus the latest amendment process.
search_constitutional_docket read-only
Search pending Constitutional Court cases, scheduled hearings, or cases soliciting amicus submissions.
get_constitutional_case_file read-only
List or retrieve publicly available documents in a Constitutional Court case file.
search_legislative_records read-only
Search Legislative Yuan bills, gazette records, and draft regulations open for comment.
get_legislative_record read-only
Retrieve a bill, gazette record, or draft notice by ID.
search_statistics read-only
Search Judicial Yuan and Ministry of Justice statistics and annual crime reports.
get_statistics read-only
Retrieve a statistics table or report by ID.
get_sentencing_statistics read-only
Retrieve public Judicial Yuan sentencing summaries, including case counts and sentence distributions.
search_legal_literature read-only
Search judicial research reports, journal indexes, government research projects, and open-access legal journals.
get_legal_literature read-only
Retrieve bibliographic details, abstracts, and full text where the source provides it.
search_other_regulations read-only
Search other materials such as local regulations, treaties, and exchange rules.
get_other_regulation read-only
Retrieve specified provisions or the full text of an unnumbered regulation by ID.

Use cases

Search Taiwan court judgments and inspect their full text and case history
Look up statutory provisions, amendment reasons, and official English translations
Search Constitutional Court decisions, agency interpretations, administrative appeals, and legislative records
Retrieve judicial statistics, aggregated sentencing data, and legal literature

Supported clients

Claude Code
Claude Desktop
Claude Cowork
Other MCP-compatible clientsPartial support

Listed from the project's documentation, not tested by this site.

Overview

An unofficial MCP server maintained by LawChat, offering 26 read-only tools for MCP-compatible AI assistants to search public Taiwan legal materials, including court judgments, regulations, Constitutional Court decisions, agency interpretations, precedents, administrative appeals and quasi-judicial decisions, legislative records, statistics, and legal literature. Most sources are queried live when requested; packaged Constitutional Court decisions are available offline. Results are not legal advice and should be checked against the official source before citation.

Similar servers

Source revision 3b8ae3002ba2 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-taiwan-legal-db.svg)](https://followmcp.com/en/servers/mcp-taiwan-legal-db)