market-fiyati-mcp
Use this MCP server to query and compare Turkish market product prices, branch offers, baskets, and price history.
Check mode, live/experimental access, configured location, limits, and request policy with
market_status.Browse hierarchical categories and list market chains (experimental, optional).
Find nearby branches/depots by latitude, longitude, and radius (experimental).
Search products by keywords and filters such as brand, category, discount, package size, price order, and pagination; requires location and branch IDs.
Search by Turkish category names.
Fetch a product by ID with branch offers, promotional fields, and index time.
Find similar products and alternatives at a market chain (experimental).
Compare one product across branches: cheapest/highest price, spread, unavailable/out-of-scope offers, and map links.
Compare baskets of up to 5 exact product IDs/pack quantities by market or physical depot, including complete/incomplete totals, missing items, and a theoretical multi-shop split basket.
Retrieve product price history and change statistics with optional date filtering.
Sync up to 100 product identities for explicit refresh (experimental).
Geocode addresses and reverse-geocode coordinates (experimental map API).
Purchase, order, and barcode lookup are not supported.
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., "@market-fiyati-mcp En yakın marketlerde 1 kg makarna fiyatlarını karşılaştır."
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.
Market Fiyatı MCP
Resmî değildir. Bu proje Market Fiyatı, TÜBİTAK veya market zincirleriyle bağlantılı değildir ve onlar tarafından onaylanmamıştır. Kullanım koşulları operatörün sorumluluğundadır: Amaç ve kullanım izinleri.
Başlayın: Aşağıdaki yapılandırmayı MCP istemcinize ekleyin.
Türkiye'de ürün, şube fiyatı ve sepet karşılaştırması için MCP sunucusu.
Node.js 22+ gerekir. Normal kullanım gerçek fiyat sorguları için live modudur;
offline geliştirme ve test içindir. Aşağıdaki örnek, önceki sürümlerde de çalışması için modu açıkça seçer.
1. İstemciye ekleyin
Şube keşfi: Ürün aramaları şube ID'si ister; yakındaki şubeleri bulan tool deneysel erişim gerektirir.
Bu ayar yakın şube, market listesi, adres/koordinat arama, toplu ürün güncelleme ve alternatif ürün tool'larını açar.
Bu yüzden örnek "MARKET_FIYATI_ENABLE_EXPERIMENTAL": "true" içerir. Ayarın varsayılanı false olarak kalır;
şube ID'lerinizi zaten biliyorsanız bu satırı silebilirsiniz.
{
"mcpServers": {
"market-fiyati": {
"command": "npx",
"args": ["-y", "market-fiyati-mcp@2.0.4"],
"env": {
"MARKET_FIYATI_MODE": "live",
"MARKET_FIYATI_LATITUDE": "41.025591",
"MARKET_FIYATI_LONGITUDE": "28.974075",
"MARKET_FIYATI_DISTANCE": "4",
"MARKET_FIYATI_ENABLE_EXPERIMENTAL": "true"
}
}
}
}Örnek: Galata Kulesi — 41.025591, 28.974075.
distance=4, merkezden 4 km yarıçap demektir (8 km çap).
Sayı tipi: Tool girdisindeki koordinat ve yarıçap tırnaksız JSON sayısıdır.
Yalnız env değerleri ortam değişkeni olduğu için tırnaklıdır; sunucu bunları sayıya çevirir.
market_find_nearby_depots için aynı örnek, tırnaksız sayılarla:
{ "latitude": 41.025591, "longitude": 28.974075, "distance": 4 }Yapılandırma dosyası nerede?
Yukarıdaki market-fiyati girdisini istemcinizin dosyasına ekleyin ve istemciyi yeniden başlatın.
İstemci | Dosya | Not |
Claude Desktop | macOS: |
|
Claude Code | Proje: |
|
Cursor | Genel: |
|
VS Code | Proje: | Üst anahtar |
Codex |
| TOML: |
Kendi konumunuz için koordinatları değiştirin. Kişisel konumunuzu özel istemci ayarında tutun; Git'e eklemeyin.
Env konumu 1.0.6'dan beri desteklenir (yarıçap geçişi). Paket kurulamıyorsa kaynak koddan çalıştırın.
npx paketi indirir; bulunamazsa mutlak yolunu kullanın. Hazır Galata yapılandırması.
Related MCP server: Electronic Markets TR
2. Bağlantıyı doğrulayın
Sunucuyu yeniden başlatıp AI'ya şunu yazın:
market_statusçağır. Modu ve konum ayarının hazır olup olmadığını göster.
Beklenen: data.mode=live, data.liveRequestsEnabled=true, data.locationDefaults.configured=true.
Status yalnız ayarları kontrol eder; gerçek fiyat için sonraki adımdaki aramayı yapın.
3. Fiyat sorgulayın
AI'ya istediğiniz ürünü ve marketleri söyleyin. Konum ayarı hazırsa tekrar vermeniz gerekmez.
Şubeler bilinmiyorsa yukarıda açtığınız deneysel erişimle market_find_nearby_depots bir kez çağrılır;
ürün aramasında dönen şube ID'leri kullanılır. Adımlar: Gerçek fiyatlarla sorgulama.
Örnek istekler
Yakınımdaki şubelerde 1 litre yarım yağlı sütün en ucuz fiyatı ne?
3 kg yoğurdu fiyata göre sırala; tam eşleşmeleri ve alternatifleri ayrı göster.
500 g beyaz peynirin fiyatını şubeler arasında karşılaştır ve harita linklerini ver.
1 kg patates, 2 L süt ve 10'lu yumurtadan oluşan sepeti şube bazında karşılaştır.
1 kg toz şekerin fiyat geçmişini özetle.
Ürün adlarını ve paket boyutlarını açık yazın. "Sadece tam eşleşme" gibi kesin şartları belirtin; aksi hâlde AI benzer ürünleri ayrı başlıkta açıklayarak önerebilir.
Konum nasıl çalışır?
Durum | Kural |
Env kullanıyorum | Üç değeri birlikte ayarlayın; AI her sorguda tekrar sormaz. |
Env kullanmıyorum | Üçünü de kaldırın; enlem, boylam ve yarıçapı her konumlu çağrıda sağlayın. |
Başka konum arıyorum | Enlem/boylamı birlikte verin. Distance yoksa env yarıçapı kullanılır. |
Eksik veya geçersiz değer | Env hatalıysa sunucu başlamaz; çağrı hatalıysa o çağrı reddedilir. Varsayılan yarıçap yoktur. |
Ayarı değiştirdim | Env için yeniden başlatın. Çağrıdaki değişiklik yalnız o çağrıya aittir. |
Şubeler (depots) ürün çağrısında ayrıca gerekir; MCP bunları saklamaz.
Aynı süreç env konumunu paylaşır; farklı kullanıcılar ayrı süreç veya açık çağrı değerleri kullanmalıdır.
Tüm konum kuralları ve sınırlar.
Yapabilecekleriniz
Amaç | Tool |
Ürün ara |
|
Şube fiyatlarını karşılaştır |
|
Sepet karşılaştır |
|
Fiyat geçmişini incele |
|
Çağrı akışını öğren |
|
15 tool · 3 resource · 3 prompt. Satın alma, sipariş ve barkod sorgusu desteklenmez.
Sonuçları doğru okuyun
Fiyatlar TRY.
percentageindirim oranı değildir; API'nindiscountişaretine bakın.Eksik offer bilinmiyor demektir; “stok yok” veya “tüm fiyatlar tarandı” denemez.
Eksik sepette
total=null;subtotalyalnız bulunan ürünlerdir.Fiziksel şube karşılaştırması için
groupBy=depotkullanın; zincir tek bir şube değildir.Sepet en fazla 5 ürün alır; bütçe retry dâhil 5 HTTP denemesidir. Retry açıksa ürün sınırı düşer (
market_statusiçindekilimits.basketItems). Listeyi bölerek veya tool değiştirerek aşmayın.
Sorun giderme
Hata veya belirti | Neden ve çözüm |
| İstemci ayarında |
| Yakın şube, adres arama gibi deneysel tool'lar kapalıdır. Ayara |
| Yanıt yerel boyut sınırını aştı; kısmi veri dönmez. Aynı sorguyu tekrarlamayın: sayfa boyutunu ( |
| İstemci, |
Claude Code büyük sonucu dosyaya taşıyor | Yanıt boyutu ürün ve şube sayısıyla büyür. 2026-10-07 tarihli live oturumda 25 ürün × 25 şubelik aramalar istemcinin çıktı sınırını aştı, 15 ürün × 25 şube altında kaldı. Daha az şube veya daha küçük |
Sunucu listede görünmüyor (Windows) | Claude Desktop MSIX paketiyle kurulduysa (Microsoft Store, WinGet veya resmî kurucu) uygulamanın dosyayı |
Diğer hata kodları: API.
Kaynak koddan geliştirme
Depoyu klonlayıp çalıştırın:
npm ci --ignore-scripts
MARKET_FIYATI_MODE=offline npm run checkcheck derlemeyi de yapar. İstemcide command: "node", args içinde dist/src/index.js dosyasının
mutlak yolunu kullanın. Geliştirirken istemci env ayarını açıkça MARKET_FIYATI_MODE=offline yapın;
testlerin ağ engeli de korunur. Gerekirse node yolunu da mutlak yazın.
Sunucu stdio JSON-RPC kullanır; HTTP portu açmaz. Geliştirmede MARKET_FIYATI_MODE=offline npm start
MCP mesajlarını bekler. Mod ayarı olmadan başlangıç live seçer; yalnız başlatmak HTTP isteği göndermez.
stdout yalnız MCP trafiğidir. npm kurulumu ağ kullanabilir; uygulama testleri API'ye bağlanmaz.
Ayrıntı gerektiğinde
İhtiyaç | Belge |
Gerçek fiyatları sorgula | |
Tool, filtre ve yanıt kuralları | |
Ayarlar ve kod yapısı | |
Testler ve sınırları | |
Sürüm çıkarma |
Amaç ve kullanım izinleri
Bu proje, ticari kazanç veya başka bir çıkar gözetilmeden geliştirilmiş bağımsız bir çalışmadır. Market Fiyatı'nın, TÜBİTAK'ın veya market zincirlerinin resmî ürünü değildir. Herhangi bir onay, sponsorluk veya ortaklık iddiası yoktur.
Market Fiyatı kullanım koşullarını değerlendirmek ve
kullanımına uygun izinleri sağlamak operatörün sorumluluğundadır. Bu depo üçüncü taraf servislerine
erişim izni vermez; live ayarı yalnız teknik erişimi belirler.
Güvenlik açığı bildirmek için özel bildirim yönergesini kullanın.
Lisans
MIT — Copyright (c) 2026 Gökhan Çavuş.
Lisans yalnızca yazılımı ve beraberindeki belgeleri kapsar. Üçüncü tarafların verilerine, markalarına, logolarına veya servislerine erişim hakkı vermez. Yukarıdaki amaç beyanı MIT lisansını değiştirmez ve koda ticari kullanım yasağı eklemez. Üçüncü taraf bileşenler kendi lisanslarına tabidir.
Available Tools
15 toolsmarket_compare_basketARead-onlyIdempotent
Compare exact product IDs and pack quantities with one product lookup per item. This description is the single source for basket rules. Budget: read market_status limits.basketItems and limits.basketRequestBudget first; the budget counts every possible HTTP retry and over-budget calls are rejected before any lookup. Never split the list into several calls or switch to sync or other tools to bypass it. Ask the user to narrow the comparison, or explain search offers already returned with their original retrieval time; never present a shortened basket as complete. For a brand-agnostic list, exact IDs fix one product per item: say which products the basket covers, and label any sum of search offers as an estimate with each offer depot and retrievedAt, not a basket total. Reuse sufficient search offers instead of redundant lookups. Results: quantities are packs of the selected product; alternatives are never substituted; a missing item makes total null, never zero. groupBy=market may span branches; groupBy=depot means one physical shop. Check selected offer depot IDs and requiresMultipleDepots before claiming one physical shop; a chain name alone is insufficient. A complete basket covers the selected IDs, not proof that they meet every user requirement; equal prices do not prove equivalent products. Presentation: present complete groups first, using total rather than an incomplete subtotal, and lead with the cheapest complete group the answer contains; splitBasket stays separate. Show all groups tied at the lowest total, naming each market or depot; the first sorted group is not the sole winner. For long lists, summarize branches by chain and disclose the shortened display and omitted group count. Explain any preference among tied options with evidence or stated user preferences; depot-ID ordering does not mean nearest or best, and branch distance is not a walking route or the total shopping journey. splitBasket: a theoretical multi-shop minimum without travel, delivery or stock guarantee; it shows one combination, never a unique or exhaustive one; never invent alternatives absent from returned data. Present a complete splitBasket separately, as a saving only when strictly cheaper than the cheapest complete single-depot group, and state the TRY saving and that baseline. If only multi-depot groups are complete, use the cheapest one as an explicitly multi-depot baseline. Never promote an equal total as a saving. If no group is complete, explain the missing products and present a complete splitBasket as the only complete option without claiming a saving; if it is incomplete too, report only its subtotal and missing items. No purchases.
Inputs: items (required), depots (required), distance (required), latitude (required), +2 more. Returns: data, meta, error, warnings
market_compare_product_offersARead-onlyIdempotent
Fetch one product and compare returned branch prices. Use when a detail lookup or refresh is needed; existing search offers can already answer price questions. Reports cheapest branches, price spread and promotional fields. Zero prices are unavailable. Follow market://guide for the discount flag and percentage field.
Inputs: depots (required), distance (required), identity (required), latitude (required), +1 more. Returns: data, meta, error, warnings
market_find_alternativesARead-onlyIdempotent
Find substitutes at one market chain. Experimental. marketName must match each supplied depot ID prefix; provide original id and product title as keywords.
Inputs: id (required), depots (required), distance (required), keywords (required), +5 more. Returns: data, meta, error, warnings
market_find_nearby_depotsARead-onlyIdempotent
Find nearby physical branches using call coordinates/radius or configured env location. All three values must be supplied by one of these sources. Experimental. Response distance is meters from the API; its measurement method is undocumented and it is not a walking or driving route. The returned list is not proven exhaustive; one live session (2026-10-07) returned at most 5 branches per chain, which is not guaranteed. Choose returned depot IDs for product queries.
Inputs: distance (required), latitude (required), longitude (required). Returns: data, meta, error, warnings
market_find_similar_productsARead-onlyIdempotent
Find related products using exact product id and its title as keywords. Similarity is not equivalence: inspect title and package size.
Inputs: id (required), depots (required), distance (required), keywords (required), +4 more. Returns: data, meta, error, warnings
market_geocode_addressARead-onlyIdempotent
Find address suggestions. Experimental map API. Returns display_name and explicit latitude/longitude parsed from API tuple positions.
Inputs: words (required). Returns: data, meta, error, warnings
market_get_categoriesBRead-onlyIdempotent
Get hierarchical categories. query, parentId and flat are local filters. Use returned Turkish names for category searches.
Inputs: flat, query, parentId. Returns: data, meta, error, warnings
market_get_price_historyARead-onlyIdempotent
Get market price series for one product: uniqueId is the product id from search or product results. Prefer the depot IDs returned for that product. Optional from/to (YYYY-MM-DD) filter locally; returns chronological series and change statistics.
Inputs: depots (required), distance (required), latitude (required), uniqueId (required), +3 more. Returns: data, meta, error, warnings
market_get_productBRead-onlyIdempotent
Get one product by its opaque product id. Returns location-specific branch offers, promotional fields and indexTime. Barcode lookup is not supported.
Inputs: depots (required), distance (required), identity (required), latitude (required), +1 more. Returns: data, meta, error, warnings
market_list_marketsARead-onlyIdempotent
List market chains via /api/v1/categories. Experimental. Optional, never a prerequisite for search or comparison. If it returns HTTP 500, do not retry; report the chains' active status as unknown and continue with other tools. Not the product category tree.
Inputs: no named parameters. Returns: data, meta, error, warnings
market_reverse_geocodeARead-onlyIdempotent
Resolve coordinates into address fields and display_name, the nearest address estimate for that point, not a verified address. Experimental map API. Uses capitalized Lat and Lon query parameters.
Inputs: latitude (required), longitude (required). Returns: data, meta, error, warnings
market_search_by_categoryBRead-onlyIdempotent
Search using menu_category, main_category or sub_category Turkish names from the category tree. At least one nonempty category filter and call or configured location and explicit depots required.
Inputs: depots (required), distance (required), latitude (required), longitude (required), +12 more. Returns: data, meta, error, warnings
market_search_productsBRead-onlyIdempotent
Search products and facets, one zero-based page. Combine keywords with known API filters such as refined_volume_weight and order in one request. Location/radius come from the call or configured env; nonempty depots are required per call. Follow market://guide to preserve alternatives and exact requirements; fuzzy search still needs result validation.
Inputs: depots (required), distance (required), keywords (required), latitude (required), +13 more. Returns: data, meta, error, warnings
market_statusBRead-onlyIdempotent
Report mode, live and experimental access, whether env location is configured, local limits, request policy and endpoint counts. market://endpoints lists the routes. No network access.
Inputs: no named parameters. Returns: data, meta, error, warnings
market_sync_productsARead-onlyIdempotent
Fetch up to 100 product identities in one call for an explicitly requested refresh. Experimental. Never switch to this tool to bypass a basket budget or run large live tests. identities are product ids. No purchase or persistent basket mutation.
Inputs: depots (required), distance (required), latitude (required), longitude (required), +1 more. Returns: data, meta, error, warnings
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools have clearly distinct purposes (geocoding, depots, categories, search, comparison, history), but a few boundaries blur: market_compare_product_offers vs market_get_product both return one product's branch offers, and market_find_alternatives vs market_find_similar_products both surface related items. The unusually verbose descriptions help disambiguate, but an agent could still misselect between these pairs.
All 15 tools use a uniform market_ prefix with snake_case verb_noun patterns (list_markets, get_product, search_products, compare_basket, find_nearby_depots). The only deviation is market_status, which lacks a verb, but the overall convention is highly predictable.
15 tools sit at the top of the ideal 3-15 range and each earns its place, covering geocoding, depot discovery, category browsing, keyword search, product lookup, offer comparison, basket comparison, price history, and sync. No redundant or filler tools for the stated scope.
The read-only price-comparison domain is well covered end-to-end: location resolution, depot discovery, category navigation, search, single-product and basket comparison, history, and alternatives/similar products. Minor gaps exist (e.g., barcode lookup explicitly unsupported, no richer market/chain detail), but core agent workflows have no dead ends.
Maintenance
Related MCP Connectors
MCP server for real-time product search by barcode (EAN, UPC, GTIN) or keyword on ean-search.org
Unlock the power of food transparency with our Open Food Facts MCP server. Easily look up any food
Barcode-verified UK multi-merchant price comparison, deals, and Category Intelligence MCP server.
Unofficial Market Data App MCP — wraps the Market Data App API (marketdata.app)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables searching and comparing product prices across Turkish supermarket chains (BIM, A101, Migros, SOK, etc.) with location-based filtering. Provides access to Turkish market data from marketfiyati.org.tr for price tracking and comparison.3MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that enables real-time product, price, and stock searching across major Turkish electronic component retailers including Robotistan, Robocombo, Direnc.net, and Robo90. It allows AI models to compare local market data to find the best deals and available components.4MIT
- AlicenseAqualityDmaintenanceEnables querying Turkish market prices, searching products, and comparing prices across different stores using the Market Fiyatı API.39 npm38MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching and comparing grocery prices from Turkish markets via marketfiyati.org.tr.5-