taiwan-law-mcp
Taiwan legal research against official sources: statutes (MOJ), court judgments (Judicial Yuan), constitutional interpretations, and legislative history.
What it can do
- Analyze Legal Intent: 將使用者輸入初步分為案例事實、法律問題或引註研究,並標示領域、隱私風險與建議檢索詞。不做法律結論。
- Search Taiwan Laws: 即時查詢法務部全國法規資料庫,回傳官方網址與相關條文。可附修法沿革。回答時必須附上 source_url,並提醒使用者核對最新版本。與其他法規檢索途徑併用時,請以 pcode/法律編號合併去重;無官方識別碼的候選結果不得作為引用依據。
- Search Taiwan Judgments: 即時使用司法院裁判書系統搜尋公開裁判,不保存裁判內容。結果按法院層級排序(最高→高等→地方),每筆含法院、案件類型、日期、案由。查特定案號請用 case_word + case_number(例:114年度上易字第503號 → case_word=上易, case_number=503, year_from=114),不要放進 query。main
What data it sees
Do you need an account
No: the server works without sign-in
Taiwan legal research against official sources: statutes (MOJ), court judgments (Judicial Yuan), constitutional interpretations, and legislative history. 14 tools, every result with official source URLs. Free, no API key.
How to connect
How to connect taiwan-law-mcp to Claude
The server address to paste into Claude settings:
https://taiwan-law-mcp--chyedison.run.tools
- Open Claude (claude.ai or the desktop app).
- Go to Settings → Connectors.
- Click Add custom connector.
- Paste the server address copied below into Remote MCP server URL and click Add.
- In a chat, click + → Connectors and switch the new connector on.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans (Free is limited to one). On Team and Enterprise an organization Owner adds the connector first under Organization settings → Connectors.
Authorization
After you click Add, a sign-in window for the service opens. Sign in with your own account and approve access. Claude never sees your password.
How to connect taiwan-law-mcp to ChatGPT
The server address to paste into ChatGPT settings:
https://taiwan-law-mcp--chyedison.run.tools
- Open ChatGPT in a browser (chatgpt.com). A Plus, Pro, Business, Enterprise or Edu plan is required.
- Turn on developer mode once: Settings → Apps → Advanced settings → Developer mode.
- Open Settings → Connectors and click Create.
- Fill in the form: Name (anything), Description (one line about what the service does), MCP server URL (copy it below).
- Under Authentication choose OAuth if the service requires sign-in, otherwise None. Click Create.
- In a new chat open + → Apps/Connectors and enable the connector.
OpenAI has renamed this section before (Connectors → Apps/Plugins). If the label differs, search settings for "developer mode". On Business/Enterprise workspaces an admin must allow custom connectors first.
Authorization
On first use ChatGPT opens the service's sign-in window. Sign in and approve access.
How to connect taiwan-law-mcp to Cursor
The server address to paste into Cursor settings:
https://taiwan-law-mcp--chyedison.run.tools
Fastest: click Open in Cursor below and confirm the prompt.
Manually:
- In Cursor open Settings → Cursor Settings → MCP and click Add new global MCP server.
- Paste the JSON copied below into
~/.cursor/mcp.json(per project:.cursor/mcp.jsonin the repo root). - Save the file. The server appears in the MCP list; authorize it there if asked.
Authorization
If the service needs sign-in, an authorize button appears next to the server in the MCP list.
Server tool list (14)
Raw names from tools/list. Only developers need these.
| analyze_legal_intent | 將使用者輸入初步分為案例事實、法律問題或引註研究,並標示領域、隱私風險與建議檢索詞。不做法律結論。 |
| search_taiwan_laws | 即時查詢法務部全國法規資料庫,回傳官方網址與相關條文。可附修法沿革。回答時必須附上 source_url,並提醒使用者核對最新版本。與其他法規檢索途徑併用時,請以 pcode/法律編號合併去重;無官方識別碼的候選結果不得作為引用依據。 |
| search_taiwan_judgments | 即時使用司法院裁判書系統搜尋公開裁判,不保存裁判內容。結果按法院層級排序(最高→高等→地方),每筆含法院、案件類型、日期、案由。查特定案號請用 case_word + case_number(例:114年度上易字第503號 → case_word=上易, case_number=503, year_from=114),不要放進 query。main_text 以裁判主文措辭篩選輸贏方(例:「被告應給付」= 被告敗訴、「原告之訴駁回」= 原告敗訴、「上訴駁回」= 維持原審),可與 query 併用。若同時使用語意/概念式檢索工具,建議兩軌並行後以司法院 JID 合併去重,JID 皆命中者優先;沒有 JID 的候選結果僅供瀏覽,不得直接引為法院見解。 |
| get_taiwan_judgment | 依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取(cached/retrieved_at 標示);需最新狀態或裁判疑似已下架時,設 fresh=true 強制向官方重抓。 |
| search_taiwan_regulations | 在 11,700+ 部法規(法律+命令)名稱中做關鍵字搜尋,回傳法規名稱、pcode 與現行/已廢止狀態。離線資料快照,即時回應。 |
| get_taiwan_pcode | 將法規名稱(含常見簡稱如勞基法、個資法)轉換為全國法規資料庫 pcode 代碼,支援模糊比對與建議。 |
| get_taiwan_interpretation | 取得釋字(第 1-813 號)或憲判字(111 年起)內容,來自官方公告文書的本地快照,即時回應。預設回傳字號/日期/爭點/解釋文等精簡層;理由書與意見書需 opt-in:優先用 reasoning_keyword / opinions_keyword 取關鍵字片段(省 token),確有需要才用 include_* 取全文(超過 15000 字會截斷並警告)。 |
| search_taiwan_interpretations | 列舉或全文搜尋釋字與憲判字(搜標題、爭點/案由與理由書全文)。每筆結果帶 case_id,可直接傳給 get_taiwan_interpretation。 |
| get_taiwan_interpretation_citations | 從釋字/憲判字理由書中抽取引用的其他釋字與憲判字字號(往前追溯),可附引用處前後 80 字片段。 |
| get_taiwan_law_progress | 查立法院 LYAPI 取得法律的立法歷程:每個修法提案的提案人、讀會進度、最新狀態、院會日期與官方關係文書連結。補「修法沿革」上游的立法過程(誰提案、審到哪裡)。資料授權 CC-BY-4.0(ly.govapi.tw)。 |
| get_taiwan_law_versions | 查立法院 LYAPI 取得法律歷次制定/修正版本(日期、動作、主提案)。與全國法規資料庫的修法沿革互補。資料授權 CC-BY-4.0。 |
| search_taiwan_bills | 搜尋立法院議案(法律案、預算案等):關鍵字全文(議案名稱/案由/提案人/說明)、提案人、屆期、議案狀態。回傳議案編號、名稱、提案人、狀態與相關法律。資料授權 CC-BY-4.0。 |
| search_moj_interpretations | 在法務部主管法規查詢系統(mojlaw.moj.gov.tw)以關鍵字搜尋行政函釋、法規諮詢意見、法律問題座談等文書,回傳發文字號、日期、要旨與官方網址。涵蓋範圍限法務部主管文書;即時查詢、不保存副本。 |
| get_moj_draft_announcements | 取得法務部主管法規系統的法規草案預告清單(含官方網址);可一併回傳近期法規訊息(修正條文、行政規則發布等)。涵蓋範圍限法務部。 |