Skip to content
Skillpedia
βœ“ Official Β· Aaron Huang (Dr.Legal)● Free and open source☁️ RemoteπŸ”‘ Needs an API keyOther

Taiwan Legal RAG

Lets your AI agent search Taiwan court judgments, laws and administrative rulings, with citation checks.

342 stars on GitHubby Aaron Huang (Dr.Legal)License NOASSERTIONUpdated 20 days ago

How to install

This MCP is remote: it runs in the cloud.

Nothing to install. Copy the address and paste it into your AI app:

Server address

https://tlr.dr-legal.com.tw/mcp
  • β€ΊClaude (site or app): Settings β†’ Connectors β†’ Add custom connector.
  • β€ΊChatGPT: Settings β†’ Apps β†’ Create app (developer mode), and paste the address.
  • β€ΊClaude Code, Cursor, VS Code and Windsurf: pick your app below.

Paste in the terminal:

claude mcp add --transport http tw-legal-rag https://tlr.dr-legal.com.tw/mcp

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Find judgments about unpaid overtime pay and show the key passages.
Look up Article 184 of the Civil Code.

What it is

This hosted server connects your AI agent to Dr.Legal's collection of about 22.8 million Taiwan court judgments, plus laws and administrative interpretations. It only retrieves sources; it does not give legal advice or call any AI model itself. Each bundle of results comes with a list of allowed citations to reduce made-up references.

What it can do

  • Search judgments by meaning or by exact keyword
  • get_judgment_fulltext: read a judgment in full
  • search_bundle: package results with an allowed-citations list
  • get_law_article: look up current law text by name and article
  • Look up administrative rulings by reference number
  • Search administrative rulings by meaning

When to use

  • β€ΊWhen you need to find Taiwan court decisions on a legal question.
  • β€ΊWhen you want to check that a cited judgment or law article really exists.
  • β€ΊWhen you want to see whether a judgment was later overturned on appeal.

What you need

A free Dr.Legal account. You sign in with Google or email when connecting; no API key is needed for the MCP connection.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free?

The readme says it is free and needs no API key. You sign in to a free Dr.Legal account.

Does it give legal advice?

No. It is retrieval only and does not call any AI model or endorse model output.

How do I connect?

Add the endpoint https://tlr.dr-legal.com.tw/mcp to Claude, ChatGPT, Gemini, Cursor or Codex. For Claude Code, use claude mcp add --transport http.

Does the citation check prove my answer is right?

No. A pass only means cited judgment numbers are in the retrieved bundle, not that the legal reasoning is correct.

Are my queries stored?

The readme says queries may be logged and are tied to your account, and are not used to train generative models. Do not send secrets.

Is there a command-line tool too?

Yes. The twlegalrag CLI installs with pip and uses the same backend.

If it does not work

  • β€ΊOn first connect, finish the Dr.Legal sign-in page that opens.
  • β€ΊFor the CLI or REST use, create a connection key at dr-legal.com.tw/mcp/keys and set TWLEGALRAG_TLR_API_KEY.
  • β€ΊVery new judgments may be missing because public data arrives with a delay of a few days.

5 new skills a week. 1 minute to read.