# Elsu

> Power and water cuts in Istanbul, by district, neighbourhood and street, gathered from the operators' own published lists (BEDAŞ, AYEDAŞ via EPİAŞ, İSKİ via e-Devlet). Free, no key. Not an official source.

Elsu checks every 15 to 30 minutes and keeps a raw copy of each source. It never says "all clear" when a source is down: it says the data is unavailable, with the official link.

## Connect (MCP)

- Endpoint: https://elsu.app/mcp (Streamable HTTP, stateless, JSON responses, no auth)
- Claude Code: `claude mcp add --transport http elsu https://elsu.app/mcp`
- Any MCP client: add the URL above as a remote HTTP server.
- Server card: https://elsu.app/.well-known/mcp.json

## Tools

- `check_outages`: Power and water status for one Istanbul address: ongoing, planned or recently ended cuts, each with a confidence (street, neighbourhood or district), the sources used and whether each was healthy, plus a one-line summary per utility. Pass district + neighbourhood (+ street), or a free-text "address". Misspelt names are corrected with a note or refused with suggestions, never answered as "no cuts".
- `find_place`: Turn free text into Istanbul places Elsu knows: "Moda Caddesi Kadıköy", "caferaga", "Bağdat Cd Suadiye". Returns neighbourhoods and streets with their district, best first. Use the result in check_outages.
- `list_outages`: Every current and recently ended cut in one district, or across the whole city if no district is given, optionally for one utility or one local day. Use for "where are the cuts today" or neighbourhood roundups.
- `get_outage`: Full detail for one outage id (from check_outages or list_outages): official text, every area and street, times, source link, and an .ics calendar link.
- `list_districts`: The 39 Istanbul districts Elsu covers, with slug, side of the city and the sources for each utility.
- `list_neighbourhoods`: Neighbourhoods (mahalleler) in a district, from the street gazetteer (OpenStreetMap). Use to check spelling before check_outages.
- `source_health`: Whether each data source is reachable now and when it last updated. Explains an "unavailable" answer.

## How to read answers

Elsu reports power and water cuts in Istanbul (all 39 districts), by district, neighbourhood and street, from the operators' own published lists.
Sources: BEDAŞ (European side power), AYEDAŞ via EPİAŞ (Asian side power), BEDAŞ unplanned via EPİAŞ, İSKİ via e-Devlet (water).

How to use it:
1. If you have a free-text address, call find_place first, then check_outages with the district and neighbourhood it returns. Or pass check_outages an "address" directly.
2. check_outages gives each utility a "state":
   ongoing, planned, restored: there are events (restored means it ended in the last few hours, "probably back").
   clear: every source is healthy and complete, and lists nothing.
   none_reported: nothing listed, but a source may not list every cut; its sources[].coverageNote says what it misses (on the Asian side, EPİAŞ shows planned cuts on the day and unplanned ones a day later, so nothing there is live). Do not tell the user it is all clear.
   unavailable: a source is down. Say the data is unavailable and give the official link. Never say all clear.
3. Each event has a confidence: street (affects their street), neighbourhood (may affect their neighbourhood) or district (reported somewhere in the district, may not affect them). Say which.
4. Read "notes": if a name was corrected ("Read neighbourhood X as Y"), mention it. If a tool refuses a name, it lists suggestions: pick one or ask the user.
5. get_outage gives full detail for an event id, including the official text and a calendar (.ics) link.
Times are Istanbul local time (+03:00). Quote the "summary" field if you need a sentence. Always pass on the source link, and say the data is not official.

## REST (same data)

- OpenAPI: https://elsu.app/openapi.json
- `GET https://elsu.app/v1/istanbul/status?district=kadikoy&neighbourhood=Caferağa[&street=Moda Caddesi]`
- `GET https://elsu.app/v1/istanbul/districts/{slug}`: current and recently ended cuts in a district
- `GET https://elsu.app/v1/istanbul/find?q=moda caddesi kadıköy`: free-text place search
- `GET https://elsu.app/v1/istanbul/events/{id}` and `.../{id}.ics`: one cut, and a calendar file
- `GET https://elsu.app/v1/istanbul/health`: which sources are up

## Example

```
check_outages { "district": "Kadıköy", "neighbourhood": "Göztepe" }
→ power: { state: "ongoing", summary: "Power cut now in your neighbourhood (AYEDAŞ), expected back around 17:30." }
  water: { state: "clear", summary: "No water cuts listed by İSKİ." }
```

## Etiquette

Read-only and free. Please cache answers for a minute or more; the data changes every 15 minutes at most. Attribute "Elsu (elsu.app)" and the operator, and link the operator's page. Data from OpenStreetMap (streets) is © OpenStreetMap contributors, ODbL.

## More

- Website: https://elsu.app
- Sources and their limits: https://elsu.app/en/data-sources
