vbl-mcp
A read-only MCP server that provides access to the public Basketball Vlaanderen (VBL) API, enabling users to query clubs, teams, matches, standings, and more.
README
vbl-mcp
MCP (Model Context Protocol) server for the public Basketball Vlaanderen (VBL) API — the vblcb.wisseq.eu backend used by basketbal.vlaanderen. Read-only.
Repository: github.com/jmolinasoler/vbl_mcp · Docker image: jmolinaso/vbl-mcp · Public instance: vblmcp.valvestudio.io
See examples/ for ready-made MCP client configurations (Claude Code, Hermes, stdio-only clients via mcp-remote), a Coolify Docker Compose file, and a /vbl Agent Skill that runs the right queries from a single slash command.
Official API documentation: ApiDocV2.pdf (source).
Terms of use (from the official document): the APIs may only be used to integrate match calendars, results and standings on websites of clubs affiliated with Basketbal Vlaanderen vzw. Any other party or use requires contacting info@basketbal.vlaanderen.
Features
- Two transports: stdio (local MCP clients) and Streamable HTTP (
/mcp) for deployments. - Status dashboard at
/(HTTP mode): uptime, active sessions with client name/IP/last activity, tool-usage counters and a recent-calls log — so you can see who is using the server. Auto-refreshes every 15 s; stats are in-memory and reset on restart. - Health endpoint at
/health: JSON with uptime, session/call counters and a cached (60 s) reachability check of the upstream VBL API. - Optional API key auth: set
MCP_API_KEYSto require anX-API-Keyheader on/mcp(the dashboard and/healthstay open). Multiple keys are supported and can be labeled per client (hermes:key1,claude:key2) — the label shows on the dashboard next to each session.
Tools
| Tool | VBL endpoint | Description |
|---|---|---|
list_clubs |
OrgList?p=1 |
All clubs, with optional filter on name/city/region/stam number |
get_club |
OrgDetailByGuid |
Club detail: teams and their poules, website, address, venues (accomms), board (bestuur) |
get_club_members |
RelatiesByOrgGuid |
Registered members of a club (players, coaches, …) |
get_club_matches |
OrgMatchesByGuid |
All matches of all teams of a club |
get_team |
TeamDetailByGuid |
Team detail: official standings of its poules, roster (spelers) and staff (tvlijst) |
get_team_matches |
TeamMatchesByGuid |
Calendar and results of one team |
get_poule_matches |
PouleMatchesByGuid |
Full calendar and results of a poule (series) |
get_poule_standings |
TeamDetailByGuid |
Official standings of a poule (rangNr, wedPunt, ptVoor/ptTegen, …); falls back to standings computed from played matches |
get_match |
MatchesByWedGuid |
Full match detail (rescheduling history optional) |
get_match_lineup |
DwfDeelByWedGuid (PUT) |
Digital scoresheet (DWF) lineups; null when not yet available |
Local development
git clone https://github.com/jmolinasoler/vbl_mcp.git
cd vbl_mcp
npm install
npm run build
# stdio mode (default) — for Claude Code / Claude Desktop
npm start
# HTTP mode — dashboard on http://localhost:3000
npm run start:http
Claude Code
The repo ships a .mcp.json, so opening this directory with Claude Code registers the server automatically (stdio). To register it globally:
claude mcp add vbl -- node /path/to/vbl_mcp/dist/index.js
To use a deployed instance over HTTP instead:
claude mcp add --transport http vbl https://your-domain.example/mcp
# with auth:
claude mcp add --transport http vbl https://your-domain.example/mcp --header "X-API-Key: <key>"
Claude Desktop
{
"mcpServers": {
"vbl": {
"command": "node",
"args": ["/path/to/vbl_mcp/dist/index.js"]
}
}
}
Docker
Build the image:
git clone https://github.com/jmolinasoler/vbl_mcp.git
cd vbl_mcp
docker build -t vbl-mcp .
Run it:
docker run -d --name vbl-mcp -p 3000:3000 vbl-mcp
# optionally protect the MCP endpoint with one or more API keys:
docker run -d --name vbl-mcp -p 3000:3000 -e MCP_API_KEYS="hermes:change-me,claude:change-me-too" vbl-mcp
Verify:
curl http://localhost:3000/health # health JSON
open http://localhost:3000/ # status dashboard
The image is a multi-stage build (Node 22 alpine, dev dependencies pruned, runs as the non-root node user) and declares a Docker HEALTHCHECK against /health.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
PORT |
3000 |
HTTP listen port |
MCP_TRANSPORT |
– | Set to http to force HTTP mode (the container CMD already passes --http) |
MCP_API_KEYS |
– | If set, /mcp requires a valid X-API-Key header. Comma-separated keys, each optionally labeled: label:key,label2:key2 (labels identify clients on the dashboard) |
Publishing to Docker Hub
Automatically (GitHub Actions)
The repo ships a workflow (.github/workflows/docker-publish.yml) that builds a multi-arch image (linux/amd64 + linux/arm64) and pushes it to Docker Hub on every push to main and on version tags (v*). One-time setup:
- On Docker Hub, create the repository (published as
jmolinaso/vbl-mcp) and an access token (Account Settings → Personal access tokens, Read & Write). - On GitHub (Settings → Secrets and variables → Actions), add two repository secrets:
DOCKERHUB_USERNAME— your Docker Hub usernameDOCKERHUB_TOKEN— the access token
- Push to
main(publishes:latestand:sha-…) or tag a release (git tag v0.2.0 && git push --tagspublishes:0.2.0and:0.2).
Manually
docker login
docker build -t jmolinaso/vbl-mcp:latest .
docker push jmolinaso/vbl-mcp:latest
Deploying on Coolify
Option A — from Docker Hub (recommended once published)
- In Coolify: + New → Docker Image and enter the image name:
jmolinaso/vbl-mcp:latest. - Ports Exposes:
3000. - (Recommended) Add the environment variable
MCP_API_KEYSwith one or more strong keys (hermes:key1,claude:key2) so only your clients can call/mcp. - (Optional) In Health Checks, set the path to
/healthon port3000— or rely on the image's built-in DockerHEALTHCHECK. - Assign a domain and deploy. Coolify handles HTTPS via its proxy.
To pick up a new version, push the updated image and hit Redeploy (with the :latest tag Coolify re-pulls the image; pin a version tag like :0.2.0 if you prefer explicit upgrades).
Option B — build from the Git repository
- In Coolify: + New → Application, choose Public Repository and enter
https://github.com/jmolinasoler/vbl_mcp(branchmain). - Build Pack:
Dockerfile(Coolify detects theDockerfileat the repo root automatically). - Continue with steps 2-5 of Option A (port
3000,MCP_API_KEYS, health check, domain).
Option C — Docker Compose
A ready-made compose file lives at examples/docker-compose.coolify.yml: pick Build Pack: Docker Compose with that file as Docker Compose Location, or paste it into + New → Docker Compose Empty. It pulls the Docker Hub image (or optionally builds from the repo), wires the domain via Coolify's SERVICE_FQDN magic variable and includes the /health container health check.
After deploying:
https://your-domain/— status dashboard (who is connected, tool usage).https://your-domain/health— health check (JSON, includes upstream VBL API reachability).https://your-domain/mcp— MCP Streamable HTTP endpoint for clients.
GUIDs
- Club:
BVBL1004(Antwerp Giants) - Team:
BVBL1004HSE 2— team GUIDs contain two spaces; pass them exactly as returned byget_club - Poule:
BVBL26279180NAHSE11A(Top Division Men 1, season 2026-27; the 4 digits afterBVBLencode the season) - Match:
BVBL26279180NAHSE11AAB
Notes
- The API only serves current-season data; past seasons are purged.
- Field names are Dutch (
naam= name,plaats= city,uitslag= result,gespeeld= played,tT/tU= home/away team,wedPunt= competition points,ptVoor/ptTegen= points for/against). - The officially documented endpoints are the five wisseq methods in the table (
OrgDetailByGuid,OrgMatchesByGuid,RelatiesByOrgGuid,TeamDetailByGuid,TeamMatchesByGuid).OrgList,PouleMatchesByGuid,MatchesByWedGuidand the DWF endpoints live on the same backend and are used by the official website, but are not part of the PDF. - Errors use standard HTTP status codes (400, 404, 500, …) per the official document.
License
MIT — © 2026 Julio Molina Soler. Note that the license covers this server's code only; usage of the VBL API itself is subject to the terms quoted at the top of this README.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.