Skip to main content

hepsiburada-mcp 🇹🇷

mcp-name: io.github.mohammad-abbasi-sh/hepsiburada-mcp

Unofficial read-only 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.

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"]
    }
  }
}

Or run locally: python -m hepsiburada_mcp.server (needs mcp<2, curl-cffi).

Tools

Tool Description
hepsiburada_search Search products by keyword — query ("iphone", "kablosuz kulaklık"), sort ("relevance" / "price_asc" / "price_desc"), limit 1..24, page 1-based; returns title, price in TRY, rating, review count, URL, SKU, image, campaign
hepsiburada_product_detail Detail of one product (product = full URL or path with "-p-HBCV…"): name, brand, price in TRY, stock status, rating, review count, seller (+ official-seller flag), category path, color, GTIN, images, highlights
hepsiburada_list_categories The 9 top categories: Turkish name, URL, category id
hepsiburada_price_stats Price statistics for a query: count, min / median / mean / max price in TRY across the first page
hepsiburada_product_reviews Recent customer reviews of one product: author, star rating, review text, date

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}

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; everything is read-only, no login, no API key.

Install

uvx hepsiburada-mcp        # run directly (needs uv)
# or
pip install hepsiburada-mcp
hepsiburada-mcp            # starts the MCP server on stdio

Tests

python -m venv .venv && .venv/bin/pip install -e .
.venv/bin/python -m unittest discover -s tests -v

Offline 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)

License

MIT — see LICENSE.

Metadata

Release files for hepsiburada-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hepsiburada-mcp 0.1.0
File Size Uploaded Provenance Actions
hepsiburada_mcp-0.1.0.tar.gz 22.4 kB With provenance Details for hepsiburada_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hepsiburada-mcp 0.1.0
File Interpreter ABI Platform Actions
hepsiburada_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for hepsiburada_mcp-0.1.0-py3-none-any.whl

Total release size: 33.6 kB

Release files / hepsiburada_mcp-0.1.0.tar.gz

Download URL hepsiburada_mcp-0.1.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9c45861fa2e6e7f9df1220a080de4e69a0728d68173ba52ef9be362f21428781
BLAKE2b-256 checksum
How to use checksums
68e5848c15001f0d62b728b0bee131a3c750ab335c978e83becdeacbaf8e599e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / hepsiburada_mcp-0.1.0-py3-none-any.whl

Download URL hepsiburada_mcp-0.1.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f53515d7d47a55e1e5629adfaa320f393e9fe95a29e41b5c749efa92ad55cc1
BLAKE2b-256 checksum
How to use checksums
63234b8137ffea8acd67a29234ea5c80bb33800b434dd36754c04931684a5a68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for hepsiburada-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hepsiburada_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page