
Uk Parliament Now
io.github.nick-ma由 GitHub 账号 nick-ma 发布v1.0.1更新于 Oct 24, 2026
MCP server for UK Parliament NOW Annunciator Content API
概览
本地 MCP 服务器,让助手读取英国议会 NOW Annunciator 中下议院和上议院的当前及历史公告消息。
- 可以做什么
- 获取下议院或上议院主频道当前的公告消息,公告类型限定为 CommonsMain 或 LordsMain。按指定的 ISO 日期时间获取某个公告频道之后的最新消息。以统一封装返回上游数据,包含状态、数据、上游路径和获取时间。
- 适用场景
- 适合公民科技、监控看板或自动化流程,需要英国议会 NOW Annunciator 的实时或近期会议状态,也适合向用户报告下议院或上议院议事消息的助手。
- 运行要求
- 作为本地 stdio 进程运行,通常通过 npx 启动,需要 Node.js 以及访问英国议会 NOW API 的网络连接。README 示例配置设置了 UPSTREAM_BASE_URL 和 REQUEST_TIMEOUT_MS;未声明任何身份验证。
安装
在 SourceWeft 中
- 打开 控制台中的 Uk Parliament Now,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
[MCP Compatible] [AI Agent Ready]
UK Parliament NOW Annunciator MCP Server
Summary
This MCP server provides structured access to UK Parliament NOW Annunciator data using the Model Context Protocol. It enables AI agents to retrieve current and historical annunciator messages through API-backed tools and data access. Developers can integrate the MCP server via stdio transport to query message feeds for Commons and Lords. The server exposes tools that map directly to the NOW Annunciator API for automation and AI agents workflows.
Features
- Retrieve the current annunciator message for Commons or Lords.
- Fetch the latest message after a specific date and time.
- Enforce annunciator enum constraints for reliable queries.
- Preserve upstream payloads in a standardized envelope for downstream tools.
Available Tools
get_current_message_by_annunciator
Return the current message by annunciator type.
Parameters:
- annunciator (string, path) – CommonsMain | LordsMain.
get_latest_message_by_annunciator_and_date
Return the most recent message by annunciator after date time specified.
Parameters:
- annunciator (string, path) – CommonsMain | LordsMain.
- date (string, path) – ISO date-time string.
Example Output
Quick Start
Run the MCP server using npx:
MCP Configuration
Example mcpServers configuration for stdio transport:
Example Usage
- Retrieve the current Commons annunciator message.
- Fetch the latest Lords message after a given timestamp.
- Monitor annunciator updates for session status changes.
Use Cases
- AI agents reporting live parliamentary status updates.
- Monitoring dashboards showing Commons/Lords session messages.
- Civic tech tools tracking sittings and announcements.
- Automation workflows that trigger on annunciator updates.
Data Source
UK Parliament NOW Annunciator Content API https://now-api.parliament.uk
Installation
Run directly using npx:
Or install via pnpm from the repository root:
Run (HTTP proxy server)
Build first, then start:
Set a custom HTTP port with the UKP_HTTP_PORT environment variable (default: 3000):
Published package command:
If your shell cannot resolve the bin ("command not found"), run the HTTP entrypoint directly:
Health check:
Proxy pattern:
Example:
License
MIT License
MCP Metadata
Protocol: Model Context Protocol Transport: stdio Tools: get_current_message_by_annunciator, get_latest_message_by_annunciator_and_date
来源:servers/uk-parliament-now/README.md,提交 38e74c9
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。