OnlineAfspraken Slots

io.github.RichieB2B由 GitHub 账号 RichieB2B 发布v0.1.0更新于 Oct 24, 2026

Read available slots from a public OnlineAfspraken widget URL without an account.

已验证STDIO仅桌面效率与工作流

概览

AI 生成的概览

本地 MCP 服务器,无需账号即可从公开的 OnlineAfspraken 小部件网址读取可预约时段。

可以做什么
  • 根据公开的 OnlineAfspraken 小部件或预约页面网址查询可预约时段
  • 按预约类型名称和日期筛选结果,日期默认使用 Europe/Amsterdam 时区的当天
  • 返回预约类型名称、可开始时间、日期、时区以及查询可用性的时间
适用场景
适合让助手查看公开 OnlineAfspraken 预约小部件上的空余时间,例如在手动预约前比较今天或某一天的可用时段。
运行要求
以本地 stdio 进程运行,需要 Python 3.10 或更高版本以及 MCP 客户端。可通过 uvx 从 PyPI 包安装,或使用本地副本提供的安装与运行脚本。未声明需要账号、API 密钥或环境变量。小部件网址必须是公开的 HTTPS 地址。
安装前请注意
仅只读:无法完成预约,且查询与预约之间时段可能已变化。它依赖小部件公开但未文档化的读取接口,服务方变更可能导致失效。你提供的预约页面网址会被发送到该接口。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OnlineAfspraken Slots,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

OnlineAfspraken slots MCP

Read available slots from a public OnlineAfspraken widget URL without an account. This local MCP server reads availability only; it cannot make a booking.

Get started

You need Python 3.10 or newer and an MCP client. The commands below use a Unix shell (macOS or Linux).

  1. Download or clone this repository.

  2. In its directory, install the package and its dependencies:

    sh
    sh setup.sh
  3. Register the server with your MCP client using one of the examples below. Replace /absolute/path/to/onlineafspraken-slots-mcp with the full path to your downloaded copy.

  4. Start a new chat and provide a public OnlineAfspraken widget URL. For example: “Show today's available times for this widget: [paste the full widget URL here].”

You can also pass the URL of a public booking page that embeds one OnlineAfspraken widget. If the page has several widgets, use the direct URL of the one you want.

Connect your MCP client

Codex

sh
codex mcp add onlineafspraken-slots -- /absolute/path/to/onlineafspraken-slots-mcp/run.shcodex mcp list

Claude Code

sh
claude mcp add --scope user --transport stdio onlineafspraken-slots -- /absolute/path/to/onlineafspraken-slots-mcp/run.shclaude mcp list

The user scope makes the server available in all your Claude Code projects. See the Claude Code MCP documentation for other scopes.

Claude Desktop

Add this entry under mcpServers in your Claude Desktop configuration, then restart Claude Desktop:

json
{  "mcpServers": {    "onlineafspraken-slots": {      "command": "/absolute/path/to/onlineafspraken-slots-mcp/run.sh"    }  }}

If you already have an mcpServers object, add just the onlineafspraken-slots entry to it. The Claude Desktop local server guide explains where to manage local servers and check their connection status.

OpenCode

sh
opencode mcp add onlineafspraken-slots --global -- /absolute/path/to/onlineafspraken-slots-mcp/run.shopencode mcp list

The global option makes the server available in every OpenCode project. See the OpenCode MCP documentation for project-specific configuration.

After the first PyPI release, clients that support a package runner can launch the onlineafspraken-slots-mcp command from that package instead of using a local checkout.

Tool inputs

The server exposes get_available_slots:

InputRequiredMeaning
booking_pageYesFull HTTPS URL of a public OnlineAfspraken widget or a page that embeds it.
date_isoNoDate in YYYY-MM-DD format. Defaults to today in Europe/Amsterdam.
roomNoPart of an appointment type name to filter the results.

Results include the appointment type names, available start times, date, timezone, and the time the availability was checked. The room input is named for the original use case; it works with any appointment type.

Limitations

The server uses the widget's public, undocumented read endpoint. A provider change may require an update. A booking page must expose its widget URL in a script, iframe, or link for automatic discovery. Available slots can change between lookup and booking.

License

MIT

Publishing a release

For maintainers: keep the version in pyproject.toml and server.json in sync. To publish the first release, configure a pending PyPI trusted publisher with these values:

PyPI fieldValue
PyPI project nameonlineafspraken-slots-mcp
OwnerRichieB2B
Repositoryonlineafspraken-slots-mcp
Workflowpublish-pypi.yml
Environmentpypi

Then publish a GitHub release tagged v0.1.0. The release workflow builds and checks the distributions, uploads them to PyPI through trusted publishing, and publishes the matching version to the official MCP Registry through GitHub OIDC.

The official MCP Registry guide explains the publishing process. The registry checks the mcp-name marker above against the README included in the PyPI release.

来源:README.md,提交 4b15b47

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Sep 26, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分