Daraz Nepal MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Daraz Nepal MCP Serverfind me a wireless mouse under Rs. 1500"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Daraz Nepal MCP Server
An MCP server that lets an AI assistant search Daraz Nepal (https://www.daraz.com.np) — live prices in NPR, no API key, no seller account. Point it at any Daraz region with one environment variable.
Ask your assistant "find me a wireless mouse under Rs. 1500" and it searches, filters and sorts real listings.
search_daraz("wireless mouse", max_price=1500, sort="price_low")
1. Logitech M170 Wireless Mouse — Rs. 1,299 (was Rs. 1,799, -28%)
★ 4.6 (1,204 reviews) · 3.2K sold · Logitech Official Store · Kathmandu
https://www.daraz.com.np/products/...Requirements
Python 3.10 or newer
No API key, no Daraz account
Optional: Playwright Chromium, used only as a fallback if Daraz's JSON endpoint gets blocked
Related MCP server: MCP Affiliate Server
Install
git clone https://github.com/MaheshPhuyal02/daraz-np-mcp.git
cd daraz-np-mcp
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txtOptional browser fallback:
playwright install chromiumuv venv
uv pip install -r requirements.txtThen use .venv/bin/python (or uv run python) everywhere below.
Verify it works
Before wiring it into an MCP client, check the scraper against the live site:
python daraz_cli.py doctorExpected output ends with All good — the MCP server should work. If it doesn't,
see Troubleshooting.
More CLI examples:
python daraz_cli.py search "wireless mouse" --limit 5
python daraz_cli.py search "gas stove" --sort price_low --max-price 8000
python daraz_cli.py search "tv" --category televisions --json
python daraz_cli.py details "https://www.daraz.com.np/products/....html"
python daraz_cli.py categoriesRun the offline unit tests (no network needed):
pytest -qRun the server
python daraz_np_server.pyIt speaks MCP over stdio, so on its own it will just sit there waiting for a client — that is expected. Normally you don't run it by hand; your MCP client launches it for you, as configured below.
Register with an MCP client
MCP clients do not inherit your shell's working directory or virtualenv, so every path below must be absolute. Get yours with:
cd daraz-np-mcp
echo "$PWD/.venv/bin/python" # Windows: echo %CD%\.venv\Scripts\python.exe
echo "$PWD/daraz_np_server.py"Claude Desktop
Edit the config file:
macOS —
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows —
%APPDATA%\Claude\claude_desktop_config.jsonLinux —
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"daraz-np": {
"command": "/absolute/path/to/daraz-np-mcp/.venv/bin/python",
"args": ["/absolute/path/to/daraz-np-mcp/daraz_np_server.py"],
"env": {
"DARAZ_DOMAIN": "www.daraz.com.np",
"DARAZ_CURRENCY": "Rs."
}
}
}
}Restart Claude Desktop, then look for the tools under the 🔌 / tools menu.
mcp.example.json in this repo has the same shape — copy it as a starting point.
Claude Code
claude mcp add daraz-np \
-e DARAZ_DOMAIN=www.daraz.com.np \
-- /absolute/path/to/daraz-np-mcp/.venv/bin/python \
/absolute/path/to/daraz-np-mcp/daraz_np_server.pyCheck it registered with claude mcp list.
Cursor / Windsurf / other clients
Anything that speaks MCP over stdio works — use the same command + args
shape as the Claude Desktop block above, in that client's MCP config
(~/.cursor/mcp.json for Cursor).
Tools
search_daraz
Argument | Type | Default | Notes |
| str | — | e.g. |
| int | 10 | 1–50 results |
| str |
|
|
| float | — | NPR, pushed to Daraz's own filter |
| str | — | slug, e.g. |
| bool | false | drop out-of-stock items |
| int | 3 | result pages to pull, 1–10 |
| bool | false | structured output instead of markdown |
Queries containing "cheapest"/"cheap" auto-switch to price_low; "most
expensive"/"premium" to price_high.
product_details(url)
Name, price, original price, brand, rating, review count, seller (+ positive rating), stock and a trimmed description for a single product page.
list_categories()
Common Daraz Nepal category slugs for focused searches.
Configuration
All optional — set them in the env block of your MCP client config.
Env var | Default | Purpose |
|
| point at another Daraz region ( |
|
| display prefix |
|
| seconds per HTTP request |
| unset | write a debug log to this path |
|
|
|
How it works
Daraz's storefront renders from a JSON payload that the same URL returns when
you append ajax=true:
GET https://www.daraz.com.np/catalog/?ajax=true&q=mouse&page=1&_keyori=ss
GET https://www.daraz.com.np/{category}/?ajax=true&page=1Products live at mods.listItems (the client also probes data.mods.listItems,
listItems, results and data.products since Daraz A/B-tests its response
shape). Sorting and price bounds are passed as sort= and price=min-max so
Daraz does the work server-side; the result is re-sorted locally as a guard.
If the JSON endpoint returns HTML (anti-bot page), the server falls back to rendering the search page with Playwright — install it or that step is skipped with a log line.
Troubleshooting
doctor says "response was not JSON (likely an anti-bot / captcha page)"
Daraz is rate-limiting or challenging you. Wait a few minutes, and install the
Playwright fallback (playwright install chromium).
doctor parses 0 items
Daraz probably changed its response shape. doctor prints the raw item keys and
mods keys it received — that's the first place to look, and a great PR.
Tools don't show up in the client
Almost always a path problem. Use absolute paths, point command at the
venv's Python (not system python3), and check the client's MCP log. Running
the same command by hand in a terminal should hang silently rather than error.
ModuleNotFoundError: fastmcp
The client is using a Python without the dependencies installed — see above.
Notes and limits
Public endpoints only; no login, no seller API. Daraz can change or throttle them at any time —
python daraz_cli.py doctortells you which.Requests are paced 0.6–1.4 s apart with a rotating User-Agent. Don't raise
pagesfar beyond the default if you're running many searches.Prices are live at fetch time; always confirm on the product page before buying.
Scraping is best-effort and for personal use. Check Daraz's terms of service before running this at volume. This project is not affiliated with, endorsed by, or connected to Daraz or Alibaba Group.
Contributing
Bug reports and PRs are welcome — see CONTRIBUTING.md.
License
MIT © MaheshPhuyal02.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AI-agent product catalog: search, lookup & purchase routing over verified merchant data.
Product search for AI agents: Amazon + Shopify, cart-to-checkout buy path. Pay-per-call, no API key.
AI shopping gateway for product search, inventory, carts, and merchant-hosted checkout.
AI-powered product search, affiliate links, and price negotiation for e-commerce platforms
Related MCP Servers
- AlicenseAqualityDmaintenanceKlarna-style product discovery for AI shopping agents. Makes product catalogs machine-readable so AI agents can search, compare, and purchase products programmatically.6MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search products and generate affiliate links across European and global affiliate networks, automating product discovery and link creation for monetization.5MIT

Channel3 MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceEnables product search and shopping assistance through natural language, with a free tier available without API key.2252MIT- AlicenseAqualityAmaintenanceReal Amazon (US, UK, DE, CA, AU) & Walmart shopping data for AI assistants: ranked product shortlists, current prices, live stock, real ratings, and price/BSR history from a 17M+ product warehouse. Free hosted endpoint, no signup — 30 queries a day.3MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaheshPhuyal02/daraz-np-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server