Skip to main content

baneh-mcp: Baneh MCP server for AI agents

Unofficial, read-only MCP server that lets your AI agent shop for home appliances, TVs and electronics on Baneh (بانه, baaneeh.com), an Iranian online shop.
Search products, find the cheapest in-stock match, browse by category or brand and read reviews, all from Claude, Cursor or Copilot.

PyPI License: MIT

Quick start · For AI agents · Tools · FAQ · فارسی


For AI agents

  • What: unofficial MCP server for Baneh (baaneeh.com, بانه), an Iranian shop for home appliances, TVs, tools and car audio. Queries work in Persian and English; prices are in Toman.
  • Install: claude mcp add baneh -- uvx baneh-mcp (stdio transport, needs uv and Python 3.10+).
  • Auth: none. Optional BANEH_MCP_PROXY sets an HTTP proxy for requests to baaneeh.com.
  • Access: read-only. No login, cart, orders or posted reviews, so no write tools exist.
  • Tools: 7, all prefixed bn_. Start with bn_find_cheapest or bn_search. Typical sequence: bn_find_cheapest → bn_product → bn_reviews.
  • Use when: comparing prices, stock and reviews of TVs, fridges, washing machines, kitchen appliances and tools on Baneh.
  • Do not use when: the user wants to buy (no cart or checkout), wants phones (almost all are discontinued), or wants discounts (nothing in stock is discounted).
  • Output: compact JSON. final_price is Toman. Null fields are left out: no regular_price means no discount, no rating means no reviews.
  • Machine-readable: server.json, and the catalog of all Iranian MCP servers at awesome-iran-mcp.

Quick start

You need uv. No API key or account.

claude mcp add baneh -- uvx baneh-mcp

Claude Desktop, Cursor and others take the same command in their MCP config:

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

Then ask:

  • "Cheapest in-stock Samsung TV above 20 million Toman?"
  • "Show LG washing machines sorted by price, and the reviews of the cheapest one."
  • ارزان‌ترین یخچال ساید بای ساید موجود در بانه کدام است؟

How it works

  AI agent  ──MCP over stdio──▶  baneh-mcp (your machine)  ──HTTPS──▶  baaneeh.com  (WooCommerce Store API)

It calls the public WooCommerce Store API that the website itself exposes. No hosted server, no API key.

Tools

Tool What it does
bn_search Search by keyword: price, stock, rating, with sort and price range
bn_find_cheapest Cheapest matches for a keyword, titles must contain every word (any order)
bn_browse A category and/or brand, sorted by price or rating, with a price range
bn_categories Categories with slugs and product counts (top level, children of one, or search)
bn_brands Brands (LG, Samsung, Bosch, ...) with slugs and product counts
bn_product One product: price, stock, brand, categories, spec attributes, highlights, description, images
bn_reviews Buyer reviews of one product with ratings

All 7 tools are annotated readOnlyHint: true and return compact JSON.

Good to know

  • In stock only by default. The catalog lists about 9,200 products but only about 1,900 are in stock. The rest, almost all of the phones and tablets, are discontinued and their prices are stale. Pass in_stock_only: false to include them.
  • Sorting is done by the server of this tool, not the shop, which ignores sort parameters. Price and rating sorts scan up to 2,000 matches (about 5 s per 100); the reply shows scanned. A whole-shop price sort takes about 30 s the first time.
  • No deals tool: no in-stock product has a sale price.
  • Prices are the shop's own Toman amounts. A few look wrong (a USB cable at 144 million Toman); check the product page before relying on extremes.
  • Reviews: many products carry one long generated "summary of buyer opinions" instead of real reviews.
  • Shipping fees and policies are not available through the public API.

FAQ

Can it place an order for me?

No. It has no login and never touches the cart or checkout. The agent finds the best option; you buy it on baaneeh.com.

Is baneh.com the same shop?

Yes. baneh.com redirects to baaneeh.com, which is where the server connects.

I get "Could not reach baaneeh.com"

Check your internet connection. System proxy variables are ignored on purpose; set BANEH_MCP_PROXY if you need a proxy.

How do I debug what the agent sees?
npx @modelcontextprotocol/inspector uvx baneh-mcp

Configuration

Variable Default Meaning
BANEH_MCP_PROXY unset HTTP proxy for every request, e.g. http://user:pass@host:port; a comma-separated list is used one at a time, moving on after a connect error

فارسی: سرور MCP بانه

baneh-mcp یک سرور MCP غیررسمی برای فروشگاه اینترنتی بانه (baaneeh.com) است و به دستیار هوش مصنوعی شما اجازه می‌دهد لوازم خانگی، تلویزیون و ابزار را جستجو کند، ارزان‌ترین کالای موجود را پیدا کند و نظرات خریداران را بخواند.

  • فقط خواندنی است: وارد حساب نمی‌شود، سبد خرید نمی‌سازد و سفارش ثبت نمی‌کند.
  • قیمت‌ها به تومان است.

نصب در Claude Code: claude mcp add baneh -- uvx baneh-mcp

Development

git clone https://github.com/sepehr071/baneh-mcp && cd baneh-mcp
uv sync
uv run python -m pytest            # offline, against recorded responses
uv run python -m pytest -m live    # real baaneeh.com
uv run ruff check .

Tools live in src/baneh_mcp/catalog.py and product.py; each is a typed async function with a docstring that tells the agent when to use it.

Disclaimer

Unofficial and not affiliated with or endorsed by Baneh. It uses the public API of the baaneeh.com website, which can change without notice. Please keep request rates reasonable.

License

MIT

Metadata

Release files for baneh-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 baneh-mcp 0.1.0
File Size Uploaded Provenance
baneh_mcp-0.1.0.tar.gz 108.7 kB With provenance Details

Built distribution (wheel)

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

Total release size: 126.7 kB

Release files / baneh_mcp-0.1.0.tar.gz

Download URL baneh_mcp-0.1.0.tar.gz
Size 108.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3c5e4058b1591c811c7a7c32a9490affcedc214d1743e9567f13e7fcd869ae76
BLAKE2b-256 checksum
How to use checksums
b23eedba35e85167d9de79162717cc8bfef520e03466a3b22dff3bfb3c788d4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

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

Download URL baneh_mcp-0.1.0-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
921c1d6306af02604783adb9f52a52b017bacf45ca41705c6047088c91fdc6cc
BLAKE2b-256 checksum
How to use checksums
8dcf003de1cce049b570d0f501e1bf47e39f2c50071b39c12933d5406e17e3a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 20, 2026.

Transparency log

Security for baneh-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 baneh_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 Oct 20, 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.

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