karaca-mcp
README.md
# karaca-mcp 🇹🇷
[](https://glama.ai/mcp/servers/mohammad-abbasi-sh/karaca-mcp)
mcp-name: io.github.mohammad-abbasi-sh/karaca-mcp
Unofficial **read-only** MCP server for **Karaca** (karaca.com) — Türkiye's household-name homeware retailer: product search with TRY prices, full product detail, category listings, the department directory, price statistics and all 170 stores.
> Part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with Karaca.
## For AI agents
Add to your MCP client config (stdio):
```json
{
"mcpServers": {
"karaca": {
"command": "uvx",
"args": ["karaca-mcp==0.1.0"]
}
}
}
```
Or run locally: `python -m karaca_mcp.server` (needs `mcp<2`, `httpx`).
## Tools
| Tool | Description |
|------|-------------|
| `karaca_search_products` | Search products by keyword — `query` e.g. `tencere`, `yemek takımı`, `kahve makinesi` (545 results for "tencere"); `sort`: `price_asc`, `price_desc`, `sales_avg`, `total_wishlist`, `discount_rate.store_2`, `total_review.store_2`, `date_available` |
| `karaca_get_product` | Full detail of one product — `product`: slug or URL e.g. `karaca-hatir-perfetto-espresso-ve-turk-kahve-makinesi-inox` |
| `karaca_category_products` | Products of one category — `category` e.g. `6-kisilik-yemek-takimi`, `mutfak-grubu`, `kahve-makineleri` |
| `karaca_list_categories` | Department directory: 6 departments (Sofra, Mutfak, Küçük Ev Aletleri, Ev ve Yaşam, Hobi Eğlence, Hediye) + special collections |
| `karaca_price_stats` | Price statistics for a query or a category: min / median / mean / max TRY, in-stock share, item count |
| `karaca_list_stores` | All 170 Karaca stores (55 provinces) with address, phone, coordinates, working hours; filter by `city` e.g. `İstanbul` (47 stores) |
| `karaca_health` | Check whether Karaca is reachable right now |
Example output (`karaca_search_products` / "tencere"):
```json
{"name": "Emsan Belen 8 Parça Çelik Tencere Seti", "price_try": 2999.0,
"rating": 4.8, "review_count": 538, "in_stock": true,
"url": "https://www.karaca.com/urun/emsan-belen-8-parca-celik-tencere-seti"}
```
Example output (`karaca_get_product` / Hatır Perfetto):
```json
{"name": "Karaca Hatır Perfetto Espresso ve 5 Fincan Kapasiteli Türk Kahvesi Makinesi",
"price_try": 9999.0, "rating": 4.9, "review_count": 803,
"categories": ["Küçük Ev Aletleri", "Elektrikli İçecek Hazırlama", "Kahve Makineleri", "Espresso Makinesi"]}
```
Notes:
- Data comes from the site's own server-rendered pages (no key, no login): listings carry schema.org ItemList JSON-LD (40 products/page: name, TRY price, availability, rating, review count) and detail pages carry Product JSON-LD (description, sku, brand, price, rating, reviews) plus a BreadcrumbList category path and an FAQPage.
- Honest limits, all verified live 2026-12-05: a search with no matches returns HTTP 200 with 40 fallback (bestseller) products — the tools report `exact_match=false` in that case (decided by name check), so check the flag before trusting a result list; prices are the current list prices from the site's JSON-LD (no discount history, no per-variant prices); review text is limited to the first 3 reviews on the detail page; store hours are the Mon–Sun range the site publishes. Listings show 40 items per page.
- The site answers plain HTTP 200 with a browser User-Agent (no bot wall), so the transport is plain httpx. Requests are spaced ~1s apart.
- Prices are live TRY prices and move with campaigns — verify prices and availability on the official site before buying.
## Development
```bash
python3 -m venv .venv && .venv/bin/pip install "mcp<2" "httpx>=0.27" pytest
.venv/bin/python -m pytest tests/test_parse.py -q # offline, recorded fixtures
.venv/bin/python -m pytest tests/test_live.py -q # live, against karaca.com
.venv/bin/python tests/smoke_live.py # daily smoke probe
```
## License
[PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0/) — free for personal and non-commercial use; commercial use needs a separate license.
Built by [Mohammad Abbasi](https://github.com/mohammad-abbasi-sh) — [Almanibama](https://almanibama.ir) · [mabbasi.ir](https://mabbasi.ir)
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues