Skip to main content
Glama
io.github.RichieB2B/onlineafspraken-slots

io.github.RichieB2B/onlineafspraken-slots

by RichieB2B

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 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.

Related MCP server: OpenSlot MCP

Connect your MCP client

Codex

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

Claude Code

claude mcp add --scope user --transport stdio onlineafspraken-slots -- /absolute/path/to/onlineafspraken-slots-mcp/run.sh
claude 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:

{
  "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

opencode mcp add onlineafspraken-slots --global -- /absolute/path/to/onlineafspraken-slots-mcp/run.sh
opencode 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:

Input

Required

Meaning

booking_page

Yes

Full HTTPS URL of a public OnlineAfspraken widget or a page that embeds it.

date_iso

No

Date in YYYY-MM-DD format. Defaults to today in Europe/Amsterdam.

room

No

Part 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 field

Value

PyPI project name

onlineafspraken-slots-mcp

Owner

RichieB2B

Repository

onlineafspraken-slots-mcp

Workflow

publish-pypi.yml

Environment

pypi

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.

Available Tools

1 tool
get_available_slotsA

Get public OnlineAfspraken slots for a booking page and ISO date.

booking_page may be a page embedding one OnlineAfspraken widget or the widget URL itself. Omit date_iso for today in Europe/Amsterdam. Optionally filter by part of an appointment type name. This tool never books.

Inputs: booking_page (required), room, date_iso.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion with other tools. Its purpose is clearly defined as retrieving available slots without booking.

    Naming Consistency4/5

    With a single tool, naming consistency is trivially maintained. The name 'get_available_slots' follows a clear verb_noun pattern, though there are no other tools to compare against.

    Tool Count2/5

    A single tool is extremely thin for a server that presumably manages online appointments. While the tool does one specific job, the server's scope likely requires additional operations like booking or listing appointment types.

    Completeness2/5

    The tool only reads availability and explicitly never books. For an appointment-related server, this leaves major gaps such as creating, updating, or canceling appointments, making the surface incomplete for any real workflow.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables privacy-safe calendar availability queries across Outlook, iCloud, and Google ICS feeds, exposing only busy/free intervals and free-slot search without revealing event details.
      3
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables querying Doctolib's public data to find practitioners, retrieve all available appointment slots in a geographic area, access practice details, and receive alerts when new slots open.
      21
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to find available appointment slots from a public resource schedule over an inclusive date range, applying booking-window rules when requested. It returns wall-clock times and flags truncated result sets, operating read-only without account or API key.
      1
      24 PyPI
      MIT