Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) ↗ (opens in a new tab)
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 💻 Developer Tools
  3. Legislative Yuan
L
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Legislative Yuan

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time — check back soon.
View Repository

Model Context Protocol server for Taiwan Legislative Yuan API v2.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON ▾

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "legislative-yuan": {
      "command": "npx",
      "args": [
        "-y",
        "legislative-yuan"
      ]
    }
  }
}

💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives💻 More in Developer Tools

Documentation Overview

🏛️ ly-mcp

PyPI version Python CI Docker License: MIT

ly-mcp 是一個串接台灣立法院 API v2 的 Model Context Protocol (MCP) 伺服器,提供議案、委員會、公報、會議紀錄與相關文件等資料查詢能力。

✨ 功能

此 MCP 伺服器提供 10 大類、共 42 個工具:

📊 統計

  • get_stat:取得立法院 API 的統計與概覽資訊。

📄 議案

  • list_bills:列出議案,可依屆期、會期、類別、提案人等條件篩選。
  • get_bill:取得特定議案的完整資訊,回傳完整 JSON。
  • get_bill_related_bills:查詢相關議案與其關聯。
  • get_bill_meets:取得議案在各會議中的審議紀錄,可依會議、出席委員、委員會及關聯議案或法律篩選,並指定輸出欄位。
  • get_bill_doc_html:取得特定議案的 HTML 文件內容。

🏢 委員會

  • list_committees:列出立法院委員會,可依整數類別代碼與委員會代號篩選。
  • get_committee:取得特定委員會的詳細資訊。
  • get_committee_meets:取得委員會會議紀錄與議事內容。

📰 公報

  • list_gazettes:列出立法院公報,可依卷期與公報編號篩選。
  • get_gazette:取得特定公報的詳細資訊。
  • get_gazette_agendas:取得特定公報中的議程或目錄內容,可另依公報編號、卷、期、冊別等查詢條件篩選。
  • list_gazette_agendas:列出公報目錄,可依卷、期、冊別、屆期與會議日期等條件篩選。
  • get_gazette_agenda:取得特定公報目錄項目的詳細資訊。

🎙️ 質詢

  • list_interpellations:列出質詢資料,可依委員、屆期、會期與會議代碼篩選。
  • get_interpellation:取得特定質詢的詳細資訊。
  • get_legislator_interpellations:取得特定立法委員作為質詢委員的質詢資料。

🎥 IVOD(網路電視)

  • list_ivods:列出 IVOD 影片,可依屆期、會期、委員會、委員與影片類型篩選。
  • get_ivod:取得特定 IVOD 影片的詳細資訊,包含影片網址、逐字稿與公報內容。
  • get_meet_ivods:取得特定會議相關的 IVOD 影片。

⚖️ 法律

  • list_laws:列出法律,可依法律編號、類別(母法或子法)、母法編號、狀態與主管機關篩選。
  • get_law:取得特定法律的完整資訊,包含基本資料、法條與版本資訊。
  • get_law_progress:取得特定法律的未議決進度列表。
  • get_law_bills:取得特定法律相關的議案,可搭配篩選條件。
  • get_law_versions:取得特定法律的歷史版本紀錄,包含修正內容、提案人與進度。
  • list_law_versions:跨法律列出法律版本,可依法律編號、版本編號、日期、動作、進度與現行版本狀態篩選。
  • get_law_version:依版本 ID 取得特定法律版本的詳細資訊。
  • get_law_version_contents:取得特定法律版本包含的法條內容。
  • list_law_contents:列出法條內容,可依法律編號、版本 ID、條號、現行版狀態與版本追蹤篩選。
  • get_law_content:依法條內容 ID 取得特定法條的詳細資訊。

🗓️ 會議

  • list_meets:列出立法院會議,可依屆期、會期、會議種類、出席委員、日期、委員會代號與會議編號篩選。
  • get_meet:依會議 ID 或代碼取得特定會議的詳細資訊。
  • get_meet_ivods:取得特定會議相關的 IVOD 影片,可搭配篩選條件。
  • get_meet_bills:取得特定會議討論的議案,可依議案條件篩選。
  • get_meet_interpellations:取得特定會議中的質詢資料,可搭配篩選條件。

