Khanoumi

io.github.sepehr071v0.1.1更新於 Oct 6, 2026

Unofficial read-only Khanoumi: search cosmetics and skin care, compare prices, shades, reviews.

概覽

AI 產生的概覽

唯讀搜尋 Khanoumi 美妝與保養品:比價、色號、庫存、評價與每日優惠。

功能
在使用者本機執行,呼叫 Khanoumi 的公開端點,依關鍵字、分類、品牌或活動搜尋美妝商品,回傳價格、折扣與庫存。可找出某關鍵字下可下單的最便宜商品,列出每個色號或規格各自的價格與庫存,讀取買家評價與相似商品,並查詢包裝費、運費、退貨規則以及每日粉盒優惠與公開折扣碼。全部十二個工具皆為唯讀,回傳精簡 JSON。
適用情境
適合讓助理比較美妝與保養品價格、確認哪些色號有貨、依膚質髮質與成分篩選,或在自行下單前估算含運總價。
執行需求
需要 uv(或 pip)在本機以 stdio 執行 khanoumi-mcp 套件,不需帳號或 API 金鑰。需要能連線 khanoumi.com。可選環境變數 KHANOUMI_MCP_PROXY 用來設定 HTTP 代理,因為系統代理設定會被忽略。
安裝前請注意
設計上為唯讀:不登入、不操作購物車、不下單、不發表評論,購買仍須在網站完成。價格、費用與庫存來自可能隨時變動的公開端點,且本專案為非官方、與 Khanoumi 無關聯。若設定 KHANOUMI_MCP_PROXY,其值可能包含代理憑證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Khanoumi,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[khanoumi-mcp: let your AI agent find the cheapest cosmetics and skin care on Khanoumi]

💄 khanoumi-mcp

Let your AI agent shop for cosmetics and skin care on Khanoumi.
Search makeup, skin and hair care and perfume, compare real prices and shades, filter by skin type,
read reviews and catch today's pink-box deals, all from Claude, Cursor or Copilot.

[PyPI] [Python] [CI] [MCP Registry] [License: MIT]

[Install in Cursor] [Install in VS Code]

Quick start · What it can do · Tools · FAQ · فارسی


Why

Khanoumi lists about 67,000 beauty products from 3,200 brands. A search for "sunscreen" mixes sponsored items, out-of-stock products and shades with different prices, and the fees only show up at checkout. Finding the cheapest one you can actually order, and what it costs delivered, means a lot of clicking. An agent with khanoumi-mcp does that in seconds:

You: Cheapest Cinere sunscreen I can order now, delivered in Tehran?

Agent: calls kh_find_cheapest(query="ضد آفتاب سینره") → kh_store_info(topic="delivery")

TotalProductPrice
924,000کرم ضد آفتاب بی رنگ با SPF45 مناسب آقایان785,000 (25% off)
926,500کرم ضد آفتاب بی رنگ Oil Free SPF50 مناسب پوست چرب787,500 (25% off)
964,000ضد آفتاب رنگی +SPF60 مات کننده پوست چرب (2 shades)825,000 (25% off)

Totals include 20,000 packaging and the 119,000 Tehran courier fee. The SPF45 for men is cheapest; if you have oily skin the Oil Free SPF50 costs only 2,500 more. Want me to check which tinted shade is in stock with kh_product?

Real tool output from 2026-10-06; prices change all the time. Prices are in Toman.

What it can do

  • 🔎 Search products by name in Persian or English, with price, discount and stock, sponsored items removed
  • 💸 Find the cheapest in-stock match for a keyword, optionally inside one category
  • 🗂️ Browse any category, brand or campaign sorted by price, popularity or date, with price range and filters
  • 🧴 Filter by skin type, hair type, free-from (paraben, sulfate), key ingredients, color and brand
  • 💋 Read full product details: every shade or size with its own price and stock, sellers, gold price breakdown
  • 💬 Check reviews, similar products and the routine products the shop pairs with an item
  • ⚡ Catch deals: the daily pink box with its countdown, featured rows and the current public discount code
  • 🚚 Know the fees: packaging, shipping, returns and payment rules from the official FAQ, plus beauty guides from the blog
  • 🔒 Read-only by design: no login, no cart, no orders, no reviews posted

Quick start

You need uv. No API key or account.

Claude Code
bash
claude mcp add khanoumi -- uvx khanoumi-mcp
Claude Desktop

Settings → Developer → Edit Config, then add:

json
{  "mcpServers": {    "khanoumi": { "command": "uvx", "args": ["khanoumi-mcp"] }  }}
Cursor

Click Install in Cursor above, or add the Claude Desktop block to ~/.cursor/mcp.json.

VS Code (Copilot agent mode)

Click Install in VS Code above, or add to .vscode/mcp.json:

json
{  "servers": {    "khanoumi": { "type": "stdio", "command": "uvx", "args": ["khanoumi-mcp"] }  }}
Anything else

It's a standard stdio MCP server: run uvx khanoumi-mcp, or pip install khanoumi-mcp and run khanoumi-mcp.

Then just ask:

  • "Cheapest moisturizer for oily skin under 500,000 Toman, and what do buyers say about it?"
  • "Which shades of the Golden Rose Sheer Bright lipstick are in stock, and do they cost the same?"
  • "What's in today's pink box, and is there a discount code?"
  • ارزان‌ترین شامپوی ضد ریزش سریتا با ارسال به تهران چند درمیاد؟

How it works

