MCP 服务器

taiwan-law

tw.org.legaltech/taiwan-law
法律与合规 搜索与研究 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Searches and retrieves Taiwanese laws, judgments, constitutional interpretations, legislative materials, and Ministry of Justice documents with official sources.

analyze_legal_intent
分析台灣法律研究意圖
將使用者輸入初步分為案例事實、法律問題或引註研究,並標示領域、隱私風險與建議檢索詞。不做法律結論。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['text'], 'properties': {'text': {'type': 'string', 'maxLength': 12000, 'minLength': 3, 'description': '使用者的案例事實或法律問題'}}}
get_moj_draft_announcements
法務部草案預告與最新法規訊息
取得法務部主管法規系統的法規草案預告清單(含官方網址);可一併回傳近期法規訊息(修正條文、行政規則發布等)。涵蓋範圍限法務部。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'integer', 'default': 15, 'maximum': 50, 'minimum': 1}, 'include_all_news': {'type': 'boolean', 'default': False, 'description': '一併回傳近期所有法規訊息'}}}
get_taiwan_interpretation
取得大法官解釋/憲法法庭裁判
取得釋字(第 1-813 號)或憲判字(111 年起)內容,來自官方公告文書的本地快照,即時回應。預設回傳字號/日期/爭點/解釋文等精簡層;理由書與意見書需 opt-in:優先用 reasoning_keyword / opinions_keyword 取關鍵字片段(省 token),確有需要才用 include_* 取全文(超過 15000 字會截斷並警告)。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['case_id'], 'properties': {'case_id': {'type': 'string', 'maxLength': 40, 'minLength': 1, 'description': '字號,例如:釋字第748號、釋字748、111年憲判字第1號、111憲判1'}, 'include_opinions': {'type': 'boolean', 'default': False, 'description': '回傳意見書全文'}, 'opinions_keyword': {'type': 'string', 'default': '', 'maxLength': 40, 'description': '在意見書中搜尋關鍵字並回片段'}, 'include_reasoning': {'type': 'boolean', 'default': False, 'description': '回傳理由書全文'}, 'reasoning_keyword': {'type': 'string', 'default': '', 'maxLength': 40, 'description': '在理由書中搜尋關鍵字並回片段(優先於 include_reasoning)'}}}
get_taiwan_interpretation_citations
大法官解釋引用關係
從釋字/憲判字理由書中抽取引用的其他釋字與憲判字字號(往前追溯),可附引用處前後 80 字片段。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['case_id'], 'properties': {'case_id': {'type': 'string', 'maxLength': 40, 'minLength': 1, 'description': '字號,格式同 get_taiwan_interpretation'}, 'include_context': {'type': 'boolean', 'default': False, 'description': '每個引用附上原文片段'}}}
get_taiwan_judgment
取得司法院裁判書
依司法院 JID 取得裁判全文與官方網址。回應得經至多 6 小時邊緣快取(cached/retrieved_at 標示);需最新狀態或裁判疑似已下架時,設 fresh=true 強制向官方重抓。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['jid'], 'properties': {'jid': {'type': 'string', 'maxLength': 180, 'minLength': 8, 'description': '司法院裁判書 JID'}, 'fresh': {'type': 'boolean', 'default': False, 'description': '略過邊緣快取,強制向司法院取得最新內容'}}}
get_taiwan_law_progress
取得法律之立法歷程
查立法院開放資料平台(data.ly.gov.tw 官方直連)取得法律的立法歷程:該法所有修法提案的提案人、連署人、議案狀態與官方關係文書(PDF/DOC)連結。補「修法沿革」上游的立法過程(誰提案、審到哪裡)。資料授權:政府資料開放授權條款第 1 版(與 CC-BY-4.0 相容)。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['law'], 'properties': {'law': {'type': 'string', 'maxLength': 60, 'minLength': 2, 'description': '法律名稱(如:勞動基準法)'}, 'max_bills': {'type': 'integer', 'default': 10, 'maximum': 30, 'minimum': 1, 'description': '回傳提案數上限(依最近會議日期排序)'}}}
get_taiwan_law_versions
取得法律歷次版本
查立法院開放資料平台(官方直連)取得法律的三讀通過紀錄與附帶決議:三讀屆會次、三讀通過條文 PDF、附帶決議內容。涵蓋近年(2023 起)三讀紀錄;完整修正沿革請併用 search_taiwan_laws 查全國法規資料庫。資料授權:政府資料開放授權條款第 1 版。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['law'], 'properties': {'law': {'type': 'string', 'maxLength': 60, 'minLength': 2, 'description': '法律名稱(如:道路交通管理處罰條例)'}, 'limit': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}}}
get_taiwan_pcode
法規名稱轉 pcode
將法規名稱(含常見簡稱如勞基法、個資法)轉換為全國法規資料庫 pcode 代碼,支援模糊比對與建議。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['law_name'], 'properties': {'law_name': {'type': 'string', 'maxLength': 60, 'minLength': 1, 'description': '法規名稱,例如:民法、勞基法、消保法'}}}
search_moj_interpretations
搜尋法務部行政函釋
在法務部主管法規查詢系統(mojlaw.moj.gov.tw)以關鍵字搜尋行政函釋、法規諮詢意見、法律問題座談等文書,回傳發文字號、日期、要旨與官方網址。涵蓋範圍限法務部主管文書;即時查詢、不保存副本。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['keyword'], 'properties': {'limit': {'type': 'integer', 'default': 10, 'maximum': 30, 'minimum': 1}, 'keyword': {'type': 'string', 'maxLength': 60, 'minLength': 2, 'description': '關鍵字(例:消滅時效、借名登記)'}, 'doc_types': {'type': 'array', 'items': {'enum': ['行政函釋', '法規', '法規諮詢意見', '法律問題座談', '聲明異議決定書'], 'type': 'string'}, 'default': ['行政函釋'], 'description': '文書類型(可多選)'}}}
search_taiwan_bills
搜尋立法院議案
搜尋立法院議案提案(官方直連 data.ly.gov.tw):以提案名稱關鍵字、提案人、屆期、議案狀態查詢。回傳議案編號、名稱、提案單位、提案人與連署人、議案狀態與官方關係文書 PDF/DOC 連結。資料授權:政府資料開放授權條款第 1 版。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'term': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': '屆期(例:11)'}, 'limit': {'type': 'integer', 'default': 10, 'maximum': 50, 'minimum': 1}, 'keyword': {'type': 'string', 'default': '', 'maxLength': 60, 'description': '關鍵字(例:勞動基準法、最低工資)'}, 'proposer': {'type': 'string', 'default': '', 'maxLength': 20, 'description': '提案人姓名'}, 'bill_status': {'type': 'string', 'default': '', 'maxLength': 20, 'description': '議案狀態(例:交付審查、三讀)'}}}
search_taiwan_interpretations
搜尋大法官解釋/憲判字
列舉或全文搜尋釋字與憲判字(搜標題、爭點/案由與理由書全文)。每筆結果帶 case_id,可直接傳給 get_taiwan_interpretation。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'deep': {'type': 'boolean', 'default': False, 'description': '同時全文搜尋理由書(較慢);預設僅搜字號/標題/爭點索引'}, 'year': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': '篩選民國年度(僅憲判字),0=不篩選'}, 'keyword': {'type': 'string', 'default': '', 'maxLength': 40, 'description': '關鍵字(標題/字號/爭點/理由書全文匹配),例如:集會自由'}, 'number_to': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': '截止號次(含),0=不篩選'}, 'include_new': {'type': 'boolean', 'default': True, 'description': '包含新制憲判字'}, 'include_old': {'type': 'boolean', 'default': True, 'description': '包含舊制釋字'}, 'max_results': {'type': 'integer', 'default': 30, 'maximum': 100, 'minimum': 1}, 'number_from': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': '起始號次(含),0=不篩選'}}}
search_taiwan_judgments
搜尋司法院公開裁判
即時使用司法院裁判書系統搜尋公開裁判,不保存裁判內容。結果按法院層級排序(最高→高等→地方),每筆含法院、案件類型、日期、案由。查特定案號請用 case_word + case_number(例:114年度上易字第503號 → case_word=上易, case_number=503, year_from=114),不要放進 query。main_text 以裁判主文措辭篩選輸贏方(例:「被告應給付」= 被告敗訴、「原告之訴駁回」= 原告敗訴、「上訴駁回」= 維持原審),可與 query 併用。若同時使用語意/概念式檢索工具,建議兩軌並行後以司法院 JID 合併去重,JID 皆命中者優先;沒有 JID 的候選結果僅供瀏覽,不得直接引為法院見解。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'court': {'type': 'string', 'maxLength': 30, 'description': '法院名稱,例如:最高法院、臺灣臺北地方法院'}, 'limit': {'type': 'integer', 'default': 10, 'maximum': 50, 'minimum': 1}, 'query': {'type': 'string', 'default': '', 'maxLength': 128, 'description': '全文檢索關鍵字,例如:預售屋 遲延交屋'}, 'year_to': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': '截止年度(民國年)'}, 'case_type': {'enum': ['民事', '刑事', '行政', '懲戒'], 'type': 'string'}, 'case_word': {'type': 'string', 'maxLength': 10, 'description': '字別,例如:台上、上易、重訴'}, 'main_text': {'type': 'string', 'maxLength': 60, 'description': '裁判主文關鍵字(輸贏方篩選)'}, 'year_from': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': '起始年度(民國年)'}, 'case_number': {'type': 'string', 'maxLength': 15, 'description': '案號數字'}}}
search_taiwan_laws
查詢台灣現行法規
即時查詢法務部全國法規資料庫,回傳官方網址與相關條文。可附修法沿革。回答時必須附上 source_url,並提醒使用者核對最新版本。與其他法規檢索途徑併用時,請以 pcode/法律編號合併去重;無官方識別碼的候選結果不得作為引用依據。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['query'], 'properties': {'fresh': {'type': 'boolean', 'default': False, 'description': '略過邊緣快取,強制向官方資料庫取得最新內容(例如剛公布的修正條文)'}, 'limit': {'type': 'integer', 'default': 3, 'maximum': 5, 'minimum': 1}, 'query': {'type': 'string', 'maxLength': 120, 'minLength': 2, 'description': '法規名稱或法律爭點,例如:個人資料保護法 蒐集。支援常見簡稱(勞基法、個資法…)'}, 'article_number': {'type': 'string', 'maxLength': 20, 'description': '可選條號,例如 19 或 247-1'}, 'include_history': {'type': 'boolean', 'default': False, 'description': '附上修法沿革(歷次公布/修正紀錄,來自本地官方資料快照)'}}}
search_taiwan_regulations
搜尋法規名稱
在 11,700+ 部法規(法律+命令)名稱中做關鍵字搜尋,回傳法規名稱、pcode 與現行/已廢止狀態。離線資料快照,即時回應。
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['keyword'], 'properties': {'offset': {'type': 'integer', 'default': 0, 'maximum': 9007199254740991, 'minimum': 0, 'description': '分頁偏移,每頁 50 筆'}, 'keyword': {'type': 'string', 'maxLength': 40, 'minLength': 1, 'description': '搜尋關鍵字,例如:勞動、消費、智慧財產'}, 'exclude_abolished': {'type': 'boolean', 'default': False, 'description': '排除已廢止法規'}}}
已添加
get_moj_draft_announcements
2026年9月17日 12:55
已添加
search_moj_interpretations
2026年9月17日 12:55
已添加
search_taiwan_bills
2026年9月17日 12:55
已添加
get_taiwan_law_versions
2026年9月17日 12:55
已添加
get_taiwan_law_progress
2026年9月17日 12:55
已添加
get_taiwan_interpretation_citations
2026年9月17日 12:55
已添加
search_taiwan_interpretations
2026年9月17日 12:55
已添加
get_taiwan_interpretation
2026年9月17日 12:55
已添加
get_taiwan_pcode
2026年9月17日 12:55
已添加
search_taiwan_regulations
2026年9月17日 12:55
已添加
get_taiwan_judgment
2026年9月17日 12:55
已添加
search_taiwan_judgments
2026年9月17日 12:55
已添加
search_taiwan_laws
2026年9月17日 12:55
已添加
analyze_legal_intent
2026年9月17日 12:55