👤 立法委員

  • list_legislators:列出立法委員,可依屆期、黨籍、選區、委員 ID 與姓名篩選。
  • get_legislator:依屆期與姓名取得特定立法委員的詳細資訊。
  • get_legislator_propose_bills:取得特定立法委員作為提案人的議案,可依議案條件篩選。
  • get_legislator_cosign_bills:取得特定立法委員作為連署人的議案,可依議案條件篩選。
  • get_legislator_meets:取得特定立法委員出席的會議,可依會議條件篩選。
  • get_legislator_interpellations:取得特定立法委員的質詢資料,可搭配篩選條件。

🗳️ 表決

  • list_votes:列出表決紀錄,可依屆期、會議、表決型態、委員投票立場與公報文件篩選。
  • get_vote:依表決代碼取得完整表決內容。
  • get_vote_meets:取得特定表決所屬的會議,可搭配會議、委員會與關聯議案條件篩選。

🔗 API 來源

此 MCP 伺服器使用 立法院 API v2 作為資料來源,提供台灣立法院議案與議事資料。

📦 工具回應格式

MCP 工具呼叫成功時,會回傳立法院 API 的原始 JSON payload。呼叫失敗時,會回傳可由程式判讀的 JSON 錯誤封包:

config.json
{
  "ok": false,
  "error": {
    "type": "http_status",
    "message": "Upstream API returned HTTP 404 for https://ly.govapi.tw/v2/bills/invalid_bill_number",
    "url": "https://ly.govapi.tw/v2/bills/invalid_bill_number",
    "status_code": 404,
    "response_excerpt": "not found"
  }
}

目前的錯誤 type 包含 http_status、timeout、network_error、invalid_json 與 unexpected_error。

🚀 安裝與使用

⚡ 快速開始

使用 uvx 安裝並執行伺服器:

bash
uvx lymcp@latest

🧩 MCP Client 設定

將此伺服器加入你的 MCP client 設定,例如 Claude Desktop。

PyPI

config.json
{
  "mcpServers": {
    "lymcp": {
      "command": "uvx",
      "args": ["lymcp@latest"]
    }
  }
}

GitHub

config.json
{
  "mcpServers": {
    "lymcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/narumiruna/ly-mcp",
        "lymcp"
      ]
    }
  }
}

本機開發

config.json
{
  "mcpServers": {
    "lymcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/ly-mcp",
        "lymcp"
      ]
    }
  }
}

Docker

config.json
{
  "mcpServers": {
    "lymcp": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "narumi/ly-mcp:latest"
      ]
    }
  }
}

💻 Terminal CLI

套件也提供 ly 指令,讓 agents 或 shell workflow 可以直接從 terminal 查詢立法院 API。CLI 預設輸出 pretty JSON,失敗時會輸出和 MCP tools 相同的 JSON error envelope 並回傳非 0 exit code。

如果要讓 agent 使用 repo 內的 ly skill,可以安裝:

Terminal
npx skills add /narumiruna/ly-mcp
bash
ly --help
ly stat
ly bills list --term 11 --bill-type 法律案 --limit 5
ly bills get 202110213410000
ly bills meets 202110213410000 --meeting-code 院會-11-2-6 --fields 會議代碼,日期
ly gazettes agendas 1137701 --gazette-number 1137701 --issue 77
ly laws versions 09200015 --limit 5
ly meets bills 院會-11-2-3 --term 11 --limit 5
ly legislators propose-bills 11 韓國瑜 --limit 5
ly votes list --term 11 --voting-member 黃國昌 --limit 5
ly votes get 1141921_00002_591
ly votes meets 1141921_00002_591 --term 11

給 agents 使用時,建議用資料領域選 command group:

  • ly bills ... 查議案、關聯議案、審議會議與議案本文 HTML。
  • ly laws ...、ly law-versions ...、ly law-contents ... 查法律、修法版本與法條內容。
  • ly meets ... 查會議、會議中的議案、質詢與 IVOD。
  • ly legislators ... 查立法委員、提案、連署、出席會議與質詢。
  • ly gazettes ...、ly gazette-agendas ... 查公報與公報目錄。
  • ly committees ...、ly interpellations ...、ly ivods ... 查委員會、質詢與網路電視資料。
  • ly votes ... 查表決列表、表決詳情與所屬會議。

常用輸出選項:

