aa0101181514 / tw-legal-rag
PublicOpen-source CLI for semantic Taiwan legal judgment retrieval. Search judgments, package them for your own AI (ChatGPT/Claude/Gemini), and run a bundle-level citation check. Bring your own LLM; retrieval-only.
Taiwan Legal RAG is a free tool that helps anyone look up real court decisions in Taiwan and use them with AI assistants for legal research. You search for relevant cases, package them into a bundle with clear citation rules, share the bundle with any AI chatbot, and then run a built-in check to verify the AI actually cited the correct cases from your research instead of making things up. It is designed specifically for retrieval only — it never generates legal advice itself and always reminds users to verify everything and consult real lawyers.
How It Works
You type your legal question in plain language, like asking about overtime pay disputes or car accident liability.
The tool searches through millions of Taiwan court decisions and finds the ones most relevant to your question, showing you the case numbers and brief summaries.
You create a bundle containing the full text of selected cases, numbered citations (J1, J2, etc.), and clear instructions telling the AI to only cite what is in the bundle.
The AI can help you understand the cases using only the provided court decisions as its source material.
Some people copy the AI's answer to share with lawyers or include in documents.
Before trusting any answer, you run a check that confirms the AI only cited cases from your bundle and that its quoted text actually appears somewhere in the court decisions.
You've successfully gathered real court cases, had an AI help explain them, and verified the AI didn't make up citations or misread the rulings.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.