Skip to main content
Glama

Golemio MCP Server

An MCP server that exposes Prague's Golemio open data API to AI assistants. Query public transit departures, air quality, parking availability, and more.

Installation

Get an API key from https://api.golemio.cz/api-keys/

Add to your MCP configuration (e.g., ~/.mcp.json):

{
  "mcpServers": {
    "golemio": {
      "command": "uvx",
      "args": ["golemio-mcp"],
      "env": {
        "GOLEMIO_API_KEY": "your-api-key"
      }
    }
  }
}

Requires uv to be installed.

NixOS users: uvx won't work due to dynamic linking. See Development for NixOS-specific configuration.

Related MCP server: TFL MCP Server for Poke

Available Tools

Public Transit

  • search_stops - Find stops by name (works with or without Czech diacritics)

  • get_departures - Real-time departure boards

City Data

  • get_air_quality_stations - Air quality measurements

  • get_parking_lots - Parking availability

  • get_waste_stations - Waste container fill levels

  • get_bicycle_counters / get_bicycle_detections - Bike traffic data

Points of Interest

  • get_medical_institutions - Hospitals, clinics

  • get_municipal_libraries - Public libraries

  • get_playgrounds - Playgrounds

  • get_gardens - Public gardens

  • get_city_districts - District boundaries

Development

Requires Python 3.12+ and uv.

# Install dependencies
uv sync

# Run tests
uv run pytest -v

# Run server
uv run golemio-mcp

Local MCP configuration

To run from a local clone instead of PyPI:

{
  "mcpServers": {
    "golemio": {
      "command": "uv",
      "args": ["--directory", "/path/to/golemio-mcp-server", "run", "golemio-mcp"],
      "env": {
        "GOLEMIO_API_KEY": "your-api-key"
      }
    }
  }
}

On NixOS, use system Python to avoid dynamic linking issues:

{
  "mcpServers": {
    "golemio": {
      "command": "nix-shell",
      "args": [
        "-p", "uv",
        "--run", "UV_PYTHON=/run/current-system/sw/bin/python3 uv --directory /path/to/golemio-mcp-server run golemio-mcp"
      ],
      "env": {
        "GOLEMIO_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

12 tools
get_air_quality_stationsA

Get air quality monitoring stations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    districts: Filter by district codes (comma-separated)
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset, +1 more. Returns: result

get_bicycle_countersA

Get bicycle counting stations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset. Returns: result

get_bicycle_detectionsA

Get bicycle traffic detection data from counting stations.

Args:
    id: Counter ID to get detections for
    from_date: Start date in ISO format (e.g. "2024-01-01T00:00:00Z")
    to_date: End date in ISO format (e.g. "2024-01-31T23:59:59Z")
    aggregate: Whether to aggregate the results

Inputs: id, to_date, aggregate, from_date. Returns: result

get_city_districtsA

Get Prague city district information.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset. Returns: result

get_departuresA

Get upcoming departures from a Prague public transit stop.

Args:
    stop_ids: GTFS stop ID(s), comma-separated (e.g. "U693Z2P" or "U693Z1P,U693Z2P").
              Use search_stops to find stop IDs by name.
    limit: Maximum number of departures per stop (default: 5)
    minutes_after: Show departures within this many minutes (default: 60)

Inputs: stop_ids (required), limit, minutes_after. Returns: result

get_gardensA

Get public garden locations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    districts: Filter by district codes (comma-separated)
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset, +1 more. Returns: result

get_medical_institutionsA

Get healthcare facilities in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    districts: Filter by district codes (comma-separated)
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset, +1 more. Returns: result

get_municipal_librariesA

Get public library locations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    districts: Filter by district codes (comma-separated)
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset, +1 more. Returns: result

get_parking_lotsA

Get parking lot information and availability in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset. Returns: result

get_playgroundsA

Get public playground locations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    districts: Filter by district codes (comma-separated)
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination

Inputs: limit, range, latlng, offset, +1 more. Returns: result

get_waste_stationsA

Get sorted waste collection stations in Prague.

Args:
    latlng: Coordinates as "latitude,longitude" (e.g. "50.0890,14.4168")
    range: Search radius in meters from the coordinates
    limit: Maximum number of results (default: 10)
    offset: Number of results to skip for pagination
    onlyMonitored: Filter to only monitored stations
    districts: Filter by district codes (comma-separated)

Inputs: limit, range, latlng, offset, +2 more. Returns: result

search_stopsA

Search for Prague public transit stops by name.

Args:
    name: Stop name to search for (case-insensitive, diacritics-insensitive).
          Examples: "Letňany", "Letnany", "mustek", "Můstek" all work.
    limit: Maximum number of results (default: 10)

Inputs: name (required), limit. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct resource type (bicycle counters, detections, air quality stations, etc.), and descriptions clarify the differences. The related bicycle counters/detections tools are clearly differentiated.

    Naming Consistency5/5

    All tools follow a consistent verb_noun snake_case pattern (get_* or search_*), with only search_stops deviating from the get_ prefix to reflect its search functionality.

    Tool Count5/5

    With 12 tools, the server covers a broad range of Prague city data without becoming unwieldy; the size is appropriate for the domain.

    Completeness3/5

    The toolset provides location lookups for many facility types and includes real-time departures and bicycle detections. However, some natural complementing operations are missing, such as air quality measurements or transit route information, leaving noticeable gaps.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers