Tw Legal Rag MCP server
Citation-guarded retrieval over 22M Taiwan court judgments and administrative interpretations
320 stars
Reviews
Write oneNobody has reviewed Tw Legal Rag yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Tw Legal Rag tools
Tool list not cached yet. `describe` through the gateway fetches it live.
Public scan report
scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 760ms (auth required)20/20
- –Tool poisoningtools not inspected (endpoint requires auth); not countedn/a
- Auth qualityOAuth resource metadata advertised on 40115/15
- Maintenancelast push 7 days ago15/15
- Maintainer identityregistry namespace matches repository owner6/10
What the publisher says
From the Tw Legal Rag repository's README, as published. We do not edit it. Read it on GitHub
Taiwan Legal RAG:台灣法律 MCP 伺服器與 CLI(twlegalrag)
🌐 Language / 語言 / 言語
繁體中文 ・ English ・ 日本語
免費、免註冊、免 API key 的台灣法律 MCP 伺服器:在 Claude、ChatGPT、Gemini CLI、Microsoft 365 Copilot、Codex、Cursor 加入
https://tlr.dr-legal.com.tw/mcp 一個網址,AI 助理就能直接語義檢索 2,250 萬筆台灣裁判書、
行政函釋與憲法法庭裁判,逐筆附引用查核。另提供同一後端的公開原始碼 CLI(twlegalrag)。
Free, no-signup, no-API-key Taiwan legal MCP server + source-available CLI, backed by
Legal Detective's 22M-judgment semantic retrieval infrastructure.
Taiwan Legal RAG CLI retrieves Taiwan court judgments from Legal Detective's public TLR endpoint and packages them for use with your own AI tools. It does not generate legal advice, does not call any LLM, and does not guarantee semantic faithfulness of third-party model outputs. Its built-in citation check only verifies whether cited judgments belong to the retrieved bundle.
作者:黃思齊(Aaron Huang)律師,法律偵探/Dr.Legal 創辦人(個人介紹)。
繁中:Taiwan Legal RAG CLI 是一個公開原始碼命令列工具,連接法律偵探建置的 2,250 萬筆 台灣裁判語義檢索服務(22,578,975 筆,截至 2026-09-13),讓你能用自然語言搜尋判決,並將檢索結果帶入自己的 AI 工具使用。
資料涵蓋(統計截至 2026-09-13,取自 production 資料庫)
一、法規範(依法位階)
二、裁判與裁決
三、輔助資料
法規範與裁判之取用方式:裁判書、行政規則走 hosted MCP 的語義檢索與字號精確查詢; 憲法、法律、法規命令於 dr-legal.com.tw 站上檢索。
裁判書為每日增量同步(司法院公開資料釋出有數日時差,極新宣判的裁判請以官網為準)。 以上數字直接取自 production 資料庫並標註統計日,非估計值。
裁判書明細(依法院層級/案件類別)
行政規則發布機關明細(90 個機關,統計日 2026-09-13)
(機關名稱依函釋原始發文機關記載,含已改制機關之歷史名稱,如「行政院環境保護署」 「前司法行政部」;改制前後分列、不合併,以保留原始發文脈絡。)
為什麼不一樣
這不是一般關鍵字判決搜尋工具。背後連到的是法律偵探長期建置的 TLR 檢索服務:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Install directly
claude mcp add --transport http tw-legal-rag https://tlr.dr-legal.com.tw/mcp
Tw Legal Rag: common questions
- Is Tw Legal Rag MCP server safe?
- Yes, by our scan: it is graded A (93/100). Read the Tw Legal Rag safety report
- How do I install Tw Legal Rag?
- It runs remotely at tlr.dr-legal.com.tw. Add it to Claude Code, Claude Desktop or Cursor with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Tw Legal Rag need an API key?
- No key to paste: it signs you in with OAuth when your client connects.
- Is Tw Legal Rag maintained?
- The last commit was 8 days ago (2026-09-13). The latest release is v2.3.0.
- Is Tw Legal Rag up?
- 100% of our last 5 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Tw Legal Rag?
- Servers from other publishers that do the same job: haiku.rag MCP server, PDF MCP server and Minirag MCP server. Compare all Tw Legal Rag alternatives.
Alternatives to Tw Legal Rag
Same job from other publishers: the closest match first, then the best rated.
- haiku.ragLocal-first agentic RAG with citations - hybrid search, reranking, multimodal document retrievalnot reviewedEstablishedA
- PDFAgentic RAG over one PDF or a whole folder: hybrid search, selective page reads, tables, OCR.not reviewedEstablishedA
- MiniragLocal-first RAG MCP server: hybrid search over a folder of your own documentsnot reviewedGrowingA
- Local RagEasy-to-setup local RAG server with minimal configurationnot reviewedEstablishedA
- MockserverMock, record/replay, verify and chaos-test any HTTP, REST, gRPC or LLM dependency over MCP.not reviewedEstablishedA