Taiwan Legal Evidence Gatewayfor AI Agents
An open-source Model Context Protocol (MCP) server bridging modern AI agents with Taiwan statutory laws, Judicial Yuan court decisions, Constitutional Court rulings, and bilateral treaties. Features a 4-Tier Authority Hierarchy, Pre-Packaged AI Tool Routing, Objective Claim Verification, and 12,611 curated entries spanning 25 years.
Zero Synthetic Dockets & Anti-Hallucination Gateways
AI agents hallucinating fake case numbers in legal analysis causes catastrophic failures. This gateway strictly decouples synthetic conceptual prototypes from authentic Judicial Yuan court dockets.
Authentic Docket Decoupling
Conceptual prototypes are explicitly labeled as practice_prototype with simulated case numbers removed. Agents are prevented from calling real court endpoints with fictitious docket numbers.
1,470 Live FJUD Court Expansions
Expanded with authentic court rulings from the Judicial Yuan across 7 key commercial themes (+210 items each), anchoring statutory analysis with real judicial holding excerpts.
Temporal Consistency Verification
All decision dates, statutory amendments, and appellate timelines are validated against the official Judicial Yuan gazette calendar.
Upstash Vector Semantic Indexing
Over 9,147 vector chunks indexed with SHA-256 fingerprinting for sub-second semantic retrieval across all 11 business domains.
Seamless AI Tool Chaining
Every record in the knowledge base is packaged with ready-to-execute toolRouting parameters, enabling connected LLMs to invoke downstream official verification tools with zero prompt engineering.
{
"id": "FIN_AI-0001",
"type": "statute",
"title": "Financial Consumer Protection Act §7 (Fair Customer Treatment & Fiduciary Duty)",
"sourceUrl": "https://law.moj.gov.tw/Law/LawSearchResult.aspx?ty=ONEBAR&kw=%E9%87%91%E8%9E%8D%E6%B6%88%E8%B2%BB%E8%80%85%E4%BF%9D%E8%AD%B7%E6%B3%95%20%E7%AC%AC7%E6%A2%9D",
"referenceStatus": "REFERENCE_ONLY_VERIFY_OFFICIAL",
"advisoryNotice": "[AI Advisory] For reference and issue spotting only. Query official gazettes for current status.",
"officialVerification": {
"recommendedTool": "get_law_article",
"searchQuery": "Financial Consumer Protection Act Article 7",
"targetAuthority": "Ministry of Justice Laws & Regulations Database",
"sourceUrl": "https://law.moj.gov.tw/Law/LawSearchResult.aspx?ty=ONEBAR&kw=%E9%87%91%E8%9E%8D%E6%B6%88%E8%B2%BB%E8%80%85%E4%BF%9D%E8%AD%B7%E6%B3%95%20%E7%AC%AC7%E6%A2%9D"
},
"toolRouting": {
"primaryTool": "get_law_article",
"toolArguments": {
"lawName": "金融消費者保護法",
"articleNo": "7"
}
}
}12,611 Verified Records Across 25 Years
Curated and audited by Sam Huang, covering vital Taiwan commercial compliance, trade secrets, employment, fintech, and cross-border agreements.
NDAs & Trade Secrets
Reasonable secrecy measures (objective standard, non-airtight principle), duration reasonableness (5-yr vs perpetual), post-employment non-compete monthly compensation (Labor Standards Act §9-1), judicial reduction of liquidated damages (Civil Code §252), residual memory defense, and confidentiality protective orders.
Labor & Employment
Labor Standards Act §11(5) 'incompetence' dismissal as last resort, 5 principles of job reassignment (§10-1), 4 statutory criteria for post-employment non-compete (§9-1), severance & involuntary separation certificate, misclassified manager overtime pay back-pay, and provisional employment injunctions (Labor Incident Act §49).
Tech Industry & National Security
National Security Act 'National Core Critical Technologies' trade secret leakage (5 to 12 years imprisonment), semiconductor IC layout protection, patent doctrine of equivalents, viral open-source GPL compliance, Personal Data Protection Act §28 damages, AI training fair use, and SaaS data breach liabilities.
Workplace Sexual Harassment
2024 Gender Equality in Employment Act amendments: 1–5x punitive damages for authority-based harassment (§27-1), employer statutory duty for immediate corrective & remedial measures upon knowledge (§13), heavy administrative penalties for top executives (§38-2), 2-year statute of limitations, and joint employer liability.
Fintech & AI Regulations
Financial Consumer Protection Act fair treatment & suitability (KYC), Banking Act §29-1 illegal fundraising presumption, Fintech Regulatory Sandbox Act, VASP virtual asset AML registration & segregated asset custody, FSC Financial AI 6 Core Principles, Executive Yuan GenAI Guidelines, and robo-advisory algorithm liabilities.
Commercial Contracts & Distribution
Exclusive distributorship termination & inventory repurchase obligations, franchise pre-contractual mandatory disclosure (Fair Trade Commission rules), non-attributable earnest money return, construction delay penalties (Civil Code §502/§252), and commercial joint guarantor waiver of defense.
Cross-Border Trade & Arbitration
Choice of law autonomy in international commercial transactions (Act Governing the Choice of Law in Civil Matters §20), exclusive international jurisdiction agreements, Incoterms 2020 (FOB/CIF) risk transfer, UN CISG supplementary application, UCP 600 letters of credit independence & fraud exception, and foreign arbitral award recognition in Taiwan.
Corporate Governance & Securities
Director fiduciary duty and duty of care (Company Act §23), director candidate nomination formal review limits (§192-1), Securities Exchange Act §20/§20-1 financial reporting misrepresentation, §157-1 insider trading bright-line points, M&A Act dissenting shareholder fair price appraisal, and shareholder derivative lawsuits (§214).
Workplace Bullying & Safety
Occupational Safety and Health Act §6(2) employer duty to prevent unlawful infringement during duty, managerial abuse of power, cold violence and deliberate isolation, bullying-induced psychiatric illness recognized as occupational injury, 2022 Occupational Accident Insurance Act compensation offsetting, and tort emotional distress damages.
Supply Chain & OEM/ODM
OEM/ODM contract manufacturing defect liability (Civil Code §492), inspection acceptance standards, Take-or-Pay reserved capacity liquidated damages reduction, supply chain material disruption doctrine of changed circumstances, and defect cure remedies.
Fair Trade & Antitrust
Fair Trade Act §19 resale price maintenance prohibition review, §20 exclusive distribution vertical restraints & tying arrangements, §25 deceptive or obviously unfair trade practices, false advertising and commercial disparagement enforcement.
14 Specialized MCP Tools
Designed under the standard Model Context Protocol specification for universal client compatibility.
| Tool Name | Type | Description | Key Parameters |
|---|---|---|---|
search_legal_evidence | UNIFIED | Unified discovery across statutes, court cases, and curated domains with auto-intent routing and deduplication. | query, scenario, types, detailLevel |
verify_legal_claim | VERIFIER | Objective claim verification engine against statutory articles and confirmed court holdings. | claim, jurisdiction, context |
get_law_article | OFFICIAL | Retrieves the exact official text of a specific article (e.g. Civil Code §252, LSA §9-1). | lawName, articleNo |
search_laws | OFFICIAL | Full-text keyword search across Ministry of Justice national laws and regulations. | query, maxResults |
get_law | OFFICIAL | Retrieves statute overview, governing authority, and recent amendment dates. | lawName |
search_judgments | JUDICIAL | Searches Judicial Yuan court decisions by keywords, court level, or year. | query, court, year |
get_judgment | JUDICIAL | Retrieves court decision text, holding reason, and appellate reversal tracking. | caseNumber, court |
search_constitutional_decisions | JUDICIAL | Searches Constitutional Court decisions and Grand Justices interpretations. | query |
get_constitutional_decision | JUDICIAL | Retrieves constitutional ruling syllabus, holding, and substantive reasoning. | decisionNo |
search_treaties | TREATY | Searches bilateral trade and investment agreements (e.g. US-Taiwan 21st Century Initiative). | query |
get_treaty | TREATY | Retrieves treaty text, effective dates, and signatory parties. | treatyId |
search_knowledge_base | VECTOR | Upstash Vector semantic retrieval over curated datasets with source file attribution. | query, topK |
legal_source_status | STATUS | Real-time latency and connectivity diagnostics for legal data providers. | none |
list_capabilities | DISCOVERY | Returns all registered tools, parameter schemas, and server metadata in English or Chinese. | locale ("en" | "zh-TW") |
Programmatic Legal Retrieval Examples
Real responses generated by the gateway for statutory retrieval, case analysis, and claim verification.
[OFFICIAL] Civil Code Article 252 Statutory Text: "If the agreed penalty is disproportionately high, the court may reduce it to a reasonable amount." Authority: Ministry of Justice (MOJ) | Current Enacted Law AI Tool Routing: get_law_article(lawName="民法", articleNo="第252條") Verification Status: VERIFIED (Supported by primary official statute)
[OFFICIAL_JUDICIAL] Supreme Court 79-Tai-Shang-1915 Decision Holding Reason: "In determining whether liquidated damages are excessive, the court shall assess all benefits the creditor would have enjoyed had the debtor performed timely, rather than solely measuring partial harm." AI Tool Routing: get_judgment(sys="V", court="最高法院", year=79, caseType="台上", caseNum=1915) Appellate Status: Confirmed Supreme Court jurisprudence, unreversed
Claim: Civil Code §252 grants courts ex officio discretion to reduce excessive penalties Verification: VERIFIED Reasoning: Directly supported by Ministry of Justice enacted statute. Clear statutory citation with zero negative appellate reversals. Supporting Evidence: [OFFICIAL] Civil Code §252, [OFFICIAL_JUDICIAL] 79-Tai-Shang-1915 Verification Tool: verify_legal_claim(claim="法院得依職權酌減過高違約金", jurisdiction="TW")
Scenario Query: Labor Standards Act §11(5) termination due to incompetence / severance
Category: labor_disputes (Labor & Employment Disputes Database - 2,167 entries)
Landmark Precedent: Supreme Court 111-Tai-Shang-1831 Decision
AI Tool Routing:
primaryTool: "get_judgment"
toolArguments: { "sys": "V", "court": "最高法院", "year": 111, "caseType": "台上", "caseNum": 1831 }
Core Holding: Dismissal is an extreme measure of last resort. Termination without PIP improvement counseling or job reassignment violates the law.Connect in Seconds
Compatible with Claude Desktop, Cursor, Windsurf, Codex, ChatGPT, or any standard MCP client.
{
"mcpServers": {
"TaiwanLegalEvidence": {
"url": "https://taiwan-law-mcp.sam-huang.info/mcp"
}
}
}