Skip to main content

n11-mcp 🇹🇷

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

Unofficial read-only MCP server for n11.com, Türkiye's #3 marketplace — search millions of products, read product details (price, list price, stock, rating, seller, category), read customer reviews, browse the 11 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 n11.com.

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "n11": {
      "command": "uvx",
      "args": ["n11-mcp"]
    }
  }
}

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

Tools

Tool Description
n11_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, list price, brand, SKU, URL, image, stock status
n11_product_detail Detail of one product (product = full URL or path with "/urun/…"): name, brand, price in TRY, list price, stock status, rating, review count, seller (company, store name, authorized-store badge, grade, shipment city), category path, description, images
n11_list_categories The 11 top categories: Turkish name, URL, slug
n11_price_stats Price statistics for a query: count, min / median / mean / max price in TRY across the first page
n11_product_reviews Recent customer reviews of one product: reviewer and star rating (n11 does not server-render review bodies)

Example output (n11_search / "iphone"):

{"query": "iphone", "sort": "relevance", "page": 1, "count": 10, "products": [
  {"title": "Apple iPhone 17 Pro Max 256 GB (Apple Türkiye Garantili)",
   "url": "https://www.n11.com/urun/apple-iphone-17-pro-max-256-gb-apple-turkiye-garantili-100816929",
   "sku": "127340433485", "brand": "Apple", "price_try": 112434.28,
   "original_price_try": 117119.04, "price_currency": "TRY",
   "in_stock": true, "image": "https://n11scdn.akamaized.net/…"}, …]}

Example output (n11_product_detail / iPhone 17 Pro Max):

{"name": "Apple iPhone 17 Pro Max 256 GB (Apple Türkiye Garantili) Turuncu 256 GB Fiyatları ve Özellikleri",
 "sku": "127340433485", "brand": "Apple", "price_try": 112434.28,
 "original_price_try": 117119.04, "price_currency": "TRY", "in_stock": true,
 "rating": 5.0, "review_count": 227,
 "category": "Elektronik > Telefon & Aksesuarları > Cep Telefonu > Apple Cep Telefonu",
 "seller_company": "SALİM TEKEMEN", "seller": "TKMNBILISIM",
 "seller_badge": "Yetkili Mağaza", "seller_grade": 100,
 "shipment_city": "Antalya", "shipment_condition": "Ücretsiz Kargo", …}

Example output (n11_price_stats / "iphone"):

{"query": "iphone", "sort": "relevance", "count": 10, "min_try": 57199.0,
 "median_try": 106099.49, "mean_try": 100880.09, "max_try": 150999.55}

How it works

n11.com answers plain HTTP clients, and the transport uses Chrome TLS impersonation (curl-cffi, chrome120) so a stricter bot check does not break the server. There is no public JSON API — data comes from the site's server-rendered pages: search pages carry a schema.org ItemList JSON-LD block (20 products per page), product pages carry a schema.org Product JSON-LD block plus a breadcrumb category path and an embedded seller JSON object, and the homepage carries the 11 top categories. Requests are spaced ~0.8s apart; everything is read-only, no login, no API key.

Install

uvx n11-mcp        # run directly (needs uv)
# or
pip install n11-mcp
n11-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 n11.com.

Roadmap

  • Category-scoped search (search within one category slug)
  • Other sellers of the same product (compare prices per seller)
  • Price history (track a SKU over days)

License

MIT — see LICENSE.

Metadata

Release files for n11-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 n11-mcp 0.1.0
File Size Uploaded Provenance Actions
n11_mcp-0.1.0.tar.gz 26.3 kB With provenance Details for n11_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 37.4 kB

Release files / n11_mcp-0.1.0.tar.gz

Download URL n11_mcp-0.1.0.tar.gz
Size 26.3 kB
Tags Source
SHA-256 checksum
How to use checksums
611ea828dbbd64d914765f6d7dd3051728061e26b8329f3491abc5d0baff79fc
BLAKE2b-256 checksum
How to use checksums
8fb071193024d65d9455cc717f7ced75e6241e753f8e8881f4287b2f2a1b1bbf
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 / n11_mcp-0.1.0-py3-none-any.whl

Download URL n11_mcp-0.1.0-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f18662b2f3cdfa9730054fa9bb412edbc1707dc28ee083e3ceda98e8696e939e
BLAKE2b-256 checksum
How to use checksums
0e0feb873f598fdebeeb5db78e6f07dfd562e759fc910c05845a818c74c38ad7
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 n11-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

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

Select from 2 files

Attestation for n11_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