Skip to main content

MCP server exposing Prague's Golemio API for AI assistants

Project description

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.

Setup

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

Standard systems (macOS, Ubuntu, etc.)

Install uv if you haven't: curl -LsSf https://astral.sh/uv/install.sh | sh

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

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

NixOS

On NixOS, uv needs to use the 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 /absolute/path/to/golemio-mcp-server run golemio_server.py"
      ],
      "env": {
        "GOLEMIO_API_KEY": "your-api-key"
      }
    }
  }
}

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

golemio_mcp-0.1.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

golemio_mcp-0.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file golemio_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: golemio_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.23

File hashes

Hashes for golemio_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 414cb0ca25178c2df6f42f7f8ce7379d4b983031cb7a3438b06df4c8d69f08bc
MD5 f565c89e6822122ca0cec5818a5c2bc4
BLAKE2b-256 7ce64b2857a23ee4d5c18814c70b3956219897c43b7ee71e8178a17f1afa5799

See more details on using hashes here.

File details

Details for the file golemio_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for golemio_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8b224dddc16ba028ab0b1c3417d32ad6e1fda00e0d73596a36de663544a7b6
MD5 4285a9facef7f2804dace13e692e53c4
BLAKE2b-256 1b861a6e5c11384890dcdc5b1fe34f5621ddbca5e4b848f58e2afbaabbc6a19f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page