hepsiburada-mcp
This MCP server provides read-only Hepsiburada product research and site-health tools.
Search products by keyword with sorting, limits, and pagination.
Fetch product details such as price, stock, seller, category, GTIN, images, and highlights.
List the 9 top Hepsiburada categories.
Compute price statistics (min/median/mean/max) for a search query.
Read recent customer reviews for a product.
Check whether hepsiburada.com is reachable, blocked, or erroring.
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., "@hepsiburada-mcp search for iPhone 15 and show its price statistics"
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.
hepsiburada-mcp 🇹🇷
mcp-name: io.github.mohammad-abbasi-sh/hepsiburada-mcp
Unofficial MCP server for hepsiburada.com, Türkiye's leading e-commerce marketplace — search millions of products, read product details (price, stock, seller, GTIN, highlights), read customer reviews, browse the 9 top categories, and get price statistics (min / median / mean / max) for any query. Read-only tools need no login. Optional account actions (cart + favorites) use your own browser session, stored only in your MCP config — see Account actions.
Built by Mohammad Abbasi as part of the "Turkey MCP factory" (Sepehr-style pipeline). Not affiliated with hepsiburada.com.
For AI agents
Add to your MCP client config (stdio):
{
"mcpServers": {
"hepsiburada": {
"command": "uvx",
"args": ["hepsiburada-mcp==0.2.0"]
}
}
}Or run locally: python -m hepsiburada_mcp.server (needs mcp<2, curl-cffi).
For account actions (cart + favorites), add your browser session cookie to the config — see Account actions:
{
"mcpServers": {
"hepsiburada": {
"command": "uvx",
"args": ["hepsiburada-mcp==0.2.0"],
"env": {
"HEPSIBURADA_SESSION": "YOUR_SESSION_COOKIE_HERE"
}
}
}
}Related MCP server: com.gladeapi/api
Tools
Tool | Description |
| Search products by keyword — |
| Detail of one product ( |
| The 9 top categories: Turkish name, URL, category id |
| Price statistics for a query: count, min / median / mean / max price in TRY across the first page |
| Recent customer reviews of one product: author, star rating, review text, date |
| Your cart: items (basket item id, SKU, name, quantity, price in TRY, selected / buy-later), total item count and total price, plus a cart URL — needs |
| Add a product to your cart ( |
| Remove one item from your cart ( |
| Change one cart item's quantity ( |
| Your favorite product SKUs — needs |
| Add a product to your favorites ( |
| Remove a product from your favorites ( |
Example output (hepsiburada_search / "iphone"):
{"query": "iphone", "sort": "relevance", "page": 1, "count": 3, "products": [
{"title": "Apple iPhone 15 128 GB Mavi",
"url": "https://www.hepsiburada.com/apple-iphone-15-128-gb-mavi-p-HBCV00004X9ZCK",
"sku": "HBCV00004X9ZCK", "price_try": 56999.0, "rating": 4.8,
"review_count": 13102, "campaign": "30 günün en düşük fiyatı"}, …]}Example output (hepsiburada_product_detail / iPhone 15):
{"name": "Apple iPhone 15 128 GB", "sku": "HBCV00004X9ZCK", "brand": "Apple",
"category": "Telefon > Cep Telefonu > iPhone iOS Telefonlar", "color": "Mavi",
"gtin": "0195949036583", "price_try": 56999.0, "price_currency": "TRY",
"in_stock": true, "rating": 4.8, "review_count": 13102,
"seller": "Hepsiburada", "official_seller": true,
"highlights": ["Ekran : 6.1 inç Super Retina XDR OLED, …"], …}Example output (hepsiburada_price_stats / "iphone"):
{"query": "iphone", "sort": "relevance", "count": 3, "min_try": 56999.0,
"median_try": 102999.0, "mean_try": 91115.67, "max_try": 113349.0}Account actions
Cart and favorites tools work with your own browser session — no
password, no API key, no account is created anywhere. The session lives
only in your MCP client config on your own machine and is sent only to
hepsiburada.com. The server never logs, prints, or persists it, and it
never appears in any tool output. Every mutation (add / remove /
change quantity) also needs confirm=true, or it does nothing.
Setup (one time)
Log in to hepsiburada.com in your browser (Chrome / Edge / Firefox).
Open DevTools (F12) → Network tab → reload the page.
Click any request to
hepsiburada.com→ Headers → find the Cookie request header → copy its full value. (Alternative: DevTools → Application → Cookies →https://www.hepsiburada.com— but the Network-tab Cookie header is the complete value; copy that one.)Paste it as
HEPSIBURADA_SESSIONin your MCP client config (see the example above) and restart the MCP server.Try
hepsiburada_view_cart— it should show your real cart.
Notes
The session expires: when a tool reports "session expired", repeat steps 2–4 to copy fresh cookies. Logging out of hepsiburada.com revokes the session immediately.
Never share the cookie value — anyone holding it has full access to your Hepsiburada account (cart, favorites, orders). Do not paste it into chats, issues, or screenshots.
Account actions are deliberately narrow: cart (view / add / remove / change quantity) and favorites (list / add / remove). There is no checkout, payment, coupon, or bulk action.
listing_id/product_idcome fromhepsiburada_product_detail, or passproduct_urlto the add tools and they are resolved from the product page automatically.
How it works
hepsiburada.com returns HTTP 403 to plain HTTP clients, so the transport
uses Chrome TLS impersonation (curl-cffi, chrome120). There is no public
JSON API — data comes from the site's server-rendered HTML: search pages
carry product cards, product pages carry schema.org Product JSON-LD plus a
seller block and a "Ürün Özellikleri" highlights list, and the homepage
carries the top categories. Requests are spaced ~0.8s apart; read-only
tools need no login and no API key. Account tools call Hepsiburada's own
checkout / basket / favorites APIs with your browser session (see
Account actions); the endpoints were verified live
(each returns HTTP 401 without a session, proving the path + auth gate).
Install
uvx hepsiburada-mcp==0.2.0 # run directly (needs uv)
# or
pip install hepsiburada-mcp==0.2.0
hepsiburada-mcp # starts the MCP server on stdioTests
python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -vOffline tests run on recorded fixtures (real pages fetched 2026-11-06); live tests hit hepsiburada.com.
Roadmap
Category-scoped search (search within one
-c-…category)Seller store pages (other sellers of the same product)
Price history (track a SKU over days)
Cite this project
If you use hepsiburada-mcp, build on it, or write about it, please credit the source:
Abbasi, Mohammad. hepsiburada-mcp. v0.2.0, 2026. https://github.com/mohammad-abbasi-sh/hepsiburada-mcp
A ready-to-copy citation is also available from GitHub's Cite this repository button (see CITATION.cff). Commercial use needs a separate license (see below).
License
PolyForm Noncommercial 1.0.0 — see LICENSE.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Available Tools
6 toolshepsiburada_healthA
Check whether hepsiburada.com is reachable right now.
Returns status ok (HTTP 200), blocked (HTTP 403/429 — bot wall or rate limit) or error, plus the HTTP status and the probed URL. One polite request; it does not fetch any listings.
Inputs: no named parameters. Returns: result
hepsiburada_list_categoriesA
Top categories of hepsiburada.com (9 main categories): Turkish name, category URL and category id. Use a category URL with hepsiburada_search via the query, or browse it in a browser.
Inputs: no named parameters. Returns: result
hepsiburada_price_statsA
Price statistics for a search query: product count, min / median / mean / max price in TRY across the first page of results. query: e.g. "iphone 15"; limit 1..24 (default 24 = whole first page).
Inputs: query (required), sort, limit. Returns: result
hepsiburada_product_detailA
Detail of one product: name, brand, price in TRY, stock status, rating and review count, seller (+ official-seller flag), category path, color, GTIN, images, highlights. product: a full product URL or site path containing "-p-HBCV…" (find one with hepsiburada_search first), e.g. "/apple-iphone-15-128-gb-mavi-p-HBCV00004X9ZCK".
Inputs: product (required). Returns: result
hepsiburada_product_reviewsA
Recent customer reviews of one product: author, star rating, review text and date. product: a full product URL or site path containing "-p-HBCV…" (find one with hepsiburada_search first). limit 1..24.
Inputs: product (required), limit. Returns: result
hepsiburada_searchA
Search hepsiburada.com products by keyword. query: Turkish or ASCII, e.g. "iphone", "kablosuz kulaklık", "laptop". sort: "relevance" (default), "price_asc" (cheapest first), "price_desc" (most expensive first). limit 1..24; page 1-based. Returns title, price in TRY, rating, review count, product URL, SKU, image and campaign text per product.
Inputs: query (required), page, sort, limit. Returns: result
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 has a clearly distinct purpose: reachability check, keyword search, single-product detail, category listing, aggregate price statistics, and product reviews. The only possible adjacency is search vs. price_stats, but the aggregate-vs-results distinction is explicit in the descriptions.
All tools share the hepsiburada_ prefix and snake_case, which helps grouping, but the action pattern is mixed: health and search are bare nouns/verbs, while list_categories is verb_noun and product_detail/product_reviews/price_stats are noun phrases. It is readable but not a consistent verb_noun convention.
Six tools is well-scoped for a product research server: health, search, detail, categories, price stats, and reviews each cover a distinct need without bloat. The surface feels intentional rather than padded.
The server covers the core product-research lifecycle: availability, discovery via search/categories, product detail, aggregate pricing, and reviews. Minor gaps like similar-product lookup or category-browse-as-a-tool are workarounds via search queries, but the essential surface is present.
Maintenance
Related MCP Connectors
E-commerce product catalog, pricing, reviews & search API across major retail marketplaces.
Read-only product discovery, merchant trust, shipping and returns for SVV-Schatzoekers.
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Read-only product catalog for shopping agents: search, details, compatibility, shop answers.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables querying Turkish market prices, searching products, and comparing prices across different stores using the Market Fiyatı API.38 npm38MIT
- AlicenseNot gradedqualityCmaintenanceProvides read-only access to normalized Amazon marketplace data, including product details, search, offers, reviews, sellers, categories, deals, best sellers, identifiers, stock, and sales estimates across 13 marketplaces.MIT
- AlicenseBqualityBmaintenanceEnables sellers to read Turkish marketplace order, return, stock, review, and price data, detect SLA breaches, stock and price traps, and unanswered reviews, and generate a prioritized daily Turkish action report. It is read-only by design and never changes seller accounts.8MIT
- AlicenseAqualityBmaintenanceEnables read-only search and browsing of n11.com products, including product details, customer reviews, top categories, and price statistics. It provides AI agents with structured marketplace data such as prices, stock status, ratings, sellers, and category paths.5PolyForm Noncommercial 1.0.0