text
  AI agent  (Claude, Cursor, Copilot, ...)      │      │  MCP over stdio      ▼  khanoumi-mcp  (runs on your machine)      │      │  HTTPS      └──────▶  www.khanoumi.com   JSON API, FAQ page, blog

khanoumi-mcp runs locally and calls the same public endpoints the khanoumi.com website uses. There's no hosted server in between, no API key, and nothing about you is sent anywhere else.

Tools

🔎 Find products (7)
ToolWhat it does
kh_searchSearch by keyword: price, discount, stock, plus matching categories and brands
kh_find_cheapestCheapest in-stock matches for a keyword, one flat list sorted by payable price
kh_browseA category, brand or campaign tag sorted by price / popularity / date, with price range and filters
kh_filtersSub-categories, brands, colors, skin / hair type and ingredient filters, price range and stock counts of a listing
kh_categoriesCategory tree with ids, paths and product counts
kh_brandsFind brands and their slugs
kh_dealsToday's pink box and featured deals, biggest discount first, with the countdown and the public discount code
💋 One product (3)
ToolWhat it does
kh_productPrice, discount, every shade / size / seller with its own price and stock, rating, attributes, description
kh_reviewsCustomer comments, newest first, with verified-buyer flag and photos
kh_similarAlternatives to a product, or the products the shop pairs with it
📝 Store and blog (2)
ToolWhat it does
kh_store_infoPackaging cost, shipping fees and times, returns, payment and guarantee rules from the FAQ
kh_blog_searchBuying guides, routines and ingredient explainers from the Khanoumi magazine

All 12 tools are annotated readOnlyHint: true and return compact structured JSON, so they don't flood the agent's context.

Good to know

  • Prices are in Toman. final_price is what you pay, price is before discount, discount_pct is a whole percent.
  • Shades can cost different amounts. A product's final_price is its cheapest shade or size; kh_product lists each variant with its own price, stock (in_stock) and maximum quantity per order.
  • Order cost: items + 20,000 packaging + shipping (119,000 Tehran / Alborz courier, 113,000 post to other provinces on 2026-10-06; free for items tagged "ارسال رایگان", shown as FreeShipping in a product's badges). kh_store_info reads the current fees. The exact quote per address needs a login, so it isn't available here.
  • Sponsored items are removed from search and listings, and total counts only real matches. Pages follow on from each other without gaps or repeats, which the site's own pager doesn't manage when ads are on the page.
  • Ratings are 0–5, null when nobody has rated the product yet. Review comments carry no stars.
  • Persian queries match best (کرم آبرسان, رژ لب), but English brand names work too (cerave, golden rose).

FAQ

Can it place an order for me?

No, and that's deliberate. It has no login and never touches the cart, order, payment, wishlist, notify-me or review endpoints. The agent finds the best option; you buy it on khanoumi.com.

Why does kh_find_cheapest skip some items?

It keeps only items you can order now whose Persian or English title or brand contains every word of your query (match_all_words: false turns that off). It scans the first 300 results, cheapest first; complete: false in the reply means more matches lie past that, so raise scan (up to 900) or narrow with category_id. kh_search shows everything.

How do I filter by skin type or ingredient?

Call kh_filters for the category (for example category_id: 145, moisturizers) and pass the keys you want to kh_browse, e.g. facets: ["facetKey.skin-type:oily"]. Several facets must all match; several brands or colors match any.

I get "Could not reach khanoumi.com"

The server retries a dropped connection once. If it still fails, check your internet connection. System proxy variables are ignored on purpose; set KHANOUMI_MCP_PROXY if you need a proxy.

Claude Desktop says uvx is not found

Use the full path to uvx (where uvx on Windows, which uvx on macOS/Linux) as command.

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

Configuration

VariableDefaultMeaning
KHANOUMI_MCP_PROXYunsetHTTP proxy for every request, e.g. http://user:pass@host:port

فارسی

khanoumi-mcp به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در خانومی جستجو کند، ارزان‌ترین محصول موجود را پیدا کند، رنگ‌ها و قیمت هر رنگ را ببیند، بر اساس نوع پوست و مو فیلتر کند، نظرات خریداران را بخواند و تخفیف‌های جعبه صورتی و کد تخفیف روز را پیدا کند.

  • فقط خواندنی است: وارد حساب نمی‌شود، سبد خرید نمی‌سازد، سفارش ثبت نمی‌کند و نظر نمی‌فرستد.
  • قیمت‌ها به تومان است و محصولات تبلیغاتی (اسپانسری) از نتایج حذف می‌شوند.
  • روی سیستم خود شما اجرا می‌شود و به هیچ سرور واسطی داده نمی‌فرستد.

نصب در Claude Code:

bash
claude mcp add khanoumi -- uvx khanoumi-mcp

بعد بپرسید: «ارزان‌ترین کرم آبرسان مناسب پوست چرب زیر ۵۰۰ هزار تومان کدام است و خریداران درباره‌اش چه می‌گویند؟»

Development

bash
git clone https://github.com/sepehr071/khanoumi-mcp && cd khanoumi-mcpuv syncuv run pytest            # offline, against recorded responsesuv run pytest -m live    # real khanoumi.comuv run ruff check .

Tools live in src/khanoumi_mcp/catalog.py, product.py and info.py; each is a typed async function with a docstring that tells the agent when to use it. Issues and PRs are welcome, especially new tools and fixes for site changes.

Releases: bump the version in pyproject.toml and server.json, then push a v* tag. GitHub Actions tests, publishes to PyPI and the MCP Registry, and creates the GitHub Release.

Disclaimer

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

License

MIT

來源:README.md,提交 072d8bd

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.1最新Oct 6, 2026