Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

Legislative Yuan

PYPI · LYMCP

Model Context Protocol server for Taiwan Legislative Yuan API v2.

Available components

−4 this week 79 Trust /100

Last scanned (18 hours ago)

Scores higher than 78% of PyPI servers

Category Education and Research

Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security99
  • No malware found by supply-chain analysis.Pass
  • Known CVEs were checked across the 43 of 44 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Dependency health was assessed across the 43 of 44 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability74
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 13495 tokens (~306/item across 44 items; 42 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management67
  • Stability observed for 20 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage97
  • 95% of tools have a non-trivial description (not blank, and not just the tool's name).Partial
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • We read all 42 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
  • An AI judge read all 43 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a current MCP spec version (2026-07-28).Pass
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Nov 26 +10
    • Malware scan: unverified → pass ▲ security
    • Stability: pass → 0.67 functional
  • 3 Nov 26 −15
    • Malware scan: pass → unverified ▼ security
  • 31 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 30 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
  • 29 Oct 26 +1
    • Stability: 0.97 → pass security
  • 28 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 27 Oct 26 −16
    • Malware scan: pass → unverified ▼ security
    • Stability: pass → 0.93 functional
  • 24 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Nov 2026 · Analysed pypi/lymcp@0.6.2

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem pypi
Reason No attestation published

Background: How many MCP packages publish verified provenance →

Dependencies 43 packages
Packages resolved 43
Stale 5
No linked repository 1
Tree resolution Partial

The dependency tree was only partially resolved, so these counts may be incomplete.

Background: SBOMs and build attestations, explained →

MCP tools · 42 exposed · ~13,454 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
get_bill ~117

取得特定議案的詳細資訊。 Args: bill_no: 議案編號,必填,例:203110077970000 Returns: str: JSON 格式,包含議案基本資料、提案人資訊、議案流程、相關法條等詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_nostringyes議案編號,必填,例: 203110077970000
NameTypeReqDescription
resultstringyes–

No examples provided.

get_bill_doc_html ~188

取得特定議案的文件 HTML 內容列表。 Args: bill_no: 議案編號,必填,例:203110077970000 Returns: str: JSON 格式,包含該議案的所有相關文件 HTML 內容(議案本文、附件、修正對照表等)。 Notes: 若回傳空白內容,可能原因包含:該議案尚無正式文件、文件尚未數位化、或 API 資料延遲更新。 建議先使用 get_bill_detail 確認議案存在後再查詢文件內容。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_nostringyes議案編號,必填,例: 203110077970000
NameTypeReqDescription
resultstringyes–

No examples provided.

get_bill_meets ~538

取得特定議案的相關會議列表。 Args: bill_no: 議案編號,必填,例:203110077970000 term: 屆期篩選,例:11 meeting_code: 會議代碼篩選 session: 會期篩選,例:2 meeting_type: 會議種類篩選,例:院會、委員會 member: 出席委員篩選 date: 會議日期篩選,格式:YYYY-MM-DD committee_code: 委員會代號篩選 meet_id: 會議資料中的會議編號 related_bill_no: 關係文書中的議案編號 law_number: 關係文書中的法律編號 page: 頁數,預設1 limit: 每頁筆數,預設20 output_fields: 自訂回傳欄位 Returns: str: JSON 格式,包含該議案在各會議中的審議紀錄(會議資訊、審議結果、發言紀錄等)。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_nostringyes議案編號,必填,例: 203110077970000
committee_code––委員會代號,例: 23
date––會議日期,格式:YYYY-MM-DD,例: 2024-10-25
law_number––關係文書中的法律編號
limitinteger–每頁筆數,預設20
meet_id––會議資料中的會議編號
meeting_code––會議代碼,例: 院會-11-2-6
meeting_type––會議種類,例: 院會、委員會
member––出席委員姓名
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
related_bill_no––關係文書中的議案編號
session––會期,例: 2
term––屆,例: 11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_bill_related_bills ~123

取得特定議案的相關議案列表。 Args: bill_no: 議案編號,必填,例:203110077970000 Returns: str: JSON 格式,包含該議案的相關議案資訊(關聯類型、相關議案編號等)。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_nostringyes議案編號,必填,例: 203110077970000
NameTypeReqDescription
resultstringyes–

No examples provided.

get_committee ~103

取得特定委員會資訊。 Args: comt_cd: 委員會代號,必填,例:15 Returns: str: JSON 格式,包含委員會基本資料、委員資訊等詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
comt_cdstringyes委員會代號,必填,例: 15
NameTypeReqDescription
resultstringyes–

No examples provided.

get_committee_meets ~555

取得委員會相關會議列表。 Args: comt_cd: 委員會代號,必填,例:15 term: 屆期篩選,例:11 meeting_code: 會議代碼 session: 會期篩選,例:2 meeting_type: 會議種類篩選,例:院會、委員會 member: 會議資料.出席委員 date: 日期,格式:YYYY-MM-DD committee_code: 委員會代號 meet_id: 會議資料.會議編號 bill_no: 議事網資料.關係文書.議案.議案編號 law_number: 議事網資料.關係文書.議案.法律編號 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含該委員會的相關會議資訊(會議編號、會議日期、出席委員等)。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_no––議事網資料.關係文書.議案.議案編號
committee_code––委員會代號
comt_cdstringyes委員會代號,必填,例: 15
date––日期,格式:YYYY-MM-DD
law_number––議事網資料.關係文書.議案.法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meet_id––會議資料.會議編號
meeting_code––會議代碼
meeting_type––會議種類,例: 院會、委員會
member––會議資料.出席委員
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例: 2
term––屆,例: 11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_gazette ~96

取得特定公報的詳細資訊。 Args: gazette_id: 公報編號,必填,例:1137701 Returns: str: JSON 格式,包含公報詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
gazette_idstringyes公報編號,必填,例:1137701
NameTypeReqDescription
resultstringyes–

No examples provided.

get_gazette_agenda ~116

取得特定公報目錄的詳細資訊。 Args: gazette_agenda_id: 公報議程編號,必填,例:1137701_00001 Returns: str: JSON 格式,包含公報目錄詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
gazette_agenda_idstringyes公報議程編號,必填,例:1137701_00001
NameTypeReqDescription
resultstringyes–

No examples provided.

get_gazette_agendas ~420

取得特定公報所含的公報目錄列表。 Args: gazette_id: 路徑中的公報編號,必填,例:1137701 gazette_number: 查詢條件中的公報編號,例:1137701 volume: 卷,例:113 issue: 期,例:77 booklet: 冊別,例:1 term: 屆,例:11 meeting_date: 會議日期,格式:YYYY-MM-DD,例:2024-10-04 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含該公報的公報目錄資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
booklet––冊別,例:1
gazette_idstringyes路徑中的公報編號,必填,例:1137701
gazette_number––查詢條件中的公報編號,例:1137701
issue––期,例:77
limitinteger–每頁筆數,預設20,建議不超過100
meeting_date––會議日期,格式:YYYY-MM-DD,例:2024-10-04
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
term––屆,例:11
volume––卷,例:113
NameTypeReqDescription
resultstringyes–

No examples provided.

get_interpellation ~108

取得特定質詢的詳細資訊。 Args: interpellation_id: 質詢編號,必填,例:11-1-1-1 Returns: str: JSON 格式,包含質詢詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
interpellation_idstringyes質詢編號,必填,例:11-1-1-1
NameTypeReqDescription
resultstringyes–

No examples provided.

get_ivod ~131

取得特定 IVOD(網路電視)影片的詳細資訊。 Args: ivod_id: IVOD 編號,必填,例:156045 Returns: str: JSON 格式,包含 IVOD 影片詳細資訊,包括播放頁面網址、影片網址、 會議資料、影片長度、委員發言時間、逐字稿等。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
ivod_idstringyesIVOD 編號,必填,例:156045
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law ~101

取得特定法律的詳細資訊。 Args: law_id: 法律編號,必填,例:09200015 Returns: str: JSON 格式,包含法律基本資料、法條內容、版本資訊等詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
law_idstringyes法律編號,必填,例:09200015
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_bills ~663

取得特定法律相關的議案列表。 Args: law_id: 法律編號,必填,例:09200015 term: 屆,例:11 session: 會期,例:2 bill_flow_status: 議案流程狀態,如:交付審查、三讀 bill_type: 議案類別,如:法律案、預算案 proposer: 提案人姓名 cosigner: 連署人姓名 law_number: 法律編號 bill_status: 議案狀態,如:交付審查、三讀、排入院會 meeting_code: 會議代碼 proposal_source: 提案來源,如:委員提案、政府提案 bill_number: 議案編號 proposal_number: 提案編號 reference_number: 字號 article_number: 法條編號 proposal_date: 提案日期,格式:YYYY-MM-DD proposal_unit_or_member: 提案單位或提案委員 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含該法律相關的議案資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––法條編號
bill_flow_status––議案流程狀態,如:交付審查、三讀
bill_number––議案編號
bill_status––議案狀態,如:交付審查、三讀、排入院會
bill_type––議案類別,如:法律案、預算案
cosigner––連署人姓名
law_idstringyes法律編號,必填,例:09200015
law_number––法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
proposal_date––提案日期,格式:YYYY-MM-DD
proposal_number––提案編號
proposal_source––提案來源,如:委員提案、政府提案
proposal_unit_or_member––提案單位或提案委員
proposer––提案人姓名
reference_number––字號
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_content ~119

取得特定法條的詳細資訊。 Args: law_content_id: 法條編號,例:90481:90481:1944-02-29-制定:0 Returns: str: JSON 格式,包含該法條的詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
law_content_idstringyes法條編號,例:90481:90481:1944-02-29-制定:0
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_progress ~104

取得特定法律的未議決進度列表。 Args: law_id: 法律編號,必填,例:09200015 Returns: str: JSON 格式,包含該法律相關的未議決進度資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
law_idstringyes法律編號,必填,例:09200015
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_version ~110

取得特定法律版本資訊。 Args: law_version_id: 版本編號,必填,例:90481:1944-02-29-制定 Returns: str: JSON 格式,包含法律版本詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
law_version_idstringyes版本編號,必填,例:90481:1944-02-29-制定
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_version_contents ~427

取得法律版本包含的法條列表。 Args: law_version_id: 版本編號,必填,例:90481:1944-02-29-���定 law_number: 法律編號,例:90481 version_id: 法條資料版本編號,例:90481:1944-02-29-制定 order: 順序,例:1 article_number: 條號,例:第一條 current_version_status: 現行版,可選值:現行、非現行 version_tracking: 版本追蹤,例:new page: 頁數,預設1 limit: 每頁筆數,預設20 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含特定法律版本的法條列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––條號,例:第一條
current_version_status––現行版,可選值:現行、非現行
law_number––法律編號,例:90481
law_version_idstringyes版本編號,必填,例:90481:1944-02-29-制定
limitinteger–每頁筆數,預設20
order––順序,例:1
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
version_id––法條資料版本編號,例:90481:1944-02-29-制定
version_tracking––版本追蹤,例:new
NameTypeReqDescription
resultstringyes–

No examples provided.

get_law_versions ~465

取得特定法律過往的版本紀錄列表。 Args: law_id: 法律編號,必填,例:09200015 law_number: 法律編號,例:90481 version_number: 版本編號,例:90481:1944-02-29-制定 date: 日期,格式:YYYY-MM-DD,例:1944-02-29 action: 動作,例:制定 main_proposer: 歷程主提案,例:張子揚 progress: 歷程進度,例:一讀 current_version: 現行版本,現行或非現行 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含該法律的歷史版本紀錄資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
action––動作,例:制定
current_version––現行版本,現行或非現行
date––日期,格式:YYYY-MM-DD,例:1944-02-29
law_idstringyes法律編號,必填,例:09200015
law_number––法律編號,例:90481
limitinteger–每頁筆數,預設20,建議不超過100
main_proposer––歷程主提案,例:張子揚
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
progress––歷程進度,例:一讀
version_number––版本編號,例:90481:1944-02-29-制定
NameTypeReqDescription
resultstringyes–

No examples provided.

get_legislator ~118

取得特定立法委員的詳細資訊。 Args: term: 屆,例:11 name: 委員姓名,例:韓國瑜 Returns: str: JSON 格式,包含該立法委員的詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
namestringyes委員姓名,例:韓國瑜
termintegeryes屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_legislator_cosign_bills ~698

取得委員為連署人的法案列表。 Args: term: 屆,例:11 name: 委員姓名,例:韓國瑜 bill_term: 議案所屬屆期,例:11 session: 議案所屬會期,例:2 bill_flow_status: 議案流程狀態,如:交付審查、三讀 bill_type: 議案類別,如:法律案、預算案 proposer: 提案人姓名 cosigner: 連署人姓名 law_number: 法律編號 bill_status: 議案狀態,如:交付審查、三讀、排入院會 meeting_code: 會議代碼 proposal_source: 提案來源,如:委員提案、政府提案 bill_number: 議案編號 proposal_number: 提案編號 reference_number: 字號 article_number: 法條編號 proposal_date: 提案日期,格式:YYYY-MM-DD page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的委員為連署人的法案列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––法條編號
bill_flow_status––議案流程狀態,如:交付審查、三讀
bill_number––議案編號
bill_status––議案狀態,如:交付審查、三讀、排入院會
bill_term––議案所屬屆期,例:11
bill_type––議案類別,如:法律案、預算案
cosigner––連署人姓名
law_number––法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼
namestringyes委員姓名,例:韓國瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
proposal_date––提案日期,格式:YYYY-MM-DD
proposal_number––提案編號
proposal_source––提案來源,如:委員提案、政府提案
proposal_unit_or_member––提案單位或提案委員
proposer––提案人姓名
reference_number––字號
session––議案所屬會期,例:2
termintegeryes屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_legislator_interpellations ~399

取得委員為質詢委員的質詢列表。 Args: term: 屆期,必填,例:11 name: 委員姓名,必填,例:韓國瑜 interpellation_member: 質詢委員姓名,例:羅智強 term_query: 查詢條件中的屆,例:10 session: 會期,例:2 meeting_code: 會議代碼,例:院會-11-2-6 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含委員為質詢委員的質詢資料。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
interpellation_member––質詢委員姓名,例:羅智強
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼,例:院會-11-2-6
namestringyes委員姓名,必填,例:韓國瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
termintegeryes屆,必填,例:11
term_query––查詢條件中的屆,例:10
NameTypeReqDescription
resultstringyes–

No examples provided.

get_legislator_meets ~585

取得委員出席的會議列表。 Args: term: 屆,例:11 name: 委員姓名,例:韓國瑜 meet_term: 會議所屬屆期,例:11 meeting_code: 會議代碼,例:院會-11-2-6 session: 會期,例:2 meeting_type: 會議種類,例:院會 member: 出席委員,例:陳秀寳 date: 日期,例:2024-10-25 committee_code: 委員會代號,例:23 meet_id: 會議編號,例:2024102368 bill_no_nested: 關係文書議案編號,例:202110071090000 law_number_nested: 關係文書法律編號,例:01177 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的委員出席會議列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
bill_no_nested––關係文書議案編號,例:202110071090000
committee_code––委員會代號,例:23
date––日期,例:2024-10-25
law_number_nested––關係文書法律編號,例:01177
limitinteger–每頁筆數,預設20,建議不超過100
meet_id––會議編號,例:2024102368
meet_term––會議所屬屆期,例:11
meeting_code––會議代碼,例:院會-11-2-6
meeting_type––會議種類,例:院會
member––出席委員,例:陳秀寳
namestringyes委員姓名,例:韓國瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
termintegeryes屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_legislator_propose_bills ~698

取得委員為提案人的法案列表。 Args: term: 屆,例:11 name: 委員姓名,例:韓國瑜 bill_term: 議案所屬屆期,例:11 session: 議案所屬會期,例:2 bill_flow_status: 議案流程狀態,如:交付審查、三讀 bill_type: 議案類別,如:法律案、預算案 proposer: 提案人姓名 cosigner: 連署人姓名 law_number: 法律編號 bill_status: 議案狀態,如:交付審查、三讀、排入院會 meeting_code: 會議代碼 proposal_source: 提案來源,如:委員提案、政府提案 bill_number: 議案編號 proposal_number: 提案編號 reference_number: 字號 article_number: 法條編號 proposal_date: 提案日期,格式:YYYY-MM-DD page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的委員為提案人的法案列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––法條編號
bill_flow_status––議案流程狀態,如:交付審查、三讀
bill_number––議案編號
bill_status––議案狀態,如:交付審查、三讀、排入院會
bill_term––議案所屬屆期,例:11
bill_type––議案類別,如:法律案、預算案
cosigner––連署人姓名
law_number––法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼
namestringyes委員姓名,例:韓國瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
proposal_date––提案日期,格式:YYYY-MM-DD
proposal_number––提案編號
proposal_source––提案來源,如:委員提案、政府提案
proposal_unit_or_member––提案單位或提案委員
proposer––提案人姓名
reference_number––字號
session––議案所屬會期,例:2
termintegeryes屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_meet ~98

取得特定會議的詳細資訊。 Args: meet_id: 會議代碼,例:院會-11-2-3 Returns: str: JSON 格式的會議詳細資訊。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
meet_idstringyes會議代碼,例:院會-11-2-3
NameTypeReqDescription
resultstringyes–

No examples provided.

get_meet_bills ~667

取得會議內的議案列表。 Args: meet_id: 會議代碼,例:院會-11-2-3 term: 屆,例:11 session: 會期,例:2 bill_flow_status: 議案流程狀態,如:交付審查、三讀 bill_type: 議案類別,如:法律案、預算案 proposer: 提案人姓名 co_proposer: 連署人姓名 law_number: 法律編號 bill_status: 議案狀態,如:交付審查、三讀、排入院會 meeting_code: 會議代碼 proposal_source: 提案來源,如:委員提案、政府提案 bill_number: 議案編號 proposal_number: 提案編號 reference_number: 字號 article_number: 法條編號 proposal_date: 提案日期,格式:YYYY-MM-DD proposal_unit_or_member: 提案單位或提案委員 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的會議內議案資料。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––法條編號
bill_flow_status––議案流程狀態,如:交付審查、三讀
bill_number––議案編號
bill_status––議案狀態,如:交付審查、三讀、排入院會
bill_type––議案類別,如:法律案、預算案
co_proposer––連署人姓名
law_number––法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meet_idstringyes會議代碼,例:院會-11-2-3
meeting_code––會議代碼
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
proposal_date––提案日期,格式:YYYY-MM-DD
proposal_number––提案編號
proposal_source––提案來源,如:委員提案、政府提案
proposal_unit_or_member––提案單位或提案委員
proposer––提案人姓名
reference_number––字號
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_meet_interpellations ~350

取得會議內的質詢列表。 Args: meet_id: 會議代碼,例:院會-11-2-3 interpellation_member: 質詢委員,例:羅智強 term: 屆,例:11 session: 會期,例:2 meeting_code: 會議代碼,例:院會-11-2-6 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的會議內質詢資料。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
interpellation_member––質詢委員,例:羅智強
limitinteger–每頁筆數,預設20,建議不超過100
meet_idstringyes會議代碼,例:院會-11-2-3
meeting_code––會議代碼,例:院會-11-2-6
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

get_meet_ivods ~541

取得特定會議相關的 IVOD(網路電視)影片列表。 Args: meet_id: 會議代碼,必填,例:院會-11-2-3 term: 屆,例:11 session: 會期,例:2 meeting_code: 會議代碼,例:委員會-11-2-22-5 member_name: 委員名稱,例:陳培瑜 committee_code: 委員會代碼,例:22 meeting_code_data: 會議資料.會議代碼,例:委員會-11-2-22-5 date: 日期,格式:YYYY-MM-DD,例:2024-10-24 video_type: 影片種類,Clip(片段)或 Full(完整) page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含會議相關的 IVOD 影片列表資料。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
committee_code––委員會代碼,例:22
date––日期,格式:YYYY-MM-DD,例:2024-10-24
limitinteger–每頁筆數,預設20,建議不超過100
meet_idstringyes會議代碼,必填,例:院會-11-2-3
meeting_code––會議代碼,例:委員會-11-2-22-5
meeting_code_data––會議資料.會議代碼,例:委員會-11-2-22-5
member_name––委員名稱,例:陳培瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
video_type––影片種類,Clip(片段)或 Full(完整)
NameTypeReqDescription
resultstringyes–

No examples provided.

get_stat ~49

取得立法院 API 的統計資訊。 Returns: str: JSON 格式的統計資訊。 Raises: 例外時回傳中文錯誤訊息字串。

Input schema present but exposes no named parameters.

NameTypeReqDescription
resultstringyes–

No examples provided.

get_vote ~40

取得特定表決紀錄。

NameTypeReqDescription
vote_idstringyes表決代碼,例:1150101_00002_55
NameTypeReqDescription
resultstringyes–

No examples provided.

get_vote_meets ~243

取得特定表決所屬的會議列表。

NameTypeReqDescription
bill_no––關係文書中的議案編號
committee_code––委員會代號,例:23
date––日期,格式:YYYY-MM-DD
law_number––關係文書中的法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meet_id––會議資料中的會議編號
meeting_code––會議代碼,例:院會-11-2-6
meeting_type––會議種類,例:院會
member––出席委員姓名
output_fields––自訂上游回傳欄位列表
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
vote_idstringyes表決代碼,例:1150101_00002_55
NameTypeReqDescription
resultstringyes–

No examples provided.

list_bills ~616

列出立法院議案列表。 Args: term: 屆,例:11 session: 會期,例:2 bill_flow_status: 議案流程狀態,如:交付審查、三讀 bill_type: 議案類別,如:法律案、預算案 proposer: 提案人姓名 cosigner: 連署人姓名 law_number: 法律編號 bill_status: 議案狀態,如:交付審查、三讀、排入院會 meeting_code: 會議代碼 proposal_source: 提案來源,如:委員提案、政府提案 bill_number: 議案編號 proposal_number: 提案編號 reference_number: 字號 article_number: 法條編號 proposal_date: 提案日期,格式:YYYY-MM-DD proposal_unit_or_member: 提案單位或提案委員 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的議案查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––法條編號
bill_flow_status––議案流程狀態,如:交付審查、三讀
bill_number––議案編號
bill_status––議案狀態,如:交付審查、三讀、排入院會
bill_type––議案類別,如:法律案、預算案
cosigner––連署人姓名
law_number––法律編號
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
proposal_date––提案日期,格式:YYYY-MM-DD
proposal_number––提案編號
proposal_source––提案來源,如:委員提案、政府提案
proposal_unit_or_member––提案單位或提案委員
proposer––提案人姓名
reference_number––字號
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

list_committees ~257

列出委員會列表。 Args: committee_type: 委員會類別代碼,例:1(常設委員會) comt_cd: 委員會代號,例:15 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的委員會查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
committee_type––委員會類別代碼,例:1(常設委員會)
comt_cd––委員會代號,例:15
limitinteger–每頁筆數,預設20,建議不超過100
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
NameTypeReqDescription
resultstringyes–

No examples provided.

list_gazette_agendas ~349

列出公報目錄列表。 Args: gazette_id: 公報編號,例:1137701 volume: 卷,例:113 issue: 期,例:77 booklet: 冊別,例:1 term: 屆,例:11 meeting_date: 會議日期,格式:YYYY-MM-DD,例:2024-10-04 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的公報目錄查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
booklet––冊別,例:1
gazette_id––公報編號,例:1137701
issue––期,例:77
limitinteger–每頁筆數,預設20,建議不超過100
meeting_date––會議日期,格式:YYYY-MM-DD,例:2024-10-04
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
term––屆,例:11
volume––卷,例:113
NameTypeReqDescription
resultstringyes–

No examples provided.

list_gazettes ~231

列出立法院公報列表。 Args: gazette_id: 公報編號,例:1137701 volume: 卷,例:113 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的公報查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
gazette_id––公報編號,例:1137701
limitinteger–每頁筆數,預設20,建議不超過100
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
volume––卷,例:113
NameTypeReqDescription
resultstringyes–

No examples provided.

list_interpellations ~304

列出立法院質詢列表。 Args: interpellation_member: 質詢委員姓名,例:羅智強 term: 屆期,例:11 session: 會期,例:2 meeting_code: 會議代碼,例:院會-11-2-6 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的質詢查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
interpellation_member––質詢委員姓名,例:羅智強
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼,例:院會-11-2-6
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

list_ivods ~479

列出 IVOD(網路電視)影片列表。 Args: term: 屆,例:11 session: 會期,例:2 meeting_code: 會議代碼,例:委員會-11-2-22-5 member_name: 委員名稱,例:陳培瑜 committee_code: 委員會代碼,例:22 meeting_code_data: 會議資料.會議代碼,例:委員會-11-2-22-5 date: 日期,格式:YYYY-MM-DD,例:2024-10-24 video_type: 影片種類,Clip(片段)或 Full(完整) page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含 IVOD 影片列表資料。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
committee_code––委員會代碼,例:22
date––日期,格式:YYYY-MM-DD,例:2024-10-24
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼,例:委員會-11-2-22-5
meeting_code_data––會議資料.會議代碼,例:委員會-11-2-22-5
member_name––委員名稱,例:陳培瑜
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
video_type––影片種類,Clip(片段)或 Full(完整)
NameTypeReqDescription
resultstringyes–

No examples provided.

list_law_contents ~365

列出法條資料。 Args: law_number: 法律編號,例:90481 version_id: 版本編號,例:90481:90481:1944-02-29-制定:1 order: 順序,例:1 article_number: 條號,例:第一條 current_version_status: 現行版,可選值:現行、非現行 version_tracking: 版本追蹤,例:new page: 頁數,預設1 limit: 每頁筆數,預設20 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的法條列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
article_number––條號,例:第一條
current_version_status––現行版,可選值:現行、非現行
law_number––法律編號,例:90481
limitinteger–每頁筆數,預設20
order––順序,例:1
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
version_id––版本編號,例:90481:90481:1944-02-29-制定:1
version_tracking––版本追蹤,例:new
NameTypeReqDescription
resultstringyes–

No examples provided.

list_law_versions ~413

列出法律版本資料。 Args: law_number: 法律編號,例:90481 version_number: 版本編號,例:90481:1944-02-29-制定 date: 日期,格式:YYYY-MM-DD,例:1944-02-29 action: 動作,例:制定 main_proposer: 歷程主提案,例:張子揚 progress: 歷程進度,例:一讀 current_version: 現行版本,現行或非現行 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式,包含法律版本列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
action––動作,例:制定
current_version––現行版本,現行或非現行
date––日期,格式:YYYY-MM-DD,例:1944-02-29
law_number––法律編號,例:90481
limitinteger–每頁筆數,預設20,建議不超過100
main_proposer––歷程主提案,例:張子揚
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
progress––歷程進度,例:一讀
version_number––版本編號,例:90481:1944-02-29-制定
NameTypeReqDescription
resultstringyes–

No examples provided.

list_laws ~376

列出立法院法律列表。 Args: law_number: 法律編號,例:09200015 category: 類別,母法或子法 parent_law_number: 母法編號,例:09200 law_status: 法律狀態,例:現行 authority: 主管機關,例:總統府 latest_version_date: 最新版本日期,格式:YYYY-MM-DD,例:2024-10-25 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的法律查詢結果。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
authority––主管機關,例:總統府
category––類別,母法或子法
latest_version_date––最新版本日期,格式:YYYY-MM-DD,例:2024-10-25
law_number––法律編號,例:09200015
law_status––法律狀態,例:現行
limitinteger–每頁筆數,預設20,建議不超過100
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
parent_law_number––母法編號,例:09200
NameTypeReqDescription
resultstringyes–

No examples provided.

list_legislators ~349

取得立法委員列表。 Args: term: 屆,例:11 party: 黨籍,例:民主進步黨 district_name: 選區名稱,例:臺南市第6選舉區 legislator_id: 歷屆立法委員編號,例:1160 legislator_name: 委員姓名,例:韓國瑜 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的立法委員列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
district_name––選區名稱,例:臺南市第6選舉區
legislator_id––歷屆立法委員編號,例:1160
legislator_name––委員姓名,例:韓國瑜
limitinteger–每頁筆數,預設20,建議不超過100
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
party––黨籍,例:民主進步黨
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

list_meets ~530

列出立法院會議列表。 Args: term: 屆,例:11 meeting_code: 會議代碼,例:院會-11-2-6 session: 會期,例:2 meeting_type: 會議種類,例:院會 meeting_attendee: 出席委員,例:陳秀寳 date: 日期,格式:YYYY-MM-DD,例:2024-10-25 committee_code: 委員會代號,例:23 meeting_id: 會議編號,例:2024102368 meeting_bills_bill_no: 關係文書議案編號,例:202110071090000 meeting_bills_law_no: 關係文書法律編號,例:01177 page: 頁數,預設1 limit: 每頁筆數,預設20,建議不超過100 output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) Returns: str: JSON 格式的會議列表。 Raises: 例外時回傳中文錯誤訊息字串。

NameTypeReqDescription
committee_code––委員會代號,例:23
date––日期,格式:YYYY-MM-DD,例:2024-10-25
limitinteger–每頁筆數,預設20,建議不超過100
meeting_attendee––出席委員,例:陳秀寳
meeting_bills_bill_no––關係文書議案編號,例:202110071090000
meeting_bills_law_no––關係文書法律編號,例:01177
meeting_code––會議代碼,例:院會-11-2-6
meeting_id––會議編號,例:2024102368
meeting_type––會議種類,例:院會
output_fields––自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
pageinteger–頁數,預設1
session––會期,例:2
term––屆,例:11
NameTypeReqDescription
resultstringyes–

No examples provided.

list_votes ~215

列出立法院表決紀錄。

NameTypeReqDescription
abstaining_member––投棄權票的委員姓名
agreeing_member––投贊成票的委員姓名
gazette_document_id––公報文件代碼,例:1150101_00002
limitinteger–每頁筆數,預設20,建議不超過100
meeting_code––會議代碼,例:院會-11-4-14
opposing_member––投反對票的委員姓名
output_fields––自訂上游回傳欄位列表
pageinteger–頁數,預設1
term––屆,例:11
vote_time––上游表決時間字串
vote_type––表決型態,例:記名表決
voting_member––參與投票的委員姓名
NameTypeReqDescription
resultstringyes–

No examples provided.

Install

How do I install the Legislative Yuan MCP server?

Legislative Yuan runs locally as a PyPI package, launched with uvx lymcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

pypi · lymcp

# add to Claude Code
claude mcp add narumiruna-ly-mcp -- uvx lymcp
Common questions

What is the Legislative Yuan MCP server?

Legislative Yuan is an MCP server listed in the public MCP registry as io.github.narumiruna/ly-mcp. Model Context Protocol server for Taiwan Legislative Yuan API v2. This page covers its PyPI package (lymcp).

Is the Legislative Yuan MCP server safe to use?

Legislative Yuan scores 79 out of 100 on VerifyMCP. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the Legislative Yuan MCP server expose?

Legislative Yuan exposes 42 tools: get_stat, list_bills, get_bill, get_bill_related_bills, get_bill_meets, and 37 more. Their descriptions and schemas cost roughly 13,454 tokens of context every time the server is loaded.

Is the Legislative Yuan MCP server still maintained?

Legislative Yuan is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the Legislative Yuan MCP server under?

Legislative Yuan declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.