vbl-mcp

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.

Category
访问服务器

README

vbl-mcp

License: MIT

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_KEYS to require an X-API-Key header on /mcp (the dashboard and /health stay 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:

  1. On Docker Hub, create the repository (published as jmolinaso/vbl-mcp) and an access token (Account Settings → Personal access tokens, Read & Write).
  2. On GitHub (Settings → Secrets and variables → Actions), add two repository secrets:
    • DOCKERHUB_USERNAME — your Docker Hub username
    • DOCKERHUB_TOKEN — the access token
  3. Push to main (publishes :latest and :sha-…) or tag a release (git tag v0.2.0 && git push --tags publishes :0.2.0 and :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)

  1. In Coolify: + New → Docker Image and enter the image name: jmolinaso/vbl-mcp:latest.
  2. Ports Exposes: 3000.
  3. (Recommended) Add the environment variable MCP_API_KEYS with one or more strong keys (hermes:key1,claude:key2) so only your clients can call /mcp.
  4. (Optional) In Health Checks, set the path to /health on port 3000 — or rely on the image's built-in Docker HEALTHCHECK.
  5. 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

  1. In Coolify: + New → Application, choose Public Repository and enter https://github.com/jmolinasoler/vbl_mcp (branch main).
  2. Build Pack: Dockerfile (Coolify detects the Dockerfile at the repo root automatically).
  3. 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 by get_club
  • Poule: BVBL26279180NAHSE11A (Top Division Men 1, season 2026-27; the 4 digits after BVBL encode 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, MatchesByWedGuid and 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.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选