MCP server for accessing real-time emergency alerts from the Israeli Home Front Command (Pikud Haoref). Includes rocket alerts, aerial intrusions, earthquakes, and emergency announcements with city and region filtering.
Clone from GitHub to install
git clone https://github.com/LeonMelamud/pikud-a-oref-mcp
cd pikud-a-oref-mcp
docker compose build.mcp.json
{
"mcpServers": {
"pikud-haoref": {
"command": "docker",
"args": [
"compose",
"up",
"-d"
],
"cwd": "/path/to/pikud-a-oref-mcp"
}
}
}check_current_alertsCheck for current active emergency alerts from the subscribed SSE stream
get_alert_historyGet recent alert history from the Pikud Haoref API with optional region and city filtering
get_connection_statusGet the current status of the SSE subscription connection to the alert service
get_city_alertsGet alert history for a specific city from the local SQLite database with fuzzy matching
get_db_statsGet statistics about the local alert database including total alerts and city counts
poha://alerts/current-statuspoha://alerts/current-statusCurrent status of the alert monitoring system including connection health and latest alerts
Official Israeli Home Front Command emergency alerts API
Are there any active emergency alerts in my area right now?Show the alert history for Tel Aviv from the last few hoursWhat is the connection status to the Pikud Haoref alert system?Show statistics about alerts stored in the databaseWere there any alerts in Haifa today?API_KEYDATABASE_PATHGEOIP_DB_PATHMCP_PORTPython 3.10+DockerDocker ComposeRequires an Israeli IP address to access the Pikud Haoref API. For cloud deployment, use a GCP me-west1 (Tel Aviv) instance. Run with: git clone the repo, then docker compose up -d. Services run on ports 8000 (poller), 8001 (MCP server), and 8002 (SSE gateway).
Find public shelters (miklatim) in Israel. Currently supports Jerusalem with 198 shelters. Nearest shelter search, filtering by type, capacity, and accessibility.
Real-time rocket alerts from Israel's RedAlert system. Historical statistics, shelter search, and city data through 12 MCP tools.