{"at":"2026-11-23T06:23:04.562Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T06:23:05.240Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T06:23:05.841Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T06:23:06.492Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mcp-swiss","version":"0.9.0"}}}}
{"at":"2026-11-23T06:23:06.492Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:23:06.492Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:23:06.494Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search public transport stations/stops by name or coordinates","inputSchema":{"properties":{"query":{"description":"Station name","type":"string"},"type":{"enum":["all","station","poi","address"],"type":"string"},"x":{"description":"Latitude (WGS84)","type":"number"},"y":{"description":"Longitude (WGS84)","type":"number"}},"type":"object"},"name":"search_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Train/bus connections between two locations","inputSchema":{"properties":{"date":{"description":"YYYY-MM-DD, default: today","type":"string"},"from":{"description":"Station or address","type":"string"},"isArrivalTime":{"description":"Treat time as arrival time","type":"boolean"},"limit":{"description":"1-16, default: 4","type":"number"},"time":{"description":"HH:MM, default: now","type":"string"},"to":{"description":"Station or address","type":"string"}},"required":["from","to"],"type":"object"},"name":"get_connections"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Live departures from a station","inputSchema":{"properties":{"datetime":{"description":"YYYY-MM-DDTHH:MM, default: now","type":"string"},"limit":{"description":"default: 10","type":"number"},"station":{"description":"Station name","type":"string"}},"required":["station"],"type":"object"},"name":"get_departures"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Live arrivals at a station","inputSchema":{"properties":{"datetime":{"description":"YYYY-MM-DDTHH:MM, default: now","type":"string"},"limit":{"description":"default: 10","type":"number"},"station":{"description":"Station name","type":"string"}},"required":["station"],"type":"object"},"name":"get_arrivals"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Stations near coordinates","inputSchema":{"properties":{"distance":{"description":"Max distance (m)","type":"number"},"limit":{"description":"Max results","type":"number"},"x":{"description":"Latitude (WGS84)","type":"number"},"y":{"description":"Longitude (WGS84)","type":"number"}},"required":["x","y"],"type":"object"},"name":"get_nearby_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current weather at a MeteoSwiss station. For past dates use get_weather_history","inputSchema":{"properties":{"station":{"description":"Station code, e.g. BER, ZUE, LUG, GVE, SMA","type":"string"}},"required":["station"],"type":"object"},"name":"get_weather"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List MeteoSwiss weather station codes","inputSchema":{"properties":{},"type":"object"},"name":"list_weather_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Historical weather readings for a MeteoSwiss station. Only the last 32 days are available","inputSchema":{"properties":{"end_date":{"description":"YYYY-MM-DD","type":"string"},"resolution":{"default":"auto","description":"auto summarises long ranges to min/max/mean per period","enum":["auto","raw","hourly","daily"],"type":"string"},"start_date":{"description":"YYYY-MM-DD, within the last 32 days","type":"string"},"station":{"description":"Station code, e.g. BER","type":"string"}},"required":["station","start_date","end_date"],"type":"object"},"name":"get_weather_history"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current river/lake level and temperature at a BAFU hydro station","inputSchema":{"properties":{"station":{"description":"Hydro station ID, e.g. 2135 (Aare/Bern), 2243 (Rhine/Basel)","type":"string"}},"required":["station"],"type":"object"},"name":"get_water_level"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List BAFU hydro station IDs (rivers, lakes)","inputSchema":{"properties":{},"type":"object"},"name":"list_hydro_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Historical river/lake levels for a BAFU hydro station. Only the last 32 days are available","inputSchema":{"properties":{"end_date":{"description":"YYYY-MM-DD","type":"string"},"resolution":{"default":"auto","description":"auto summarises long ranges to min/max/mean per period","enum":["auto","raw","hourly","daily"],"type":"string"},"start_date":{"description":"YYYY-MM-DD, within the last 32 days","type":"string"},"station":{"description":"Hydro station ID","type":"string"}},"required":["station","start_date","end_date"],"type":"object"},"name":"get_water_history"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Address or place name to WGS84 coordinates (swisstopo)","inputSchema":{"properties":{"address":{"type":"string"}},"required":["address"],"type":"object"},"name":"geocode"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"WGS84 coordinates to address (swisstopo)","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"lng":{"description":"Longitude (WGS84)","type":"number"}},"required":["lat","lng"],"type":"object"},"name":"reverse_geocode"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search place names, localities, mountains, geographic features","inputSchema":{"properties":{"query":{"type":"string"}},"required":["query"],"type":"object"},"name":"search_places"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Rooftop solar potential at a location","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"lng":{"description":"Longitude (WGS84)","type":"number"}},"required":["lat","lng"],"type":"object"},"name":"get_solar_potential"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Geographic features and swisstopo data layers at a location","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"layers":{"description":"Comma-separated layer IDs (default: all)","type":"string"},"lng":{"description":"Longitude (WGS84)","type":"number"}},"required":["lat","lng"],"type":"object"},"name":"identify_location"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Municipality info by name","inputSchema":{"properties":{"name":{"type":"string"}},"required":["name"],"type":"object"},"name":"get_municipality"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search the ZEFIX commercial register by company name, optionally filtered by canton/legal form","inputSchema":{"properties":{"canton":{"description":"Canton of the registered seat","enum":["AG","AI","AR","BE","BL","BS","FR","GE","GL","GR","JU","LU","NE","NW","OW","SG","SH","SO","SZ","TG","TI","UR","VD","VS","ZG","ZH"],"type":"string"},"legal_form":{"description":"Legal form id, e.g. 3=AG, 4=GmbH (see list_legal_forms)","type":"number"},"limit":{"default":20,"maximum":100,"type":"number"},"name":{"description":"Full or partial name, min 3 chars; * is a wildcard","type":"string"}},"required":["name"],"type":"object"},"name":"search_companies"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Full company details by ZEFIX ehraid (from search_companies)","inputSchema":{"properties":{"ehraid":{"description":"e.g. 119283","type":"number"}},"required":["ehraid"],"type":"object"},"name":"get_company"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Companies whose registered seat is in a commune/town. ZEFIX has no street-address search","inputSchema":{"properties":{"limit":{"default":20,"maximum":100,"type":"number"},"locality":{"description":"Commune or town, e.g. Zug, Lausanne","type":"string"},"name":{"description":"Optional name filter, min 3 chars","type":"string"}},"required":["locality"],"type":"object"},"name":"search_companies_by_locality"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List cantons with codes","inputSchema":{"properties":{},"type":"object"},"name":"list_cantons"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List company legal forms (AG, GmbH, ...) with the ids used by search_companies","inputSchema":{"properties":{},"type":"object"},"name":"list_legal_forms"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Public holidays for a year, national and cantonal","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH (omit for all)","type":"string"},"year":{"description":"e.g. 2026","type":"number"}},"required":["year"],"type":"object"},"name":"get_public_holidays"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"School holiday periods for a year, by canton","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH (omit for all)","type":"string"},"year":{"description":"e.g. 2026","type":"number"}},"required":["year"],"type":"object"},"name":"get_school_holidays"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Whether today is a public holiday","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH (omit for nationwide only)","type":"string"}},"type":"object"},"name":"is_holiday_today"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Full-text search of federal parliament affairs (bills, motions, interpellations, postulates, questions, initiatives). For cantonal parliaments use search_cantonal_affairs","inputSchema":{"properties":{"limit":{"default":5,"description":"max 20","type":"number"},"query":{"description":"German term, e.g. Klimaschutz, AHV","type":"string"}},"required":["query"],"type":"object"},"name":"search_parliament_business"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Federal parliament members (National Council, Council of States), filterable by canton/party","inputSchema":{"properties":{"active":{"default":true,"description":"Only currently seated members","type":"boolean"},"canton":{"description":"Canton name in German, e.g. Zürich, Genf, Waadt","type":"string"},"limit":{"default":10,"description":"max 50","type":"number"},"party":{"description":"Party name/abbreviation, e.g. SVP, SP, FDP, Grüne, Mitte","type":"string"}},"type":"object"},"name":"get_parliament_members"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Recorded votes on a parliamentary affair (Geschäft)","inputSchema":{"properties":{"affair_id":{"description":"OpenParlData affair ID (from search_parliament_business)","type":"number"}},"required":["affair_id"],"type":"object"},"name":"get_parliament_votes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Upcoming and recent federal parliament sessions","inputSchema":{"properties":{"limit":{"default":5,"description":"max 20","type":"number"}},"type":"object"},"name":"get_session_schedule"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Debate speeches on a parliamentary affair","inputSchema":{"properties":{"affair_id":{"description":"OpenParlData affair ID (from search_parliament_business)","type":"number"},"limit":{"default":5,"description":"max 20","type":"number"}},"required":["affair_id"],"type":"object"},"name":"search_parliament_speeches"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Declared interests and mandates (boards, consulting roles) of a federal parliament member","inputSchema":{"properties":{"person_id":{"description":"OpenParlData person ID (from get_parliament_members)","type":"number"}},"required":["person_id"],"type":"object"},"name":"get_politician_interests"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search affairs in a cantonal parliament (Kantonsrat), all 26 cantons","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH","type":"string"},"limit":{"default":5,"description":"max 20","type":"number"},"query":{"description":"German term, e.g. Bildung","type":"string"}},"required":["canton"],"type":"object"},"name":"search_cantonal_affairs"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Official documents (reports, committee opinions, Federal Council statements) for a parliamentary affair","inputSchema":{"properties":{"affair_id":{"description":"OpenParlData affair ID (from search_parliament_business)","type":"number"},"limit":{"default":5,"description":"max 20","type":"number"}},"required":["affair_id"],"type":"object"},"name":"get_parliamentary_documents"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Federal parliament committee meeting schedule","inputSchema":{"properties":{"group_id":{"description":"Committee group ID (omit for all)","type":"number"},"limit":{"default":5,"description":"max 20","type":"number"}},"type":"object"},"name":"get_committee_meetings"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Live SLF avalanche bulletin: danger level (1-5), avalanche problems with aspect and elevation, validity and advice text, for one warning region, a coordinate, or all of Switzerland. Outside the winter season it reports that no bulletin is in force","inputSchema":{"properties":{"date":{"description":"YYYY-MM-DD or ISO timestamp for an archived bulletin; omit for the current one","type":"string"},"language":{"default":"en","enum":["de","en","fr","it"],"type":"string"},"lat":{"description":"WGS84 latitude, with lon; alternative to region","type":"number"},"lon":{"description":"WGS84 longitude, with lat","type":"number"},"region":{"description":"EAWS region id (e.g. CH-7114) or name, see list_avalanche_regions","type":"string"}},"type":"object"},"name":"get_avalanche_bulletin"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"The 135 SLF/EAWS avalanche warning regions (id, name, canton) for get_avalanche_bulletin","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. GR","type":"string"},"search":{"description":"Match on region id or name","type":"string"}},"type":"object"},"name":"list_avalanche_regions"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List NABEL air-quality monitoring stations (BAFU/Empa)","inputSchema":{"properties":{},"type":"object"},"name":"list_air_quality_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"NABEL station info: location, environment type, legal limits (LRV) and a link to BAFU live data (no measurements returned)","inputSchema":{"properties":{"station":{"description":"Station code, e.g. BER, ZUE, LUG, BAS, DAV","type":"string"}},"required":["station"],"type":"object"},"name":"get_air_quality"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Locality, canton and coordinates for a postcode (PLZ)","inputSchema":{"properties":{"postcode":{"description":"4 digits, e.g. 8001","type":"string"}},"required":["postcode"],"type":"object"},"name":"lookup_postcode"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Postcodes (PLZ) for a city/locality name","inputSchema":{"properties":{"city_name":{"description":"e.g. Zürich","type":"string"}},"required":["city_name"],"type":"object"},"name":"search_postcode"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List postcodes (PLZ) in a canton","inputSchema":{"properties":{"canton":{"description":"Canton code (e.g. ZH) or name","type":"string"}},"required":["canton"],"type":"object"},"name":"list_postcodes_in_canton"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Swiss Post tracking page URL for a tracking number (no live status: there is no public tracking API)","inputSchema":{"properties":{"tracking_number":{"description":"e.g. 99.00.123456.12345678 (parcel), RI 123456789 CH (registered)","type":"string"}},"required":["tracking_number"],"type":"object"},"name":"track_parcel"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ElCom electricity tariff (Rp./kWh) for a municipality, with component breakdown","inputSchema":{"properties":{"category":{"default":"H4","description":"H1–H8 household (H4 ≈ 4500 kWh/yr), C1–C7 commercial","enum":["H1","H2","H3","H4","H5","H6","H7","H8","C1","C2","C3","C4","C5","C6","C7"],"type":"string"},"municipality":{"description":"BFS number, e.g. 261 (Zürich), 351 (Bern); see search_municipality_energy","type":"string"},"year":{"description":"2011 onward, default: current year","type":"string"}},"required":["municipality"],"type":"object"},"name":"get_electricity_tariff"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Compare electricity tariffs across 2–20 municipalities","inputSchema":{"properties":{"category":{"default":"H4","enum":["H1","H2","H3","H4","H5","H6","H7","H8","C1","C2","C3","C4","C5","C6","C7"],"type":"string"},"municipalities":{"description":"BFS numbers, e.g. [\"261\", \"351\"]","items":{"type":"string"},"maxItems":20,"minItems":2,"type":"array"},"year":{"description":"2011 onward, default: current year","type":"string"}},"required":["municipalities"],"type":"object"},"name":"compare_electricity_tariffs"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Find municipality BFS numbers for the electricity tariff tools","inputSchema":{"properties":{"name":{"description":"e.g. Lausanne","type":"string"}},"required":["name"],"type":"object"},"name":"search_municipality_energy"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Permanent resident population (BFS STATPOP) for Switzerland, a canton or all cantons","inputSchema":{"properties":{"canton":{"description":"Canton code or name (e.g. ZH, Geneva); 'all' for every canton; omit for national total","type":"string"},"year":{"description":"STATPOP year, from 2010; default is the latest published","type":"number"}},"type":"object"},"name":"get_population"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search BFS datasets on opendata.swiss","inputSchema":{"properties":{"limit":{"default":10,"description":"1–20","type":"number"},"query":{"description":"e.g. unemployment, GDP","type":"string"}},"required":["query"],"type":"object"},"name":"search_statistics"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Details and resource links for a BFS dataset by opendata.swiss ID (from search_statistics)","inputSchema":{"properties":{"dataset_id":{"description":"e.g. bevolkerungsstatistik-einwohner","type":"string"}},"required":["dataset_id"],"type":"object"},"name":"get_statistic"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List currencies with SNB CHF exchange rates","inputSchema":{"properties":{},"type":"object"},"name":"list_currencies"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Latest SNB monthly-average CHF exchange rate for a currency","inputSchema":{"properties":{"currency":{"description":"ISO 4217 code, e.g. EUR","type":"string"}},"required":["currency"],"type":"object"},"name":"get_exchange_rate"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Historical SNB monthly-average CHF exchange rates (default: last 90 months)","inputSchema":{"properties":{"currency":{"description":"ISO 4217 code, e.g. EUR","type":"string"},"from":{"description":"YYYY-MM","type":"string"},"to":{"description":"YYYY-MM","type":"string"}},"required":["currency"],"type":"object"},"name":"get_exchange_rate_history"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Upcoming waste collection dates for a ZIP code. Zurich city only (8001–8099, OpenERZ)","inputSchema":{"properties":{"limit":{"default":5,"description":"max 100","type":"number"},"type":{"description":"Omit for all","enum":["waste","cardboard","paper","organic","textile","special","mobile"],"type":"string"},"zip":{"description":"e.g. 8004","type":"string"}},"required":["zip"],"type":"object"},"name":"get_waste_collection"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List waste collection types. Zurich city only (OpenERZ)","inputSchema":{"properties":{},"type":"object"},"name":"list_waste_types"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Monthly waste collection calendar for a ZIP code. Zurich city only (8001–8099, OpenERZ)","inputSchema":{"properties":{"month":{"description":"1–12, default: current month","type":"number"},"year":{"description":"default: current year","type":"number"},"zip":{"description":"e.g. 8004","type":"string"}},"required":["zip"],"type":"object"},"name":"get_waste_calendar"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Latest SRF news headlines","inputSchema":{"properties":{"category":{"default":"switzerland","enum":["switzerland","international","economy"],"type":"string"},"limit":{"default":10,"description":"max 50","type":"number"}},"type":"object"},"name":"get_swiss_news"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Keyword search in current SRF headlines (all categories)","inputSchema":{"properties":{"limit":{"default":5,"description":"max 20","type":"number"},"query":{"description":"Keyword or phrase","type":"string"}},"required":["query"],"type":"object"},"name":"search_swiss_news"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Popular vote (Volksabstimmung) results as counted in Basel-Stadt: national and cantonal votes since 2021","inputSchema":{"properties":{"limit":{"default":10,"description":"max 50","type":"number"},"year":{"description":"e.g. 2024 (omit for most recent)","type":"number"}},"type":"object"},"name":"get_voting_results"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search popular votes by title keyword (Basel-Stadt results)","inputSchema":{"properties":{"limit":{"default":5,"description":"max 20","type":"number"},"query":{"description":"Title keyword, e.g. CO2, AHV","type":"string"}},"required":["query"],"type":"object"},"name":"search_votes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Per-district Basel-Stadt results (Basel, Riehen, Bettingen, abroad) for one vote. Give vote_title and/or date","inputSchema":{"properties":{"date":{"description":"YYYY-MM-DD","type":"string"},"vote_title":{"description":"Partial title, e.g. CO2-Gesetz","type":"string"}},"type":"object"},"name":"get_vote_details"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search federally supervised dams by dam or reservoir name (SFOE)","inputSchema":{"properties":{"query":{"description":"Partial name, e.g. Grimsel, Lac des Dix","type":"string"}},"required":["query"],"type":"object"},"name":"search_dams"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Federally supervised dams in a canton","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. VS","type":"string"},"limit":{"default":20,"description":"Dams to return (1-100)","type":"number"}},"required":["canton"],"type":"object"},"name":"get_dams_by_canton"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Full technical details of one dam by name","inputSchema":{"properties":{"name":{"description":"e.g. Grande Dixence (see search_dams)","type":"string"}},"required":["name"],"type":"object"},"name":"get_dam_details"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current hiking trail closures and detours (ASTRA/Schweizer Wanderwege)","inputSchema":{"properties":{"limit":{"default":20,"description":"max 100","type":"number"},"reason":{"description":"Partial match, e.g. Steinschlag, Bauarbeiten, Hangrutsch","type":"string"},"type":{"description":"Omit for both","enum":["closure","detour"],"type":"string"}},"type":"object"},"name":"get_trail_closures"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Hiking trail closures and detours near a WGS84 point","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"lon":{"description":"Longitude (WGS84)","type":"number"},"radius":{"default":10000,"description":"Metres, max 50000","type":"number"}},"required":["lat","lon"],"type":"object"},"name":"get_trail_closures_nearby"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"BFS residential property price index (IMPI), quarterly since 2017Q1, Q4 2019 = 100","inputSchema":{"properties":{"from":{"description":"Inclusive, e.g. 2020Q1 or 2020 (default: earliest)","type":"string"},"to":{"description":"Inclusive, e.g. 2024Q4 or 2024 (default: latest)","type":"string"},"type":{"default":"all","enum":["all","houses","apartments"],"type":"string"}},"type":"object"},"name":"get_property_price_index"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search opendata.swiss for real-estate/housing datasets (prices, rents, construction, vacancies)","inputSchema":{"properties":{"limit":{"default":10,"description":"1–20","type":"number"},"query":{"description":"DE/FR/EN terms, e.g. Miete, logement, Leerwohnungen","type":"string"}},"required":["query"],"type":"object"},"name":"search_real_estate_data"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"BFS consumer price index (CPI/LIK, incl. rents), monthly, Dec 1982 = 100. Not a dedicated rent index; for purchase prices use get_property_price_index","inputSchema":{"properties":{"limit":{"default":24,"description":"Recent months, 1–60; ignored if year set","type":"number"},"year":{"description":"1982 onward (omit for recent months)","type":"number"}},"type":"object"},"name":"get_rent_index"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ASTRA traffic counting station volumes by location name","inputSchema":{"properties":{"location":{"description":"e.g. Gotthard","type":"string"}},"required":["location"],"type":"object"},"name":"get_traffic_count"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ASTRA traffic counting stations in a canton (max 20)","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH","type":"string"}},"required":["canton"],"type":"object"},"name":"get_traffic_by_canton"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"ASTRA traffic counting stations near a WGS84 point","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"lon":{"description":"Longitude (WGS84)","type":"number"},"radius":{"default":5000,"description":"Metres","type":"number"}},"required":["lat","lon"],"type":"object"},"name":"get_traffic_nearby"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Recent earthquakes in and around Switzerland (SED, ETH Zürich)","inputSchema":{"properties":{"days":{"default":30,"description":"Past days, max 365","type":"number"},"include_blasts":{"default":false,"description":"Include quarry blasts","type":"boolean"},"limit":{"default":20,"description":"max 100","type":"number"},"min_magnitude":{"default":0.5,"type":"number"}},"type":"object"},"name":"get_recent_earthquakes"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Full details of one seismic event by SED event ID","inputSchema":{"properties":{"event_id":{"description":"From the other earthquake tools, e.g. smi:ch.ethz.sed/sc25a/Event/2026errxzt","type":"string"}},"required":["event_id"],"type":"object"},"name":"get_earthquake_details"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Earthquakes within a radius of a WGS84 point (SED)","inputSchema":{"properties":{"days":{"default":90,"description":"Past days, max 365","type":"number"},"lat":{"description":"Latitude (WGS84)","type":"number"},"limit":{"default":20,"description":"max 100","type":"number"},"lon":{"description":"Longitude (WGS84)","type":"number"},"min_magnitude":{"default":0.5,"type":"number"},"radius_km":{"default":50,"description":"km, max 500","type":"number"}},"required":["lat","lon"],"type":"object"},"name":"search_earthquakes_by_location"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Current snow depth and 24h new snow at SLF IMIS stations, deepest first","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. GR","type":"string"},"limit":{"default":20,"description":"max 100","type":"number"},"min_altitude":{"description":"Metres","type":"number"}},"type":"object"},"name":"get_snow_conditions"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List SLF snow stations (IMIS automatic, manual study plots)","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. GR","type":"string"},"limit":{"default":20,"description":"max 200","type":"number"},"type":{"description":"Omit for both","enum":["imis","study-plot"],"type":"string"}},"type":"object"},"name":"list_snow_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Measurements for one SLF station: IMIS 30-min snow/weather data, or study-plot daily snow data","inputSchema":{"properties":{"station_code":{"description":"e.g. DAV2, WFJ2, 4AO0 (see list_snow_stations)","type":"string"},"type":{"default":"imis","enum":["imis","study-plot"],"type":"string"}},"required":["station_code"],"type":"object"},"name":"get_snow_measurements"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Latest hourly pollen concentrations (alder, birch, hazel, beech, ash, oak, grasses) at a MeteoSwiss station","inputSchema":{"properties":{"station":{"description":"e.g. PZH Zürich, PBE Bern, PBS Basel","type":"string"}},"required":["station"],"type":"object"},"name":"get_pollen_current"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Daily average pollen concentrations at a MeteoSwiss station","inputSchema":{"properties":{"days":{"default":7,"description":"Recent days, max 90","type":"number"},"station":{"description":"e.g. PZH Zürich, PBE Bern","type":"string"}},"required":["station"],"type":"object"},"name":"get_pollen_daily"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List MeteoSwiss pollen stations","inputSchema":{"properties":{"canton":{"description":"Canton code, e.g. ZH","type":"string"}},"type":"object"},"name":"list_pollen_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Find buildings in the federal buildings register (GWR/RegBL) by address; gives EGIDs for get_building","inputSchema":{"properties":{"address":{"description":"Street, number, locality, e.g. Bundesplatz 3 3011 Bern","type":"string"},"limit":{"default":5,"description":"max 20","type":"number"}},"required":["address"],"type":"object"},"name":"search_buildings"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Full GWR record of one building by EGID: construction, floors, areas, heating/hot-water system and energy source, parcel (EGRID), entrances, dwellings","inputSchema":{"properties":{"egid":{"description":"EGID, e.g. 2119257","type":"number"},"max_dwellings":{"default":50,"description":"max 500; 0 = summary only","type":"number"}},"required":["egid"],"type":"object"},"name":"get_building"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"GWR buildings nearest a WGS84 point (small radius), with EGIDs","inputSchema":{"properties":{"lat":{"description":"Latitude (WGS84)","type":"number"},"limit":{"default":10,"description":"max 50","type":"number"},"lon":{"description":"Longitude (WGS84)","type":"number"},"radius":{"default":50,"description":"Metres, max 250","type":"number"}},"required":["lat","lon"],"type":"object"},"name":"buildings_near"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search the Swiss open data catalogue (opendata.swiss) for datasets. Returns titles, publishers, and dataset ids. Optional organization slug narrows results to one publisher (e.g. bundesamt-fur-statistik-bfs). Source: opendata.swiss CKAN API.","inputSchema":{"properties":{"limit":{"description":"Maximum datasets to return (default 10, max 20).","type":"number"},"organization":{"description":"Optional publisher slug (e.g. bundesamt-fur-statistik-bfs, bundesamt-fuer-meteorologie-und-klimatologie-meteoschweiz).","type":"string"},"query":{"description":"Full-text search (e.g. 'weather', 'population', 'öV Fahrplan').","type":"string"}},"required":["query"],"type":"object"},"name":"search_opendata"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Get metadata for one opendata.swiss dataset by its catalogue name or UUID. Includes the publisher, description, keywords, and a short resource summary. Use list_opendata_resources for the full download list.","inputSchema":{"properties":{"dataset_id":{"description":"Dataset name or id (e.g. weather-station-klosters).","type":"string"}},"required":["dataset_id"],"type":"object"},"name":"get_opendata_dataset"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List downloadable resources (files and services) for an opendata.swiss dataset. Optional format filter such as CSV, JSON, or WMS.","inputSchema":{"properties":{"dataset_id":{"description":"Dataset name or id from search_opendata.","type":"string"},"format":{"description":"Optional format filter (e.g. CSV, JSON, XML, WMS, ZIP).","type":"string"},"limit":{"description":"Maximum resources to return (default 20, max 50).","type":"number"}},"required":["dataset_id"],"type":"object"},"name":"list_opendata_resources"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"List MeteoSwiss Open Government Data stations from a STAC collection on data.geo.admin.ch. Defaults to SwissMetNet automatic weather stations (smn). Other station collections: smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. Filter by canton or a name/code search.","inputSchema":{"properties":{"canton":{"description":"Canton abbreviation (e.g. BE, ZH, VS, TI).","type":"string"},"collection":{"description":"OGD collection alias (default smn). Aliases: smn, smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. A full STAC id such as ch.meteoschweiz.ogd-smn is also accepted.","type":"string"},"limit":{"description":"Maximum stations to return (default 30, max 150).","type":"number"},"query":{"description":"Case-insensitive match on station code or name (e.g. BER, Zürich).","type":"string"}},"type":"object"},"name":"list_ogd_stations"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Get the latest MeteoSwiss OGD measurements for one station by reading the STAC CSV asset (10-minute/hourly 'now' file when available, otherwise the recent file). Times are Swiss local time. Use list_ogd_stations for codes such as BER, SMA, LUG.","inputSchema":{"properties":{"collection":{"description":"OGD collection alias (default smn). Aliases: smn, smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. A full STAC id such as ch.meteoschweiz.ogd-smn is also accepted.","type":"string"},"granularity":{"description":"Resolution: t (10-minute), h (hourly, default), d (daily), m (monthly), y (yearly).","type":"string"},"limit":{"description":"Number of most recent rows (default 24, max 168).","type":"number"},"parameters":{"description":"Comma-separated parameter codes (e.g. tre200h0,rre150h0). Omit for the common temperature, humidity, precipitation, wind, pressure, sunshine, and radiation columns. Use 'all' for the first data columns.","type":"string"},"station":{"description":"Station abbreviation (e.g. BER, SMA, LUG, BAS).","type":"string"}},"required":["station"],"type":"object"},"name":"get_ogd_recent"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Get historical MeteoSwiss OGD measurements for one station and date range by parsing the STAC CSV assets. Daily data defaults to the smaller recent/historical files. Hourly history is limited to 14 days because decade files are large. Times are Swiss local time (no offset).","inputSchema":{"properties":{"collection":{"description":"OGD collection alias (default smn). Aliases: smn, smn-precip, smn-tower, nime, nbcn, nbcn-precip, obs, phenology, tot. A full STAC id such as ch.meteoschweiz.ogd-smn is also accepted.","type":"string"},"end_date":{"description":"Last day YYYY-MM-DD (inclusive).","type":"string"},"granularity":{"description":"Resolution: t, h, d (daily, default), m, or y.","type":"string"},"limit":{"description":"Maximum rows (default 31, max 100). When truncated, the latest rows in the range are kept.","type":"number"},"parameters":{"description":"Comma-separated parameter codes, or omit for the common meteorological columns.","type":"string"},"start_date":{"description":"First day YYYY-MM-DD (inclusive).","type":"string"},"station":{"description":"Station abbreviation (e.g. BER).","type":"string"}},"required":["station","start_date","end_date"],"type":"object"},"name":"get_ogd_history"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Search or list layers in the geo.admin ech MapServer catalogue (all federal geospatial layers). Returns layer ids that identify_map_layer and find_map_features accept. Without a query, returns the first page of layers alphabetically.","inputSchema":{"properties":{"limit":{"description":"Maximum layers to return (default 15, max 40).","type":"number"},"owner":{"description":"Optional data-owner filter (e.g. swisstopo, BAFU, BFS).","type":"string"},"query":{"description":"Words matched against the layer id, name, owner, and abstract (e.g. 'municipality', 'gemeinde', 'avalanche').","type":"string"}},"type":"object"},"name":"search_map_layers"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Identify geo.admin features at a WGS84 point on one ech MapServer layer. Use search_map_layers to find the layer id. Historical time-series layers keep only the current feature unless include_historical is true.","inputSchema":{"properties":{"include_historical":{"description":"Keep historical versions when a layer has an is_current_jahr attribute (default false).","type":"boolean"},"lang":{"description":"Label language: en (default), de, fr, it, or rm.","type":"string"},"lat":{"description":"Latitude in WGS84.","type":"number"},"layer":{"description":"Layer id (e.g. ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill).","type":"string"},"limit":{"description":"Maximum features (default 10, max 25).","type":"number"},"lng":{"description":"Longitude in WGS84.","type":"number"},"tolerance":{"description":"Search tolerance in pixels (default 5, max 50). Use a higher value for lines and points.","type":"number"}},"required":["layer","lat","lng"],"type":"object"},"name":"identify_map_layer"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Find geo.admin features on one ech MapServer layer by an attribute value. Identify a point first if you need the attribute names. Example: layer ch.swisstopo.swissboundaries3d-gemeinde-flaeche.fill, search_field gemname, search_text Bern.","inputSchema":{"properties":{"contains":{"description":"When true (default), match values that contain the text. When false, match the whole value.","type":"boolean"},"include_historical":{"description":"Keep historical versions when a layer has an is_current_jahr attribute (default false).","type":"boolean"},"layer":{"description":"Layer id from search_map_layers.","type":"string"},"limit":{"description":"Maximum features (default 10, max 25).","type":"number"},"search_field":{"description":"Attribute name to search (e.g. gemname, name, label).","type":"string"},"search_text":{"description":"Value to search for.","type":"string"}},"required":["layer","search_field","search_text"],"type":"object"},"name":"find_map_features"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Passenger counts for an SBB station from the data.sbb.ch frequency dataset. Returns average daily, weekday, and weekend boardings and alightings (Ein- und Aussteigende). Newest year first.","inputSchema":{"properties":{"contains":{"description":"When true, match station names that contain the text. Default false matches the whole name.","type":"boolean"},"limit":{"description":"Maximum rows (default 10, max 30).","type":"number"},"station":{"description":"Station name as published by SBB (e.g. Bern, Zürich HB, Genève).","type":"string"},"year":{"description":"Optional year (e.g. 2024). Omit to return the newest years.","type":"number"}},"required":["station"],"type":"object"},"name":"get_station_passengers"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Punctuality for an SBB stop on the previous operating day (ist-daten-sbb target vs actual times). Returns stop counts, arrival and departure delay counts, cancellations, and a short sample of delayed arrivals. A stop is delayed when SBB flags it, which is generally a delay of about three minutes or more.","inputSchema":{"properties":{"contains":{"description":"When true, match station names that contain the text. Default false matches the whole name.","type":"boolean"},"limit":{"description":"Delayed-arrival samples to include (default 5, max 15).","type":"number"},"line":{"description":"Optional line filter (e.g. IC1, IR15, S7).","type":"string"},"station":{"description":"Station name as published by SBB (e.g. Bern, Zürich HB, Genève).","type":"string"}},"required":["station"],"type":"object"},"name":"get_station_punctuality"},{"annotations":{"destructiveHint":false,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":true},"description":"Platform accessibility for an SBB station: platform number, length, type, and whether access is rail-free (step-free). Source: data.sbb.ch platform dataset.","inputSchema":{"properties":{"contains":{"description":"When true, match station names that contain the text. Default false matches the whole name.","type":"boolean"},"limit":{"description":"Maximum platforms (default 30, max 80).","type":"number"},"station":{"description":"Station name as published by SBB (e.g. Bern, Zürich HB, Genève).","type":"string"}},"required":["station"],"type":"object"},"name":"get_station_accessibility"}]}}}
