Taiwan Legislative Yuan MCP Server
ly-mcp
一个用于台湾立法院 API v2 的模型上下文协议 (MCP) 服务器,提供对议案、委员会、公报、会议记录及相关文档的全面访问。
功能
此 MCP 服务器在 9 个类别中提供了 36 个工具:
统计 (Statistics)
get_stat: 获取立法院 API 统计数据和概览信息
议案 (Bills)
list_bills: 列出议案,支持按届期、会期、类别、提案人及其他条件进行筛选
get_bill: 获取特定议案的全面信息(返回完整 JSON)
get_bill_related_bills: 查询相关议案及其关联
get_bill_meets: 访问各类会议中的议案审议记录
get_bill_doc_html: 获取特定议案的 HTML 文档内容
委员会 (Committees)
list_committees: 列出立法院委员会,支持可选筛选
get_committee: 获取特定委员会的详细信息
get_committee_meets: 访问委员会会议记录和议事录
公报 (Gazettes)
list_gazettes: 列出立法院公报,支持按卷号和公报 ID 进行筛选
get_gazette: 获取特定公报的详细信息
get_gazette_agendas: 获取特定公报中的议程/内容
list_gazette_agendas: 列出所有公报议程,支持按届期、会议日期等进行筛选
get_gazette_agenda: 获取特定公报议程项目的详细信息
质询 (Interpellations)
list_interpellations: 列出质询,支持按委员、届期、会期和会议代码进行筛选
get_interpellation: 获取特定质询的详细信息
get_legislator_interpellations: 获取特定立法委员作为质询人的质询记录
影音 (IVODs)
list_ivods: 列出 IVOD(网络电视)录影,支持按届期、会期、委员会、委员和视频类型进行筛选
get_ivod: 获取特定 IVOD 录影的详细信息,包括视频 URL、逐字稿和公报内容
get_meet_ivods: 获取与特定会议相关的 IVOD 录影
法律 (Laws)
list_laws: 列出法律,支持按法律编号、类别(母法/子法)、母法编号、状态和主管机关进行筛选
get_law: 获取特定法律的全面信息,包括基础数据、条文和版本信息
get_law_progress: 获取特定法律的未决进度列表
get_law_bills: 获取与特定法律相关的议案,支持可选筛选
get_law_versions: 获取特定法律的历史版本记录,包括变更、提案人和进度
list_law_contents: 列出法律条文/内容,支持按法律编号、版本 ID、条号、当前版本状态和版本追踪进行筛选
get_law_content: 使用法律内容 ID 获取特定法律条文/内容的详细信息
会议 (Meets)
list_meets: 列出立法院会议,支持按届期、会期、会议类型、出席者、日期、委员会代码和会议 ID 进行筛选
get_meet: 使用会议 ID/代码获取特定会议的详细信息
get_meet_ivods: 获取与特定会议相关的 IVOD(网络电视)录影,支持可选筛选
get_meet_bills: 获取特定会议中讨论的议案,支持按议案条件进行筛选
get_meet_interpellations: 获取特定会议中发生的质询,支持可选筛选
立法委员 (Legislators)
list_legislators: 列出立法委员,支持按届期、党籍、选区名称、委员 ID 和姓名进行筛选
get_legislator: 按届期和姓名获取特定立法委员的详细信息
get_legislator_propose_bills: 获取特定立法委员提出的议案,支持按议案条件进行筛选
get_legislator_cosign_bills: 获取特定立法委员连署的议案,支持按议案条件进行筛选
get_legislator_meets: 获取特定立法委员出席的会议,支持按会议条件进行筛选
get_legislator_interpellations: 获取特定立法委员进行的质询,支持可选筛选
Related MCP server: LegiScan MCP Server
API 来源
此 MCP 服务器使用 立法院 API v2 作为数据源,提供有关台湾立法院议案和议事程序的信息。
安装与使用
快速开始
使用 uvx 安装并运行服务器:
uvx lymcp@latestMCP 客户端配置
将服务器添加到您的 MCP 客户端配置中(例如 Claude Desktop):
PyPI
{
"mcpServers": {
"lymcp": {
"command": "uvx",
"args": ["lymcp@latest"]
}
}
}GitHub
{
"mcpServers": {
"lymcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/narumiruna/ly-mcp",
"lymcp"
]
}
}
}本地开发
{
"mcpServers": {
"lymcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/ly-mcp",
"lymcp"
]
}
}
}Docker
{
"mcpServers": {
"lymcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"narumi/ly-mcp:latest"
]
}
}
}示例提示词
连接到 MCP 服务器后,您可以向 LLM 询问如下问题:
"列出第11届的所有法律提案"
"查询立法委员王美花的提案纪录"
"最近一次院会讨论了哪些议案?"
"查询劳动基准法的修法历程"
"第11届第1会期有哪些委员会会议?"
开发
前置要求
设置
git clone https://github.com/narumiruna/ly-mcp
cd ly-mcp
uv sync运行 MCP Inspector
just dev运行测试
# Run full test suite with coverage
just test
# Run tests with verbose output
uv run pytest -v -s代码质量
# Run linter
just lint
# Run type checker
just type许可证
MIT
Available Tools
42 toolsget_billA
取得特定議案的詳細資訊。
Args:
bill_no: 議案編號,必填,例:203110077970000
Returns:
str: JSON 格式,包含議案基本資料、提案人資訊、議案流程、相關法條等詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| bill_no | Yes | 議案編號,必填,例: 203110077970000 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_bill_doc_htmlA
取得特定議案的文件 HTML 內容列表。
Args:
bill_no: 議案編號,必填,例:203110077970000
Returns:
str: JSON 格式,包含該議案的所有相關文件 HTML 內容(議案本文、附件、修正對照表等)。
Notes:
若回傳空白內容,可能原因包含:該議案尚無正式文件、文件尚未數位化、或 API 資料延遲更新。
建議先使用 get_bill_detail 確認議案存在後再查詢文件內容。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| bill_no | Yes | 議案編號,必填,例: 203110077970000 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_bill_meetsA
取得特定議案的相關會議列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 會議日期,格式:YYYY-MM-DD,例: 2024-10-25 | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例: 11 | |
| limit | No | 每頁筆數,預設20 | |
| member | No | 出席委員姓名 | |
| bill_no | Yes | 議案編號,必填,例: 203110077970000 | |
| meet_id | No | 會議資料中的會議編號 | |
| session | No | 會期,例: 2 | |
| law_number | No | 關係文書中的法律編號 | |
| meeting_code | No | 會議代碼,例: 院會-11-2-6 | |
| meeting_type | No | 會議種類,例: 院會、委員會 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_code | No | 委員會代號,例: 23 | |
| related_bill_no | No | 關係文書中的議案編號 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_committeeA
取得特定委員會資訊。
Args:
comt_cd: 委員會代號,必填,例:15
Returns:
str: JSON 格式,包含委員會基本資料、委員資訊等詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| comt_cd | Yes | 委員會代號,必填,例: 15 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_committee_meetsA
取得委員會相關會議列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例: 11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| member | No | 會議資料.出席委員 | |
| bill_no | No | 議事網資料.關係文書.議案.議案編號 | |
| comt_cd | Yes | 委員會代號,必填,例: 15 | |
| meet_id | No | 會議資料.會議編號 | |
| session | No | 會期,例: 2 | |
| law_number | No | 議事網資料.關係文書.議案.法律編號 | |
| meeting_code | No | 會議代碼 | |
| meeting_type | No | 會議種類,例: 院會、委員會 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_code | No | 委員會代號 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_gazetteB
取得特定公報的詳細資訊。
Args:
gazette_id: 公報編號,必填,例:1137701
Returns:
str: JSON 格式,包含公報詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| gazette_id | Yes | 公報編號,必填,例:1137701 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_gazette_agendaB
取得特定公報目錄的詳細資訊。
Args:
gazette_agenda_id: 公報議程編號,必填,例:1137701_00001
Returns:
str: JSON 格式,包含公報目錄詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| gazette_agenda_id | Yes | 公報議程編號,必填,例:1137701_00001 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_gazette_agendasB
取得特定公報所含的公報目錄列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| issue | No | 期,例:77 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| volume | No | 卷,例:113 | |
| booklet | No | 冊別,例:1 | |
| gazette_id | Yes | 路徑中的公報編號,必填,例:1137701 | |
| meeting_date | No | 會議日期,格式:YYYY-MM-DD,例:2024-10-04 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| gazette_number | No | 查詢條件中的公報編號,例:1137701 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_interpellationA
取得特定質詢的詳細資訊。
Args:
interpellation_id: 質詢編號,必填,例:11-1-1-1
Returns:
str: JSON 格式,包含質詢詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| interpellation_id | Yes | 質詢編號,必填,例:11-1-1-1 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_ivodA
取得特定 IVOD(網路電視)影片的詳細資訊。
Args:
ivod_id: IVOD 編號,必填,例:156045
Returns:
str: JSON 格式,包含 IVOD 影片詳細資訊,包括播放頁面網址、影片網址、
會議資料、影片長度、委員發言時間、逐字稿等。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| ivod_id | Yes | IVOD 編號,必填,例:156045 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_lawA
取得特定法律的詳細資訊。
Args:
law_id: 法律編號,必填,例:09200015
Returns:
str: JSON 格式,包含法律基本資料、法條內容、版本資訊等詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | 法律編號,必填,例:09200015 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_billsA
取得特定法律相關的議案列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| law_id | Yes | 法律編號,必填,例:09200015 | |
| session | No | 會期,例:2 | |
| cosigner | No | 連署人姓名 | |
| proposer | No | 提案人姓名 | |
| bill_type | No | 議案類別,如:法律案、預算案 | |
| law_number | No | 法律編號 | |
| bill_number | No | 議案編號 | |
| bill_status | No | 議案狀態,如:交付審查、三讀、排入院會 | |
| meeting_code | No | 會議代碼 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| proposal_date | No | 提案日期,格式:YYYY-MM-DD | |
| article_number | No | 法條編號 | |
| proposal_number | No | 提案編號 | |
| proposal_source | No | 提案來源,如:委員提案、政府提案 | |
| bill_flow_status | No | 議案流程狀態,如:交付審查、三讀 | |
| reference_number | No | 字號 | |
| proposal_unit_or_member | No | 提案單位或提案委員 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_contentA
取得特定法條的詳細資訊。
Args:
law_content_id: 法條編號,例:90481:90481:1944-02-29-制定:0
Returns:
str: JSON 格式,包含該法條的詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| law_content_id | Yes | 法條編號,例:90481:90481:1944-02-29-制定:0 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_progressB
取得特定法律的未議決進度列表。
Args:
law_id: 法律編號,必填,例:09200015
Returns:
str: JSON 格式,包含該法律相關的未議決進度資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| law_id | Yes | 法律編號,必填,例:09200015 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_versionB
取得特定法律版本資訊。
Args:
law_version_id: 版本編號,必填,例:90481:1944-02-29-制定
Returns:
str: JSON 格式,包含法律版本詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| law_version_id | Yes | 版本編號,必填,例:90481:1944-02-29-制定 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_version_contentsB
取得法律版本包含的法條列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20 | |
| order | No | 順序,例:1 | |
| law_number | No | 法律編號,例:90481 | |
| version_id | No | 法條資料版本編號,例:90481:1944-02-29-制定 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| article_number | No | 條號,例:第一條 | |
| law_version_id | Yes | 版本編號,必填,例:90481:1944-02-29-制定 | |
| version_tracking | No | 版本追蹤,例:new | |
| current_version_status | No | 現行版,可選值:現行、非現行 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_law_versionsB
取得特定法律過往的版本紀錄列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD,例:1944-02-29 | |
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| action | No | 動作,例:制定 | |
| law_id | Yes | 法律編號,必填,例:09200015 | |
| progress | No | 歷程進度,例:一讀 | |
| law_number | No | 法律編號,例:90481 | |
| main_proposer | No | 歷程主提案,例:張子揚 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| version_number | No | 版本編號,例:90481:1944-02-29-制定 | |
| current_version | No | 現行版本,現行或非現行 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_legislatorA
取得特定立法委員的詳細資訊。
Args:
term: 屆,例:11
name: 委員姓名,例:韓國瑜
Returns:
str: JSON 格式,包含該立法委員的詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 委員姓名,例:韓國瑜 | |
| term | Yes | 屆,例:11 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_legislator_cosign_billsA
取得委員為連署人的法案列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 委員姓名,例:韓國瑜 | |
| page | No | 頁數,預設1 | |
| term | Yes | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 議案所屬會期,例:2 | |
| cosigner | No | 連署人姓名 | |
| proposer | No | 提案人姓名 | |
| bill_term | No | 議案所屬屆期,例:11 | |
| bill_type | No | 議案類別,如:法律案、預算案 | |
| law_number | No | 法律編號 | |
| bill_number | No | 議案編號 | |
| bill_status | No | 議案狀態,如:交付審查、三讀、排入院會 | |
| meeting_code | No | 會議代碼 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| proposal_date | No | 提案日期,格式:YYYY-MM-DD | |
| article_number | No | 法條編號 | |
| proposal_number | No | 提案編號 | |
| proposal_source | No | 提案來源,如:委員提案、政府提案 | |
| bill_flow_status | No | 議案流程狀態,如:交付審查、三讀 | |
| reference_number | No | 字號 | |
| proposal_unit_or_member | No | 提案單位或提案委員 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_legislator_interpellationsB
取得委員為質詢委員的質詢列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 委員姓名,必填,例:韓國瑜 | |
| page | No | 頁數,預設1 | |
| term | Yes | 屆,必填,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 會期,例:2 | |
| term_query | No | 查詢條件中的屆,例:10 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| interpellation_member | No | 質詢委員姓名,例:羅智強 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_legislator_meetsB
取得委員出席的會議列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,例:2024-10-25 | |
| name | Yes | 委員姓名,例:韓國瑜 | |
| page | No | 頁數,預設1 | |
| term | Yes | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| member | No | 出席委員,例:陳秀寳 | |
| meet_id | No | 會議編號,例:2024102368 | |
| session | No | 會期,例:2 | |
| meet_term | No | 會議所屬屆期,例:11 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| meeting_type | No | 會議種類,例:院會 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| bill_no_nested | No | 關係文書議案編號,例:202110071090000 | |
| committee_code | No | 委員會代號,例:23 | |
| law_number_nested | No | 關係文書法律編號,例:01177 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_legislator_propose_billsC
取得委員為提案人的法案列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 委員姓名,例:韓國瑜 | |
| page | No | 頁數,預設1 | |
| term | Yes | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 議案所屬會期,例:2 | |
| cosigner | No | 連署人姓名 | |
| proposer | No | 提案人姓名 | |
| bill_term | No | 議案所屬屆期,例:11 | |
| bill_type | No | 議案類別,如:法律案、預算案 | |
| law_number | No | 法律編號 | |
| bill_number | No | 議案編號 | |
| bill_status | No | 議案狀態,如:交付審查、三讀、排入院會 | |
| meeting_code | No | 會議代碼 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| proposal_date | No | 提案日期,格式:YYYY-MM-DD | |
| article_number | No | 法條編號 | |
| proposal_number | No | 提案編號 | |
| proposal_source | No | 提案來源,如:委員提案、政府提案 | |
| bill_flow_status | No | 議案流程狀態,如:交付審查、三讀 | |
| reference_number | No | 字號 | |
| proposal_unit_or_member | No | 提案單位或提案委員 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_meetA
取得特定會議的詳細資訊。
Args:
meet_id: 會議代碼,例:院會-11-2-3
Returns:
str: JSON 格式的會議詳細資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| meet_id | Yes | 會議代碼,例:院會-11-2-3 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_meet_billsC
取得會議內的議案列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| meet_id | Yes | 會議代碼,例:院會-11-2-3 | |
| session | No | 會期,例:2 | |
| proposer | No | 提案人姓名 | |
| bill_type | No | 議案類別,如:法律案、預算案 | |
| law_number | No | 法律編號 | |
| bill_number | No | 議案編號 | |
| bill_status | No | 議案狀態,如:交付審查、三讀、排入院會 | |
| co_proposer | No | 連署人姓名 | |
| meeting_code | No | 會議代碼 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| proposal_date | No | 提案日期,格式:YYYY-MM-DD | |
| article_number | No | 法條編號 | |
| proposal_number | No | 提案編號 | |
| proposal_source | No | 提案來源,如:委員提案、政府提案 | |
| bill_flow_status | No | 議案流程狀態,如:交付審查、三讀 | |
| reference_number | No | 字號 | |
| proposal_unit_or_member | No | 提案單位或提案委員 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_meet_interpellationsA
取得會議內的質詢列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| meet_id | Yes | 會議代碼,例:院會-11-2-3 | |
| session | No | 會期,例:2 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| interpellation_member | No | 質詢委員,例:羅智強 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_meet_ivodsC
取得特定會議相關的 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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD,例:2024-10-24 | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| meet_id | Yes | 會議代碼,必填,例:院會-11-2-3 | |
| session | No | 會期,例:2 | |
| video_type | No | 影片種類,Clip(片段)或 Full(完整) | |
| member_name | No | 委員名稱,例:陳培瑜 | |
| meeting_code | No | 會議代碼,例:委員會-11-2-22-5 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_code | No | 委員會代碼,例:22 | |
| meeting_code_data | No | 會議資料.會議代碼,例:委員會-11-2-22-5 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_statA
取得立法院 API 的統計資訊。
Returns:
str: JSON 格式的統計資訊。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_voteC
取得特定表決紀錄。
| Name | Required | Description | Default |
|---|---|---|---|
| vote_id | Yes | 表決代碼,例:1150101_00002_55 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
get_vote_meetsB
取得特定表決所屬的會議列表。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| member | No | 出席委員姓名 | |
| bill_no | No | 關係文書中的議案編號 | |
| meet_id | No | 會議資料中的會議編號 | |
| session | No | 會期,例:2 | |
| vote_id | Yes | 表決代碼,例:1150101_00002_55 | |
| law_number | No | 關係文書中的法律編號 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| meeting_type | No | 會議種類,例:院會 | |
| output_fields | No | 自訂上游回傳欄位列表 | |
| committee_code | No | 委員會代號,例:23 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_billsC
列出立法院議案列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 會期,例:2 | |
| cosigner | No | 連署人姓名 | |
| proposer | No | 提案人姓名 | |
| bill_type | No | 議案類別,如:法律案、預算案 | |
| law_number | No | 法律編號 | |
| bill_number | No | 議案編號 | |
| bill_status | No | 議案狀態,如:交付審查、三讀、排入院會 | |
| meeting_code | No | 會議代碼 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| proposal_date | No | 提案日期,格式:YYYY-MM-DD | |
| article_number | No | 法條編號 | |
| proposal_number | No | 提案編號 | |
| proposal_source | No | 提案來源,如:委員提案、政府提案 | |
| bill_flow_status | No | 議案流程狀態,如:交付審查、三讀 | |
| reference_number | No | 字號 | |
| proposal_unit_or_member | No | 提案單位或提案委員 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_committeesB
列出委員會列表。
Args:
committee_type: 委員會類別代碼,例:1(常設委員會)
comt_cd: 委員會代號,例:15
page: 頁數,預設1
limit: 每頁筆數,預設20,建議不超過100
output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
Returns:
str: JSON 格式的委員會查詢結果。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| comt_cd | No | 委員會代號,例:15 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_type | No | 委員會類別代碼,例:1(常設委員會) |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_gazette_agendasC
列出公報目錄列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| issue | No | 期,例:77 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| volume | No | 卷,例:113 | |
| booklet | No | 冊別,例:1 | |
| gazette_id | No | 公報編號,例:1137701 | |
| meeting_date | No | 會議日期,格式:YYYY-MM-DD,例:2024-10-04 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_gazettesA
列出立法院公報列表。
Args:
gazette_id: 公報編號,例:1137701
volume: 卷,例:113
page: 頁數,預設1
limit: 每頁筆數,預設20,建議不超過100
output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
Returns:
str: JSON 格式的公報查詢結果。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| volume | No | 卷,例:113 | |
| gazette_id | No | 公報編號,例:1137701 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_interpellationsB
列出立法院質詢列表。
Args:
interpellation_member: 質詢委員姓名,例:羅智強
term: 屆期,例:11
session: 會期,例:2
meeting_code: 會議代碼,例:院會-11-2-6
page: 頁數,預設1
limit: 每頁筆數,預設20,建議不超過100
output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
Returns:
str: JSON 格式的質詢查詢結果。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 會期,例:2 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| interpellation_member | No | 質詢委員姓名,例:羅智強 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_ivodsB
列出 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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD,例:2024-10-24 | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 會期,例:2 | |
| video_type | No | 影片種類,Clip(片段)或 Full(完整) | |
| member_name | No | 委員名稱,例:陳培瑜 | |
| meeting_code | No | 會議代碼,例:委員會-11-2-22-5 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_code | No | 委員會代碼,例:22 | |
| meeting_code_data | No | 會議資料.會議代碼,例:委員會-11-2-22-5 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_law_contentsC
列出法條資料。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20 | |
| order | No | 順序,例:1 | |
| law_number | No | 法律編號,例:90481 | |
| version_id | No | 版本編號,例:90481:90481:1944-02-29-制定:1 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| article_number | No | 條號,例:第一條 | |
| version_tracking | No | 版本追蹤,例:new | |
| current_version_status | No | 現行版,可選值:現行、非現行 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_lawsC
列出立法院法律列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| category | No | 類別,母法或子法 | |
| authority | No | 主管機關,例:總統府 | |
| law_number | No | 法律編號,例:09200015 | |
| law_status | No | 法律狀態,例:現行 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| parent_law_number | No | 母法編號,例:09200 | |
| latest_version_date | No | 最新版本日期,格式:YYYY-MM-DD,例:2024-10-25 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_law_versionsB
列出法律版本資料。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD,例:1944-02-29 | |
| page | No | 頁數,預設1 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| action | No | 動作,例:制定 | |
| progress | No | 歷程進度,例:一讀 | |
| law_number | No | 法律編號,例:90481 | |
| main_proposer | No | 歷程主提案,例:張子揚 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| version_number | No | 版本編號,例:90481:1944-02-29-制定 | |
| current_version | No | 現行版本,現行或非現行 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_legislatorsA
取得立法委員列表。
Args:
term: 屆,例:11
party: 黨籍,例:民主進步黨
district_name: 選區名稱,例:臺南市第6選舉區
legislator_id: 歷屆立法委員編號,例:1160
legislator_name: 委員姓名,例:韓國瑜
page: 頁數,預設1
limit: 每頁筆數,預設20,建議不超過100
output_fields: 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)
Returns:
str: JSON 格式的立法委員列表。
Raises:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| party | No | 黨籍,例:民主進步黨 | |
| district_name | No | 選區名稱,例:臺南市第6選舉區 | |
| legislator_id | No | 歷屆立法委員編號,例:1160 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| legislator_name | No | 委員姓名,例:韓國瑜 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_meetsC
列出立法院會議列表。
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:
例外時回傳中文錯誤訊息字串。
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | 日期,格式:YYYY-MM-DD,例:2024-10-25 | |
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| session | No | 會期,例:2 | |
| meeting_id | No | 會議編號,例:2024102368 | |
| meeting_code | No | 會議代碼,例:院會-11-2-6 | |
| meeting_type | No | 會議種類,例:院會 | |
| output_fields | No | 自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表) | |
| committee_code | No | 委員會代號,例:23 | |
| meeting_attendee | No | 出席委員,例:陳秀寳 | |
| meeting_bills_law_no | No | 關係文書法律編號,例:01177 | |
| meeting_bills_bill_no | No | 關係文書議案編號,例:202110071090000 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
list_votesC
列出立法院表決紀錄。
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 頁數,預設1 | |
| term | No | 屆,例:11 | |
| limit | No | 每頁筆數,預設20,建議不超過100 | |
| vote_time | No | 上游表決時間字串 | |
| vote_type | No | 表決型態,例:記名表決 | |
| meeting_code | No | 會議代碼,例:院會-11-4-14 | |
| output_fields | No | 自訂上游回傳欄位列表 | |
| voting_member | No | 參與投票的委員姓名 | |
| agreeing_member | No | 投贊成票的委員姓名 | |
| opposing_member | No | 投反對票的委員姓名 | |
| abstaining_member | No | 投棄權票的委員姓名 | |
| gazette_document_id | No | 公報文件代碼,例:1150101_00002 |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
14 tool updates
v0.6.2- Changed
get_bill_meets7 fields changed- added
Input schema / properties / committee_codeAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "委員會代號,例: 23", + "title": "Committee Code" +} - added
Input schema / properties / law_numberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "關係文書中的法律編號", + "title": "Law Number" +} - added
Input schema / properties / meet_idAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "會議資料中的會議編號", + "title": "Meet Id" +} - added
Input schema / properties / meeting_codeAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "會議代碼,例: 院會-11-2-6", + "title": "Meeting Code" +} - added
Input schema / properties / memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "出席委員姓名", + "title": "Member" +} - added
Input schema / properties / output_fieldsAdded value: +{ + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null, + "description": "自訂回傳欄位(如需指定欄位,請填寫欄位名稱列表)", + "title": "Output Fields" +} - added
Input schema / properties / related_bill_noAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "關係文書中的議案編號", + "title": "Related Bill No" +}
- Changed
get_bill_related_bills2 fields changed- removed
Input schema / properties / limitRemoved value: -{ - "default": 20, - "description": "每頁筆數,預設20,建議不超過50", - "title": "Limit", - "type": "integer" -} - removed
Input schema / properties / pageRemoved value: -{ - "default": 1, - "description": "頁數,預設1", - "title": "Page", - "type": "integer" -}
- Changed
get_committee_meets1 field changed- changed
Input schema / properties / committee_code / anyOfPrevious value: -[ - { - "type": "string" - }, - { - "type": "null" - } -]New value: +[ + { + "type": "integer" + }, + { + "type": "null" + } +]
- Changed
get_gazette_agendas4 fields changed- added
Input schema / properties / bookletAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "冊別,例:1", + "title": "Booklet" +} - changed
Input schema / properties / gazette_id / descriptionPrevious value: -"公報編號,必填,例:1137701"New value: +"路徑中的公報編號,必填,例:1137701" - added
Input schema / properties / gazette_numberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "查詢條件中的公報編號,例:1137701", + "title": "Gazette Number" +} - added
Input schema / properties / issueAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "期,例:77", + "title": "Issue" +}
- Changed
get_law_bills1 field changed- added
Input schema / properties / proposal_unit_or_memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "提案單位或提案委員", + "title": "Proposal Unit Or Member" +}
- Changed
get_legislator_cosign_bills1 field changed- added
Input schema / properties / proposal_unit_or_memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "提案單位或提案委員", + "title": "Proposal Unit Or Member" +}
- Changed
get_legislator_interpellations1 field changed- added
Input schema / properties / term_queryAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "查詢條件中的屆,例:10", + "title": "Term Query" +}
- Changed
get_legislator_propose_bills1 field changed- added
Input schema / properties / proposal_unit_or_memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "提案單位或提案委員", + "title": "Proposal Unit Or Member" +}
- Changed
get_meet_bills1 field changed- added
Input schema / properties / proposal_unit_or_memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "提案單位或提案委員", + "title": "Proposal Unit Or Member" +}
- Added
get_vote - Added
get_vote_meets - Changed
list_committees4 fields changed- changed
Input schema / properties / committee_type / anyOfPrevious value: -[ - { - "type": "string" - }, - { - "type": "null" - } -]New value: +[ + { + "type": "integer" + }, + { + "type": "null" + } +] - changed
Input schema / properties / committee_type / descriptionPrevious value: -"委員會類別"New value: +"委員會類別代碼,例:1(常設委員會)" - changed
Input schema / properties / comt_cd / anyOfPrevious value: -[ - { - "type": "string" - }, - { - "type": "null" - } -]New value: +[ + { + "type": "integer" + }, + { + "type": "null" + } +] - changed
Input schema / properties / comt_cd / descriptionPrevious value: -"委員會代號"New value: +"委員會代號,例:15"
- Changed
list_gazette_agendas2 fields changed- added
Input schema / properties / bookletAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "冊別,例:1", + "title": "Booklet" +} - added
Input schema / properties / issueAdded value: +{ + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "default": null, + "description": "期,例:77", + "title": "Issue" +}
- Added
list_votes
4 tool updates
v0.5.0- Added
get_law_version - Added
get_law_version_contents - Changed
list_bills1 field changed- added
Input schema / properties / proposal_unit_or_memberAdded value: +{ + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "default": null, + "description": "提案單位或提案委員", + "title": "Proposal Unit Or Member" +}
- Added
list_law_versions
36 tool updates
v1.0.0- First observed
get_bill - First observed
get_bill_doc_html - First observed
get_bill_meets - First observed
get_bill_related_bills - First observed
get_committee - First observed
get_committee_meets - First observed
get_gazette - First observed
get_gazette_agenda - First observed
get_gazette_agendas - First observed
get_interpellation - First observed
get_ivod - First observed
get_law - First observed
get_law_bills - First observed
get_law_content - First observed
get_law_progress - First observed
get_law_versions - First observed
get_legislator - First observed
get_legislator_cosign_bills - First observed
get_legislator_interpellations - First observed
get_legislator_meets - First observed
get_legislator_propose_bills - First observed
get_meet - First observed
get_meet_bills - First observed
get_meet_interpellations - First observed
get_meet_ivods - First observed
get_stat - First observed
list_bills - First observed
list_committees - First observed
list_gazette_agendas - First observed
list_gazettes - First observed
list_interpellations - First observed
list_ivods - First observed
list_law_contents - First observed
list_laws - First observed
list_legislators - First observed
list_meets
TDQS
Scored across 42 tools
多数工具按实体清晰区分,如法律、议案、委员会等,但list_gazette_agendas与get_gazette_agendas、list_law_versions与get_law_versions存在相似功能,可能造成轻微混淆。总体边界明确,仅少数重叠。
所有工具均采用snake_case,并严格遵循list_<entity>和get_<entity>模式,关联查询如get_bill_meets也保持一致的动词+名词结构,命名统一且可预测。
42个工具远超典型范围(3-15个),虽涵盖多类数据,但数量过多可能增加选择成本。根据校准,25个以上已属偏多,42个更接近极限,因此给2分。
工具集全面覆盖立法院核心数据域:法律、议案、委员会、公報、质询、IVOD、会议、表决、立法委员,且包括列表、详情、关联查询等关键操作,无明显缺失或死角。
Maintenance
Related MCP Connectors
Taiwan legal research MCP by Dr.Legal (法律偵探): 22.7M court judgments, current statutes, administrative rulings and Constitutional Court decisions. Retrieval-only, per-item citations, appeal-chain history, bundle-level citation audit. Free, no API key; OAuth 2.0 dynamic registration completes automatically. 台灣法律 MCP:2,272 萬筆裁判書、法規、函釋、憲法法庭裁判,逐筆附出處並提供引用查核。免費、免金鑰。Docs: https://dr-legal.com.tw/mcp
Taiwan data for AI agents: THSR/TRA timetables, TWSE/TPEx stocks, invoice lottery, garbage, outages
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Access U.S. congressional data (bills, votes, members, committees) via MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables access to comprehensive U.S. legislative and governmental data from GovInfo.gov and Congress.gov APIs, including bills, Congressional records, Federal Register documents, member information, and committee activities.1MIT
- AlicenseAqualityCmaintenanceProvides access to legislative data from all 50 US states through the LegiScan API, enabling comprehensive search and retrieval of bills, votes, legislators, and legislative session information.1010 npm12MIT
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Hong Kong Legislative Council data including voting results, bills, parliamentary questions, and Hansard records. It supports real-time multi-word search capabilities and various transport protocols like SSE and WebSocket for easy integration.2MIT

assessorai-dadosofficial
AlicenseAqualityBmaintenanceEnables searching and retrieving Brazilian legislative propositions, reading their full texts, finding related propositions, and accessing dataset releases and downloads with provenance and official source URLs.7MIT