Turkey Data

v1.0.0
io.github.bodyegypt/turkey-data-mcp Checked 2 days ago Published 5 months ago

Live Turkey data: gold prices, TCMB FX rates, fuel prices, prayer times, Kandilli earthquakes.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_gold_prices Turkey Gold & Silver Prices

Get current gold and silver prices in Turkey, quoted in Turkish lira (TRY). Source: Harem Altın, cross-checked with TCMB; refreshed every 5 minutes. Returns buy/sell prices, daily change (% and amount), weight and purity for: gram gold (14k/18k/22k/24k), Turkish gold coins (çeyrek/quarter, yarım/half, tam/full, cumhuriyet/republic, ata) and silver per gram. Use the optional 'category' filter to narrow results; omit it for everything. Use this for questions like 'gram altın ne kadar?', 'quarter gold coin price in Turkey', or 'how much is 24k gold in Istanbul today?'.

ParameterTypeDescription
categorystringFilter by category: 'gram' = gold per gram (14k–24k), 'coin' = Turkish gold coins (çeyrek, yarım, tam, cumhuriyet, ata), 'silver' = silver per gram, 'all' (default) = everything.

get_exchange_rates Turkish Lira Exchange Rates (TCMB)

Get official Turkish lira (TRY) exchange rates from TCMB, the Central Bank of the Republic of Türkiye. Returns forex and banknote buy/sell rates for ~22 currencies (USD, EUR, GBP, JPY, SAR, AED, RUB, etc.). Rates are the official daily fixing published ~15:31 Istanbul time on trading days; weekends/holidays return the last trading day. Pass 'currency' (ISO 4217 code) for a single currency, or omit it for the full table. Note: JPY is quoted per 100 units (check the 'unit' field). Use this for 'dollar to lira rate', 'EUR/TRY today', or converting amounts to/from TRY.

ParameterTypeDescription
currencystringOptional 3-letter ISO 4217 currency code (e.g. 'USD', 'EUR', 'SAR'). Case-insensitive. Omit to get all ~22 currencies TCMB publishes.

get_fuel_prices Turkey Fuel Pump Prices

Get current pump fuel prices in Turkey in TRY per litre, aggregated from official EPDK (Energy Market Regulatory Authority) per-brand reports. Covers gasoline 95 octane ('benzin95') and diesel ('motorin') with city averages plus min/max across brands. Available cities: istanbul, ankara, izmir, antalya. Pass 'city' to get one city, or omit it to compare all four. Refreshed every 6 hours. Use this for 'petrol price in Istanbul', 'diesel cost Turkey', 'benzin fiyatı'.

ParameterTypeDescription
citystringOptional city filter. One of: istanbul, ankara, izmir, antalya. Omit to get all four cities for comparison.

get_prayer_times Prayer Times for Turkish Cities

Get Islamic prayer times (namaz vakitleri) for a Turkish city using the official Diyanet İşleri calculation method. Returns fajr, sunrise, dhuhr, asr, maghrib and isha in 24-hour local Istanbul time, plus the Hijri date. The 'city' parameter is REQUIRED — call list_prayer_cities first if unsure which cities are available (20 major Turkish cities, lowercase ASCII slugs like 'istanbul', 'ankara', 'sanliurfa'). Optional 'date' (YYYY-MM-DD) defaults to today; only a few days around today are cached — far-future or past dates return an error. Use this for 'iftar time in Istanbul', 'when is ma…

ParameterTypeDescription
city *stringCity slug, lowercase ASCII, e.g. 'istanbul', 'izmir', 'diyarbakir', 'sanliurfa'. Turkish characters are transliterated (ş→s, ı→i, ü→u...). Call list_prayer_cities for the full list of 20 supp…
datestringOptional date in YYYY-MM-DD format. Defaults to today (Europe/Istanbul). Only dates near today are available.

list_prayer_cities List Supported Prayer-Time Cities

List the Turkish city slugs supported by get_prayer_times (20 major cities, e.g. istanbul, ankara, izmir, bursa, antalya, konya...). Call this before get_prayer_times when you are not sure a city is supported or how its slug is spelled. Takes no parameters.

get_earthquakes Recent Earthquakes in Turkey

Get recent earthquakes in and around Turkey from the Kandilli Observatory (KOERI) official feed, refreshed every 5 minutes. Returns magnitude, depth (km), coordinates, location name and timestamp (Istanbul time) for each event, newest first. Filters: 'hours' = lookback window (default 24, max 168 = 7 days), 'min_magnitude' = minimum magnitude (e.g. 3 to skip micro-quakes), 'city' = substring match on the location name (e.g. 'izmir', 'balikesir'), 'limit' = max results (default 20, max 100). Use this for 'was there an earthquake in Turkey today?', 'deprem son dakika', 'earthquakes near Izmir th…

ParameterTypeDescription
citystringCase-insensitive substring filter on the location name, e.g. 'izmir', 'balikesir', 'mugla'. Use ASCII (no Turkish characters).
hoursintegerLookback window in hours. Default 24, max 168 (7 days).
limitintegerMaximum number of earthquakes to return. Default 20, max 100.
min_magnitudenumberOnly return quakes at or above this magnitude. Default 0 (all).

get_latest_earthquake Latest Earthquake in Turkey

Get the single most recent earthquake recorded in or around Turkey by the Kandilli Observatory (KOERI). Returns magnitude, depth, coordinates, location and time (Istanbul timezone). Feed refreshes every 5 minutes. Takes no parameters. Use this for 'what was the last earthquake in Turkey?' — for lists, filtering or a longer time window, use get_earthquakes instead.