Skip to main content

migros-mcp 🇹🇷

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

Unofficial read-only MCP server for Migros Sanal Market (migros.com.tr), Türkiye's largest supermarket chain — live product search, prices, Money-discount promotions, categories and price stats.

Part of the "Turkey MCP factory". Not affiliated with Migros. Note: this is the Turkish Migros (migros.com.tr) — not the Swiss Migros, which has its own unrelated migros-mcp on npm. Price comparison across chains is covered by yibudak/marketfiyati_mcp (marketfiyati.org.tr); this server covers Migros's own catalogue, promos and categories.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "migros": {
      "command": "uvx",
      "args": ["migros-mcp==0.1.1"]
    }
  }
}

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

Tools

Tool Description
migros_search_products Search products — query (Turkish, e.g. "süt"), page, sort: relevance / best_seller / discount / discount_amount / price_asc / price_desc
migros_get_product Full detail for one product — product_id (numeric, from search)
migros_list_categories Top-level store categories (11)
migros_list_promotions Money-discounted products for a keyword, best discount first
migros_price_stats Price stats (min/median/max/mean, cheapest & priciest) for a keyword

Example output (migros_search_products / "süt", price_asc):

{"query": "süt", "hit_count": 371, "page_count": 13, "count": 36,
 "products": [{"id": 20000011010208, "name": "Sütaş Latte 1 L",
 "brand": "Sütaş", "category": "Uzun Ömürlü Süt",
 "price_tl": 189.0, "money_discount_pct": 0, ...}]}

Notes:

  • Prices are Turkish Lira (TRY); the API reports kuruş (1/100 TRY).
  • money_discount_pct is the Money-loyalty discount percentage, not a strikethrough — the shelf price is what a guest pays.
  • The first search result is often a sponsored/pinned product; the rest follow the requested sort.
  • Data: Migros's public product-bff JSON API (migros.com.tr/rest/product-bff) — no key, no login, read-only.
  • Store lookup and delivery slots need an authenticated session, so this server does not offer them.

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" curl-cffi pytest
.venv/bin/python -m pytest tests/ -q
  • tests/test_products.py — offline, parses real captured API fixtures
  • tests/test_live.py — 4 cautious live requests against migros.com.tr

License

MIT


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Metadata

Release files for migros-mcp 0.1.1

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

Source distribution (sdist)

Source distribution for migros-mcp 0.1.1
File Size Uploaded Provenance Actions
migros_mcp-0.1.1.tar.gz 27.7 kB With provenance Details for migros_mcp-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for migros-mcp 0.1.1
File Interpreter ABI Platform Actions
migros_mcp-0.1.1-py3-none-any.whl Python 3 none any Details for migros_mcp-0.1.1-py3-none-any.whl

Total release size: 37.9 kB

Release files / migros_mcp-0.1.1.tar.gz

Download URL migros_mcp-0.1.1.tar.gz
Size 27.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4acdc9a941d31e46d46dfce7df38613213d6108495c7adb111d5a15f4788536a
BLAKE2b-256 checksum
How to use checksums
a349212937d402f965120ff94ac9a2805211c750042dbdfdecb28065aa8491a9
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 10, 2026.

Transparency log

Release files / migros_mcp-0.1.1-py3-none-any.whl

Download URL migros_mcp-0.1.1-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c2b39106c17caa0a73b2a7cff344db8e9b745756ff20994419440d234e02693
BLAKE2b-256 checksum
How to use checksums
8d69b0faf271672a15b584331765e03ac9a7352d4fe8639cc5e89ab8ed03ad88
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 10, 2026.

Transparency log

Security for migros-mcp 0.1.1

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for migros_mcp-0.1.1.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 10, 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.1 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