turkiye-mcp
Provides the gezilecek_yerler tool with nearby places to visit in Türkiye — museums, historic sites, mosques/churches and nature spots — including map links.
Acts as a fallback data source for the gezilecek_yerler tool when Wikidata is unavailable, still returning nearby places to visit in Türkiye.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@turkiye-mcp What are the USD and EUR exchange rates today?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🇹🇷 turkiye-mcp
Türkiye-specific live data for AI assistants — exchange rates, earthquakes, prayer times, weather and places to visit — via the Model Context Protocol.
🎬 Demo GIF coming soon
English
turkiye-mcp is an open-source MCP server that gives AI assistants such as Claude Desktop and Cursor access to up-to-date, Türkiye-specific public data. Ask "How much is the dollar today?", "Any recent earthquakes in Konya?" or "I'm in Sivas, what should I see?" and the assistant answers with live data from official and open sources, anywhere in Türkiye's 81 provinces.
🔑 No API keys, no paid services. Every data source is free and public.
🛟 Resilient. Timeouts, clear error messages and automatic fallback sources.
🇹🇷 Turkish-aware.
istanbul,İSTANBULandIstanbulall work; times are in Türkiye time.✅ Tested. Unit and end-to-end tests with mocked network calls; CI on Linux and Windows.
Tools
Tool | What it does | Parameters | Source |
| Official exchange rates (forex & banknote buying/selling) |
| TCMB (Central Bank) |
| Converts between two currencies, TRY included (cross rates via TRY) |
| TCMB |
| Recent earthquakes in and around Türkiye |
| AFAD, fallback: Kandilli Observatory |
| Daily prayer times for a province/district |
| Diyanet (via ezanvakti), fallback: Aladhan |
| Current weather and up to 7-day forecast |
| Open-Meteo |
| Places to visit nearby (museums, historic sites, mosques/churches, nature), best-known first, with map links |
| Wikidata, fallback: Wikipedia |
Tool names and parameters are in Turkish (snake_case); descriptions are in Turkish with a short English summary, so assistants understand them in either language.
Quick start
Requires Node.js 22 or newer.
Claude Desktop
Open Settings → Developer → Edit Config (or edit the file directly) and add:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"turkiye": {
"command": "npx",
"args": ["-y", "turkiye-mcp"]
}
}
}Restart Claude Desktop. The tools appear under the 🔨 icon.
Cursor
Add the following to ~/.cursor/mcp.json (global) or .cursor/mcp.json (per project):
{
"mcpServers": {
"turkiye": {
"command": "npx",
"args": ["-y", "turkiye-mcp"]
}
}
}Other MCP clients
Any client that supports stdio servers works. The command is npx -y turkiye-mcp.
git clone https://github.com/OmerP14/turkiye-mcp.git
cd turkiye-mcp
npm install
npm run buildThen point your client at the built file, using an absolute path:
{
"mcpServers": {
"turkiye": {
"command": "node",
"args": ["/absolute/path/to/turkiye-mcp/build/index.js"]
}
}
}Example prompts
"How much is the dollar today?" →
doviz_kurlari"Convert 250 euros to Turkish lira." →
doviz_cevir"Were there any earthquakes above magnitude 3 in Muğla this week?" →
son_depremler"What time is the evening (akşam) prayer in Kadıköy today?" →
namaz_vakitleri"Will it rain in İzmir this weekend?" →
hava_durumu"I'm in Kadıköy, what's worth seeing nearby?" →
gezilecek_yerler"Any waterfalls or nature spots around Çamlıhemşin?" →
gezilecek_yerler(kategori: doga)
Troubleshooting
Closing the window is not enough, because Claude keeps running in the background. Right-click the Claude icon in the system tray (Windows) or menu bar (macOS) and choose Quit, then reopen it and start a new chat. Settings → Developer shows each server's status.
Use Settings → Developer → Edit Config so that Claude opens the right file. Some Microsoft Store builds keep it under %LOCALAPPDATA%\Claude-Data\<folder>\ instead of %APPDATA%\Claude\. If you edit it by hand, keep the existing keys and only add mcpServers.
Apps installed from a store may not see your PATH. On Windows, either run npx through cmd:
{ "command": "cmd", "args": ["/c", "npx", "-y", "turkiye-mcp"] }or use the absolute path to Node.js (find it with where node / which node):
{ "command": "C:\\Program Files\\nodejs\\node.exe", "args": ["C:\\path\\to\\turkiye-mcp\\build\\index.js"] }The server tells the assistant to prefer its tools, but the final choice is the model's. Mention the data you want ("use TCMB rates", "from AFAD"), and allow the tools when Claude asks for permission. If a tool was used, the answer shows a tool call labelled turkiye above it.
Data sources
Data | Source | Notes |
Exchange rates | Published once per business day (~15:30). Indicative; banks apply their own rates. | |
Earthquakes | AFAD times are UTC and converted to Türkiye time. Kandilli lists the last 500 events. | |
Prayer times | Aladhan uses the Diyanet calculation method ( | |
Weather | CC BY 4.0. Free for non-commercial use. | |
Places to visit | Wikidata is CC0; Wikipedia text is CC BY-SA. Ranked by how many language editions cover a place. Coverage is richer in big cities. | |
Locations | Open-Meteo Geocoding (GeoNames) | Turns province/district names into coordinates for weather and places. |
Disclaimer: This is an independent project and is not affiliated with any of the institutions above. Earthquake data is for information only. In an emergency, follow official AFAD announcements.
Development
npm install
npm run build # compile TypeScript to build/
npm test # run tests (network is mocked)
npm run lint # ESLint
npm run format # Prettier
npm run inspector # try the server in MCP InspectorProject layout:
src/
├── index.ts # entry point: starts the stdio transport
├── server.ts # creates the server and registers all tools
├── lib/ # shared helpers: HTTP (timeouts, Turkish errors), cache, geocoding, text, time
└── tools/ # one file per data source: doviz, deprem, namaz, hava, gezi
tests/
├── fixtures/ # trimmed real responses from each source
└── ... # unit tests + end-to-end tool tests via an in-memory MCP clientImportant: stdout is reserved for MCP messages. Log only with
console.error(ESLint enforces this).
Roadmap
TCMB exchange rates and currency conversion
Earthquakes (AFAD + Kandilli)
Prayer times (Diyanet)
Weather
Places to visit
🚌 Public transport: nearest stops and the bus lines that serve them, planned. OpenStreetMap has this data for all of Türkiye, but its public query servers are not reliable enough yet. Real-time arrivals are out of scope (every city runs its own closed system).
Public holidays (
resmi_tatiller)Publish to npm
HTTP (Streamable HTTP) transport
Have an idea or know a good free data source? Open an issue.
Contributing
Contributions are welcome! See CONTRIBUTING.md for how to add a new tool, the coding rules and the pull request checklist. Release notes are in CHANGELOG.md.
License
MIT © 2026 Ömer Pehriz
Related MCP server: mcp-turkiye
Türkçe
turkiye-mcp, Claude Desktop ve Cursor gibi yapay zekâ asistanlarına Türkiye'ye özel güncel verileri sunan açık kaynaklı bir MCP sunucusudur. "Bugün dolar kaç?", "Konya'da son depremler?" ya da "Sivas'tayım, nereleri gezeyim?" diye sorduğunda asistan, 81 ilin hepsinde resmî ve açık kaynaklardan anlık veriyle yanıt verir.
🔑 API anahtarı yok, ücretli servis yok. Tüm kaynaklar ücretsiz ve herkese açık.
🛟 Dayanıklı. Zaman aşımı, anlaşılır Türkçe hata mesajları ve otomatik yedek kaynaklar.
🇹🇷 Türkçeye duyarlı.
istanbul,İSTANBUL,Istanbulhepsi çalışır; saatler Türkiye saatidir.
Araçlar
Araç | Ne yapar | Kaynak |
| TCMB döviz kurları (döviz/efektif alış-satış) | TCMB |
| İki para birimi arasında çeviri (TRY dahil) | TCMB |
| Son depremler; büyüklük, il, adet ve gün filtresi | AFAD, yedek: Kandilli Rasathanesi |
| İl/ilçe için günlük namaz vakitleri | Diyanet (ezanvakti üzerinden), yedek: Aladhan |
| Anlık hava durumu ve 7 güne kadar tahmin | Open-Meteo |
| Çevredeki gezilecek yerler (müze, tarihi yapı, cami/kilise, doğa); en bilinenler önce, harita bağlantılı | Wikidata, yedek: Vikipedi |
Kurulum
Node.js 22 veya üstü gerekir.
Claude Desktop: Ayarlar → Geliştirici → Yapılandırmayı Düzenle (Windows'ta %APPDATA%\Claude\claude_desktop_config.json, macOS'ta ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"turkiye": {
"command": "npx",
"args": ["-y", "turkiye-mcp"]
}
}
}Cursor: Aynı JSON'u ~/.cursor/mcp.json (tüm projeler) veya .cursor/mcp.json (tek proje) dosyasına ekle.
Ardından uygulamayı yeniden başlat. Kaynak koddan çalıştırmak için yukarıdaki "Running from source" bölümüne bak.
Sorun giderme
Araçlar görünmüyor: Pencereyi kapatmak yetmez, Claude arka planda çalışmaya devam eder. Sistem tepsisindeki Claude simgesine sağ tıklayıp Çıkış de, yeniden aç ve yeni bir sohbet başlat. Sunucunun durumu Ayarlar → Geliştirici bölümünde görünür.
claude_desktop_config.jsonbulunamıyor (Windows / Microsoft Store): Doğru dosyayı açmak için Ayarlar → Geliştirici → Yapılandırmayı Düzenle seçeneğini kullan. Bazı Store sürümleri bu dosyayı%APPDATA%\Claude\yerine%LOCALAPPDATA%\Claude-Data\<klasör>\altında tutar. Elle düzenlersen mevcut ayarları silme, sadecemcpServersbölümünü ekle."node" veya "npx" bulunamıyor:
"command": "cmd", "args": ["/c", "npx", "-y", "turkiye-mcp"]kullan ya da Node'un tam yolunu yaz (where nodekomutuyla bulabilirsin).Claude araç yerine web'de arıyor: Sunucu, asistana bu araçları tercih etmesini söyler ama son karar modelindir. İstediğin kaynağı belirt ("TCMB kuruyla", "AFAD'a göre") ve izin istendiğinde araca izin ver. Cevabın üstünde "Kullanıldı: Turkiye" yazıyorsa araç kullanılmıştır.
Örnek sorular
"Bugün dolar kaç?"
"250 euro kaç TL eder?"
"Konya'da son depremler?"
"Bu hafta Muğla'da 3'ün üzerinde deprem oldu mu?"
"Bugün Kadıköy'de akşam ezanı kaçta?"
"Hafta sonu İzmir'de yağmur var mı?"
"Kadıköy'deyim, yakınlarda nereleri gezebilirim?"
"Çamlıhemşin civarında şelale var mı?"
Yol haritası
TCMB döviz kurları ve çevirici
Depremler (AFAD + Kandilli)
Namaz vakitleri (Diyanet)
Hava durumu
Gezilecek yerler
🚌 Toplu taşıma: en yakın duraklar ve oradan geçen otobüs hatları, planlanan. Veri OpenStreetMap'te tüm Türkiye için var, ancak herkese açık sorgu sunucuları henüz yeterince güvenilir değil. Otobüsün kaç dakikada geleceği kapsam dışı (her belediyenin kendi kapalı sistemi var).
Resmî tatiller (
resmi_tatiller)npm'de yayımlama
Katkı
Katkılarını bekliyoruz! Yeni araç ekleme rehberi ve kurallar için CONTRIBUTING.md, sürüm notları için CHANGELOG.md dosyasına bak.
Uyarı: Bu bağımsız bir projedir; yukarıdaki kurumlarla bağlantısı yoktur. Deprem verileri bilgi amaçlıdır. Acil durumlarda AFAD'ın resmî duyurularını takip edin.
Lisans: MIT © 2026 Ömer Pehriz
Available Tools
6 toolsdoviz_cevirDöviz Çevirici (TCMB)BRead-only
TCMB kurlarıyla iki para birimi arasında çeviri yapar; TRY dahil, çapraz kurlar TL üzerinden hesaplanır. / Converts an amount between two currencies (incl. TRY) using official TCMB rates.
Inputs: hedef (required), kaynak (required), miktar (required), kur_turu.
doviz_kurlariTCMB Döviz KurlarıARead-only
TCMB'nin yayımladığı güncel döviz kurlarını (döviz/efektif alış-satış) getirir. Kod verilmezse tüm kurlar döner. / Returns the latest official exchange rates published by the Central Bank of the Republic of Türkiye (TCMB).
Inputs: kodlar.
gezilecek_yerlerGezilecek YerlerARead-only
Türkiye'de bir il veya ilçe çevresindeki gezilecek, görülecek yerleri listeler: müze, tarihi yapı, kale, ören yeri, cami/kilise, şelale, vadi, kaplıca gibi doğal güzellikler. 'Nereleri gezeyim?', 'X'te ne görülür?', 'buradayım, yakında ne var?' gibi gezi/turistik sorular için kullan. Bilinirliğe göre sıralar; açıklama, mesafe, Vikipedi ve harita bağlantısı verir. / Sightseeing and tourist attractions (museums, historic sites, places of worship, nature) around a Turkish province or district: 'what to see / where to go in X'.
Inputs: il (required), adet, ilce, kategori, +1 more.
hava_durumuHava DurumuARead-only
Türkiye'deki bir il veya ilçe için anlık hava durumu ve günlük tahmin (sıcaklık, yağış, rüzgâr) getirir. / Current weather and daily forecast for a Turkish province or district (Open-Meteo).
Inputs: il (required), gun, ilce.
namaz_vakitleriNamaz Vakitleri (Diyanet)ARead-only
Türkiye'deki bir il veya ilçe için Diyanet İşleri Başkanlığı'nın namaz vakitlerini getirir (imsak, güneş, öğle, ikindi, akşam, yatsı). / Daily prayer times for a Turkish province or district (Diyanet).
Inputs: il (required), ilce, tarih.
son_depremlerSon Depremler (AFAD / Kandilli)ARead-only
AFAD veya Kandilli Rasathanesi verisiyle Türkiye ve çevresindeki son depremleri listeler; büyüklük, il ve adet filtresi desteklenir. Kaynak belirtilmezse AFAD kullanılır, ulaşılamazsa Kandilli'ye geçilir. / Lists recent earthquakes in and around Türkiye from AFAD or Kandilli Observatory.
Inputs: il, gun, adet, kaynak, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a clearly distinct domain: exchange rates, currency conversion, earthquakes, prayer times, weather, and tourist attractions. The two currency tools are easily distinguished as rates lookup vs. amount conversion.
All names use lowercase snake_case Turkish phrasing, which is predictable and consistent. However, the set is noun-phrase oriented rather than a strict verb_noun convention, with doviz_cevir slightly differing in form.
Six tools is well within the ideal range and each covers a distinct, useful Turkish information need. There is no redundancy or unnecessary bloat.
The tools cover several common Turkey-related information needs and provide both exchange rates and conversion for the currency domain. Broader Turkey utility coverage remains limited, but the chosen domains are adequately served.
Maintenance
Related MCP Connectors
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Live & historical FX rates and currency conversion for AI agents. No API keys.
Live & historical FX rates and currency conversion for AI agents. No API keys.
Real-world data for agents: air quality, geocoding, quakes, holidays, web search
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI-powered access to Turkish building regulations, architectural standards, and construction calculation tools via the Model Context Protocol.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to query Turkey's public data, including central-bank FX rates, earthquake catalog, weather forecasts, public holidays, and offline validation of Turkish ID, tax, and IBAN numbers, with sourced and timestamped responses.4498 npm1MIT
- AlicenseAqualityBmaintenanceEnables AI agents to query Türkiye-specific data and logic without API keys: official central-bank exchange rates and currency conversion, live AFAD/Kandilli earthquakes, the official holiday calendar with business-day math, IBAN/TCKN/VKN validation, province and district lookup, prayer times, weather forecasts, plus Turkish-correct text casing and amounts written out in words. All 17 tools are read-only, with most working fully offline.17MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to retrieve current and historical TCMB exchange rates, list official and religious holidays, and calculate business-day additions while skipping weekends and holidays.31MIT