bash
# 單行 JSON,方便 pipe 給其他工具
ly --compact bills list --term 11 --limit 1

# 將成功結果寫入檔案
ly --output bills.json bills list --term 11 --limit 20

# 傳遞上游 output_fields
ly bills list --term 11 --fields 議案編號,案由,提案日期

💬 範例提示

連上 MCP 伺服器後,可以向 LLM 提出這類問題:

  • 「列出第11屆的所有法律提案」
  • 「查詢立法委員王美花的提案紀錄」
  • 「以今天的台北日期為準,最近已發生的院會討論了哪些議案?」
  • 「下一場已排程的院會是什麼時候?」
  • 「查詢勞動基準法的修法歷程」
  • 「第11屆第1會期有哪些委員會會議?」
  • 「黃國昌在第11屆參與過哪些表決?各自投了什麼立場?」

處理和日期有關的問題時,請區分:

  • latest known:使用上游預設排序,包含未來已排程的紀錄。
  • latest occurred:只考慮相關日期在參考日期當天或之前的紀錄。
  • next scheduled:只考慮相關日期晚於參考日期的紀錄。

伺服器也提供常見工作流程用的 MCP prompts: latest_plenary_meeting_bills、law_amendment_history、 legislator_proposal_record、legislator_interpellations、 committee_meeting_lookup 與 legislator_vote_record。可閱讀 lymcp://query-semantics 與 lymcp://workflow-reference,取得日期語意、篩選條件、ID 欄位與工作流程步驟的精簡指引。

🛠️ 開發

✅ 需求

  • Python 3.12+
  • uv 套件管理器
  • just 命令執行器

⚙️ 設定

bash
git clone https://github.com/narumiruna/ly-mcp
cd ly-mcp
uv sync

🤖 使用 Codex CLI

此 repository 已包含供本機 Codex CLI 開發使用的 .codex/config.toml。從 repository root 啟動 Codex CLI 時,可透過 uv run lymcp 使用已設定的 lymcp MCP server。

🔍 執行 MCP Inspector

bash
just dev

🧪 執行測試

bash
# 執行預設離線測試套件並產生 coverage
just test

# 直接執行預設離線測試套件
uv run pytest -v -s

# 手動執行會呼叫立法院 API 的 live tests
just test-live

預設 pytest 設定會排除標記為 live 的測試,因此 CI 與一般本機執行會使用 tests/data 中的 fixture-backed samples。只有在上游 API 回應形狀改變時,才應有意識地更新這些 JSON samples。

🧹 程式碼品質

bash
# 執行 linter
just lint

# 執行 type checker
just type

📜 授權

MIT

Read the full README →View source on GitHub →

Related MCP Servers

View all in Developer Tools View all alternatives
  • MCP Server Taiwan Weather logoMCP Server Taiwan Weather

    用於取得臺灣中央氣象署 API 資料的 Model Context Protocol (MCP) Server

    💻 Developer Tools0 views
    Compare vs MCP Server Taiwan Weather →
  • Ignite UI MCP Server logoIgnite UI MCP Server

    Unified MCP server for Ignite UI — documentation, API, and CLI scaffolding

    💻 Developer Tools1 views
    Compare vs Ignite UI MCP Server →
  • ️ Not for Production Use! logo️ Not for Production Use!

    Preview release of FusionAuth API MCP server

    💻 Developer Tools0 views
    Compare vs ️ Not for Production Use! →
  • Open Notebook logoOpen Notebook

    MCP server that wraps the Open Notebook API

    💻 Developer Tools0 views
    Compare vs Open Notebook →

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Legislative Yuan

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "legislative-yuan": { "command": "npx", "args": ["-y", "Legislative Yuan"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLegislative Yuan AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/legislative-yuan?style=directory)](https://allmcps.com/mcp/legislative-yuan)
HTML Embed
<a href="https://allmcps.com/mcp/legislative-yuan"><img src="https://allmcps.com/api/badge/legislative-yuan?style=directory" alt="Legislative Yuan on AllMCPs" /></a>

Technical Specs & Signals

Category💻Developer Tools
More technical detailsExpand ▾
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
25Quality signal: Emerging · 25/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools10/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server →

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 💻 Developer Tools →Best MCP servers for Developers →Alternatives to Legislative Yuan →Install in Claude DesktopInstall in CursorInstall in VS Code