bakom-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bakom-mcpCheck 5G coverage in Bern"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐จ๐ญ Part of the Swiss Public Data MCP Portfolio
๐ก bakom-mcp
MCP server for BAKOM open data โ broadband, mobile coverage, media and Swiss telecom statistics.
Overview
bakom-mcp connects AI assistants like Claude to the Swiss Federal Office of Communications (BAKOM) open data infrastructure. It enables natural-language queries about broadband availability, 5G/4G coverage, mobile antenna locations, licensed broadcasters (RTV database), and telecommunications statistics โ all without API keys.
All data is published as Open Government Data (OGD) on opendata.swiss / geo.admin.ch under CC BY 4.0 โ see the Data Licence section below for attribution requirements.
Anchor demo query: "Which school buildings in district 7 do not yet have fibre optic connectivity?"
bakom_multi_standort_konnektivitaetdelivers the comparison table automatically.
โ More use cases by audience โ
Related MCP server: srgssr-mcp
Scope
What this server does
โ Read-only queries against three public BAKOM/Confederation APIs:
api3.geo.admin.ch/wms.geo.admin.ch(broadband, mobile coverage, antennas)ckan.opendata.swiss(telecom statistics, dataset metadata)rtvdb.ofcomnet.ch(licensed radio/TV broadcasters)
โ Returns aggregated, anonymous data โ no personal data, no household-level identification.
โ Bound to Swiss WGS84 coordinates (lat 45.8โ47.9, lon 5.9โ10.6) via Pydantic input validation.
โ Egress is locked to a code-layer allow-list of the six known data-source hosts.
What this server does not
โ Send data anywhere (read-only, no write tools).
โ Access the local filesystem (no path-traversal surface).
โ Use authentication tokens (none required โ all sources are public OGD).
โ Cache or persist user inputs across calls.
โ Execute shell commands or arbitrary code (no subprocess/os.system/eval).
Features
๐ถ Broadband availability โ Fixed-line coverage at 30/100/300/500/1000 Mbit/s (250ร250m grid)
๐ Fibre status โ FTTB/FTTH availability per location
๐ Multi-location comparison โ Connectivity check for up to 20 locations simultaneously
๐ฑ Mobile coverage โ 5G/4G/3G outdoor coverage (100ร100m grid)
๐ก Antenna search โ Mobile and broadcast transmitters within a configurable radius
๐บ RTV database โ Search licensed radio and TV broadcasters by name, type, canton
๐๏ธ Media landscape โ BAKOM media structure reports and datasets
๐ Telecom statistics โ Fixed-line, mobile, broadband market data via opendata.swiss
๐๏ธ Broadband Atlas catalogue โ All BAKOM dataset layers with direct API links
๐ No authentication required โ All data is Open Government Data (OGD)
Prerequisites
Python 3.11+
uvorpipfor installationInternet connection (live APIs: geo.admin.ch, opendata.swiss, rtvdb.ofcomnet.ch)
Installation
# Recommended: uvx (no permanent installation required)
uvx bakom-mcp
# Or install with pip
pip install bakom-mcp
# Development install
git clone https://github.com/malkreide/bakom-mcp
cd bakom-mcp
pip install -e ".[dev]"Quickstart
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"bakom": {
"command": "uvx",
"args": ["bakom-mcp"]
}
}
}Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Cloud / HTTP Transport
python -m bakom_mcp.server --http
# Server running at http://localhost:8050/mcpConfiguration via environment variables (see .env.example):
Variable | Default | Purpose |
|
| Bind address. Set to |
|
| TCP port. |
| (empty) | Comma-separated allowed origins for browser clients. Empty = CORS disabled. |
Docker
A hardened container image is provided. Suitable for cloud deployments behind a reverse proxy (Caddy, Traefik, nginx).
# Build & run via compose (recommended)
docker compose up --build
# Or via docker run
docker build -t bakom-mcp:latest .
docker run --rm \
--read-only \
--cap-drop=ALL \
--security-opt=no-new-privileges \
--tmpfs /tmp:rw,size=16M \
-p 127.0.0.1:8050:8050 \
bakom-mcp:latestThe image runs as non-root (UID 10001), uses a read-only filesystem, drops all Linux capabilities and refuses privilege escalation. Resource limits are configured in docker-compose.yml (256 MB memory, 0.5 CPU, 64 PIDs). The default port mapping binds to 127.0.0.1 only โ for public exposure, terminate TLS and CORS at a reverse proxy.
Cursor / VS Code / LibreChat
{
"bakom": {
"command": "uvx",
"args": ["bakom-mcp"],
"transport": "stdio"
}
}๐ก "stdio for the developer laptop, HTTP/SSE for the browser."
Available Tools (12)
Broadband & Connectivity
Tool | Description |
| Fixed-line coverage at a coordinate (30โ1000 Mbit/s) |
| FTTB/FTTH fibre availability |
| Connectivity comparison for up to 20 locations |
Mobile & Transmitters
Tool | Description |
| 5G/4G/3G outdoor coverage |
| Mobile antennas within a configurable radius |
| Radio/TV transmitter sites near a location |
Media & RTV
Tool | Description |
| Search licensed broadcasters (RTV database) |
| Swiss media landscape datasets |
| Current BAKOM topics (5G, media, AI, postal) |
Statistics & Catalogue
Tool | Description |
| Telecom statistics from opendata.swiss |
| Full catalogue of Broadband Atlas layers |
| ๐ Health check for all configured data sources |
Example Prompts
What is the broadband situation at Schulhaus Leutschenbach (47.4148, 8.5654)?
Compare 5G and fibre coverage for these three school buildings: [coordinates]
Which radio stations are licensed in canton Zurich?
Show me the current BAKOM position on 5G frequency allocation.
List all Broadband Atlas datasets available via geo.admin.ch.Safety & Limits
Aspect | Details |
Access | Read-only ( |
Personal data | No personal data โ all sources are aggregated, public open data |
Rate limits | Built-in per-query caps (max 50 antennas, max 20 locations, max 50 RTV results) |
Timeout | 20 seconds per API call |
Authentication | No API keys required โ all 3 APIs are publicly accessible |
Licences | All data under CC0 / open licences (Open Government Data) |
Terms of Service | Subject to ToS of the respective data sources: geo.admin.ch, opendata.swiss, rtvdb.ofcomnet.ch |
Data Sources
Source | Data | Authentication |
Broadband Atlas, mobile coverage, antenna locations | None | |
BAKOM datasets, telecom statistics | None | |
Licensed radio/TV broadcasters | None |
All data is published under open licences (CC0 / OGD).
Synergies with the MCP Portfolio
bakom-mcp can be combined with other servers in the portfolio for multi-dimensional queries:
zurich-opendata-mcp โ school building addresses
+
bakom-mcp โ fibre and 5G status
=
"Digital equity" dashboard for all school districtsFurther combinations:
srgssr-mcp+bakom-mcpโ Media coverage and broadcast networkswiss-statistics-mcp+bakom-mcpโ Telecom market developmentfedlex-mcp+bakom-mcpโ Regulatory context (RTVG, FMG)
Project Structure
bakom-mcp/
โโโ src/bakom_mcp/
โ โโโ __init__.py # Package
โ โโโ server.py # MCP server (12 tools, 2 resources)
โ โโโ py.typed # PEP 561 type marker
โโโ tests/
โ โโโ test_integration.py # Integration tests (live APIs)
โโโ assets/
โ โโโ demo.svg # Demo flow diagram
โโโ .github/workflows/
โ โโโ ci.yml # CI: lint, syntax, import, tests
โ โโโ publish.yml # PyPI publish on release
โโโ .gitignore
โโโ pyproject.toml # Build config (hatchling)
โโโ CHANGELOG.md
โโโ CONTRIBUTING.md # Contribution guide (English)
โโโ CONTRIBUTING.de.md # Contribution guide (German)
โโโ SECURITY.md # Security policy (English)
โโโ SECURITY.de.md # Security policy (German)
โโโ LICENSE # MIT License
โโโ README.md # This file (English)
โโโ README.de.md # German versionTesting
# Unit tests (no network required)
PYTHONPATH=src pytest tests/ -m "not live"
# Integration tests (live APIs, internet required)
PYTHONPATH=src pytest tests/ -m "live"Changelog
See CHANGELOG.md
Contributing
Contributions are welcome! See CONTRIBUTING.md (๐ฉ๐ช Deutsch) for guidelines on reporting bugs, suggesting features, and submitting pull requests.
Security
To report a vulnerability, see the Security Policy (๐ฉ๐ช Deutsch). Please report security issues privately via GitHub Security Advisories rather than public issues.
Software Licence
MIT License โ see LICENSE.
Data Licence
The BAKOM open data delivered through this server is published under CC BY 4.0. When using or redistributing tool outputs, attribute the source as:
Source: Federal Office of Communications (BAKOM) via opendata.swiss / geo.admin.ch ยท Licence: CC BY 4.0
Tool outputs already include this footer automatically. The Markdown response format ends with the attribution line; downstream applications that consume the JSON format should propagate the source/licence metadata to their end users.
Author
Hayal Oezkan ยท github.com/malkreide
Credits & Related Projects
Data: BAKOM Open Data โ Federal Office of Communications (OFCOM/BAKOM)
Geodata: geo.admin.ch โ swisstopo / Federal Geodata Infrastructure
Protocol: Model Context Protocol โ Anthropic / Linux Foundation
Related: zurich-opendata-mcp โ MCP server for Zurich city open data
Related: swiss-transport-mcp โ Swiss public transport MCP server
Portfolio: Swiss Public Data MCP Portfolio
Part of the Swiss Open Data MCP portfolio โ public data deserves public interfaces.
Installation
Run via uv's uvx โ no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):
{
"mcpServers": {
"bakom-mcp": {
"command": "uvx",
"args": [
"bakom-mcp"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/malkreide/bakom-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server