Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Model Context Protocol server for Taiwan Legislative Yuan API v2.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ly": {
"command": "uvx",
"args": [
"lymcp"
]
}
}
}在终端中运行这条命令
claude mcp add ly -- uvx lymcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ly": {
"command": "uvx",
"args": [
"lymcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ly": {
"type": "stdio",
"command": "uvx",
"args": [
"lymcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 narumiruna 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.6.2)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, SolveHub
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
CAPTCHA and anti-bot solving for Turnstile, DataDome, Akamai, PerimeterX and Imperva.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
ly-mcp 是一個串接台灣立法院 API v2 的 Model Context Protocol (MCP) 伺服器,提供議案、委員會、公報、會議紀錄與相關文件等資料查詢能力。
此 MCP 伺服器提供 10 大類、共 42 個工具:
此 MCP 伺服器使用 立法院 API v2 作為資料來源,提供台灣立法院議案與議事資料。
MCP 工具呼叫成功時,會回傳立法院 API 的原始 JSON payload。呼叫失敗時,會回傳可由程式判讀的 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 安裝並執行伺服器:
uvx lymcp@latest
將此伺服器加入你的 MCP client 設定,例如 Claude Desktop。
{
"mcpServers": { "lymcp": { "command": "uvx", "args": ["lymcp@latest"] } } }
{
"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" ] } } }
{
"mcpServers": { "lymcp": { "command": "docker", "args": [ "run", "--rm", "-i", "narumi/ly-mcp:latest" ] } } }
套件也提供 ly 指令,讓 agents 或 shell workflow 可以直接從 terminal 查詢立法院 API。CLI 預設輸出 pretty JSON,失敗時會輸出和 MCP tools 相同的 JSON error envelope 並回傳非 0 exit code。
如果要讓 agent 使用 repo 內的 ly skill,可以安裝:
npx skills add /narumiruna/ly-mcp
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 ... 查表決列表、表決詳情與所屬會議。常用輸出選項:
# 單行 JSON,方便 pipe 給其他工具
ly --compact bills list --term 11 --limit 1
ly --output bills.json bills list --term 11 --limit 20
ly bills list --term 11 --fields 議案編號,案由,提案日期
連上 MCP 伺服器後,可以向 LLM 提出這類問題:
處理和日期有關的問題時,請區分:
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 欄位與工作流程步驟的精簡指引。
git clone https://github.com/narumiruna/ly-mcp
cd ly-mcp uv sync
此 repository 已包含供本機 Codex CLI 開發使用的 .codex/config.toml。從 repository root 啟動 Codex CLI 時,可透過 uv run lymcp 使用已設定的 lymcp MCP server。
just dev
# 執行預設離線測試套件並產生 coverage
just test
uv run pytest -v -s
just test-live
預設 pytest 設定會排除標記為 live 的測試,因此 CI 與一般本機執行會使用 tests/data 中的 fixture-backed samples。只有在上游 API 回應形狀改變時,才應有意識地更新這些 JSON samples。
# 執行 linter
just lint
just type
MIT