Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Basalam
Overview
Description from the maker (original English)
Unofficial read-only Basalam marketplace: search products, cheapest offers, shops, reviews.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Online shops & payments
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
BASALAM_MCP_PROXY
You need
- PyPIPython’s uv installed (for the uvx command)
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"basalam": {
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "your-value"
}
}
}
}Run this in your terminal
claude mcp add basalam --env BASALAM_MCP_PROXY=your-value -- uvx basalam-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"basalam": {
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"basalam": {
"type": "stdio",
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
BASALAM_MCP_PROXYenvOptional HTTP proxy URL; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account sepehr071, which owns the repo
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 2547 servers in this category
- Published to the registry more recently than 91% of the other 2547 servers in this category
- Basic checks equal to or better than 100% of the other 2547 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Basalam safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed –, and the latest version (0.2.0) reached the registry yesterday.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
basalam-mcp: Basalam MCP server for AI agents
Let your AI agent shop on Basalam (باسلام).
An unofficial, read-only MCP server for Basalam, Iran's marketplace of independent shops:
search products, find the cheapest in-stock offers, read shops, categories and customer reviews, all from Claude, Cursor or Copilot.
For AI agents · Quick start · What it can do · Tools · FAQ · فارسی
For AI agents
- What: unofficial MCP server (model context protocol) for Basalam (basalam.com), Iran's marketplace of small shops. Persian queries match best; prices in Toman.
- Install:
uvx basalam-mcporclaude mcp add basalam -- uvx basalam-mcp. Transport: stdio. Needs uv (Python 3.10+). - Auth: none, no API key or account. Optional
BASALAM_MCP_PROXY(HTTP proxy URL, or a comma-separated list). - Access: read-only. No login, basket, order, chat or review posting, so no confirmation is needed before calling any tool.
- Tools: 7, all prefixed
bs_. Start withbs_searchorbs_find_cheapest. Typical sequence:bs_find_cheapest->bs_product->bs_reviews. - Use when: finding, comparing or judging products, prices, shops and reviews on Basalam.
- Do not use when: the user wants to buy something or needs anything behind a login.
- Output: compact JSON. Prices in Toman (the API reports Rial; converted), ratings 0-5, null and empty fields omitted. A product link is
https://basalam.com/p/. - Machine-readable:
server.jsonand the iran-mcp catalog (TOOLS.md,servers.json,llms.txt).
Why
Basalam is a marketplace of thousands of small shops, so the same kind of item is listed many times at very different prices, and a plain "cheapest first" sort is full of filler listings priced at a few hundred Toman. Finding the real cheapest offer, then checking the product options, the shop and what buyers say, takes a lot of clicking. With basalam-mcp an agent does it in a few calls: bs_find_cheapest (filler prices hidden by default), bs_product, bs_vendor and bs_reviews.
What it can do
- Search products with price range (Toman), category, free shipping, discount, top-shop and installment filters, sorted by relevance, sales, price or newest
- Find the cheapest in-stock offers for a query, with a price floor and an optional minimum rating
- Read one product: price, discount, stock, sales count, free-shipping threshold, options (sizes, colors), attributes, rating and its shop
- Check a shop: city, activity, product count, shipping methods, and browse or search its products
- Browse categories: the whole tree, children of a category, or search by name; ids feed the
category_idfilter - Read reviews with the star histogram of the product and its shop
- Read-only by design: no login, no basket, no orders
Example prompts:
- "Cheapest handmade wool rug on Basalam with at least 4 stars?"
- "Find saffron under 500,000 Toman with free shipping, best sellers first."
- "Is this shop reliable? Show its profile, its newest products and the latest reviews."
- "List the sub-categories of home decor on Basalam."
- ارزان‌ترین زعفران نگین با ارسال رایگان در باسلام کدام است؟
- نظر خریداران درباره این محصول را بخوان و بگو ایرادش چیست.
Quick start
You need uv. No API key or account.
Claude Code
claude mcp add basalam -- uvx basalam-mcp
Claude Desktop
Settings → Developer → Edit Config, then add:
{
"mcpServers": { "basalam": { "command": "uvx", "args": ["basalam-mcp"] } } }
</details>
Cursor
Add the Claude Desktop block above to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
VS Code (Copilot agent mode)
Click Install in VS Code above, or add to .vscode/mcp.json:
{
"servers": { "basalam": { "type": "stdio", "command": "uvx", "args": ["basalam-mcp"] } } }
</details>
Codex CLI
codex mcp add basalam -- uvx basalam-mcp
Or in ~/.codex/config.toml:
[mcp_servers.basalam]
command = "uvx" args = ["basalam-mcp"]
</details>
Gemini CLI
Add to ~/.gemini/settings.json:
{
"mcpServers": { "basalam": { "command": "uvx", "args": ["basalam-mcp"] } } }
</details>
Windsurf
Add the Claude Desktop block to ~/.codeium/windsurf/mcp_config.json.
Anything else
It's a standard stdio MCP server: run uvx basalam-mcp, or pip install basalam-mcp and run basalam-mcp.
Tools
All 7 tools are annotated readOnlyHint: true and return compact JSON, so they don't flood the agent's context.
| Tool | What it does |
|---|---|
bs_search | Search Basalam products and return a page of cards with prices in Toman. |
bs_find_cheapest | List the cheapest in-stock offers for a query, cheapest first, prices in Toman. |
bs_categories | Browse Basalam's category tree and return ids for the category_id filter of bs_search. |
bs_product | Get one product: price in Toman, discount, stock, options (colors, sizes), attributes, rating and its shop. |
bs_vendor | Get a Basalam shop's profile: city, product count, shipping methods, activity and notice. |
bs_vendor_products | List one shop's products with prices in Toman, searchable and sortable. |
bs_reviews | Read customer reviews of a product with the star histogram, newest first. |
How it works
AI agent (Claude, Cursor, Copilot, ...)
│ │ MCP over stdio ▼ basalam-mcp (runs on your machine) │ │ HTTPS └──────▶ services.basalam.com, core.basalam.com search, products, shops, reviews
basalam-mcp runs locally and calls the same public endpoints the basalam.com web app uses. There is no hosted server in between, no API key, and nothing about you is sent anywhere else. Only those two Basalam hosts are allowed.
Good to know
- Prices are in Toman. The Basalam API answers in Rial; every tool divides by 10 (and price filters are multiplied by 10), so numbers match the website.
- Ratings are 0-5. A missing rating means not rated.
- Persian queries match best.
- Result totals stop at 10000 (the search index cap). Pages hold at most 30 products to keep replies small; a short page is refilled from the following rows, so neighbouring pages can repeat a few products.
- "Cheapest" sorts are full of filler listings priced at a few hundred Toman;
bs_find_cheapesthides prices under 5000 Toman by default (min_price). - Sales count and free-shipping threshold of a product are read with two extra calls the product page uses; if one fails, its fields are simply missing.
- Dates and times are passed through as Basalam returns them (Iran local time, not converted).
- Review, description and shop text is user-generated and cut to 400 characters unless
full_text=true. - Not exposed: the vendor API's own
score(always 0; use the shop stars frombs_reviews), and the rating and same-city search filters. - It does not log in, fill a basket, order, chat with shops or post reviews.
- Answers are cached for 60 seconds; a timeout, 5xx or 429 is retried.
FAQ
Is there a Basalam API or MCP server for AI agents?
Yes: basalam-mcp is an unofficial MCP server with 7 read-only tools for product search, cheapest offers, shops, categories and reviews. It calls the same public endpoints the basalam.com web app uses; no API key is needed.
How do I use Basalam with Claude, Cursor or Copilot?
Add the server with claude mcp add basalam -- uvx basalam-mcp (or the matching config in Quick start), then ask in plain language, in Persian or English.
Is it official, safe and free?
It is unofficial and not affiliated with Basalam. It is read-only (no login, basket or orders), runs on your machine, and is free under the MIT license.
Do I need an Iranian IP?
No. In testing (2026-10-19) Basalam answered both from a Turkish exit and directly. If your network blocks it, set BASALAM_MCP_PROXY to an HTTP proxy. Normal system proxy variables are ignored on purpose.
Can it buy something for me?
No, and that is deliberate. It has no login and only reads public data. The agent finds the best option; you buy it on the site.
Why are some prices missing or tiny?
Sorting by price puts filler listings at a few hundred Toman first. Use bs_find_cheapest, which hides prices under 5000 Toman by default; lower min_price if you really want them.
How do I filter by category?
Call bs_categories (with query to search by name, or parent_id to list children), then pass the id as category_id to bs_search.
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?
npx @modelcontextprotocol/inspector uvx basalam-mcp
Configuration
| Variable | Default | Meaning |
|---|---|---|
BASALAM_MCP_PROXY | unset | Optional HTTP proxy URL; system proxy settings are ignored. Also accepts a comma-separated list: one is used until it gets blocked or fails to connect, then the next |
فارسی: سرور MCP باسلام
basalam-mcp یک سرور MCP غیررسمی و فقط‌خواندنی برای باسلام، بازار آنلاین کسب‌وکارهای کوچک و غرفه‌داران ایرانی، است. این سرور به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در باسلام جستجو کند، ارزان‌ترین پیشنهادها را پیدا کند و محصول، غرفه، دسته‌بندی و نظر خریداران را بخواند.
چه کارهایی می‌کند
- جستجوی محصول با فیلتر بازه قیمت، دسته‌بندی، ارسال رایگان، تخفیف، غرفه‌های برتر و پرداخت اقساطی؛ مرتب‌سازی بر اساس مرتبط‌ترین، پرفروش‌ترین، قیمت یا جدیدترین.
- **ارزان‌ترین پیشنه
Only the beginning is shown; read the rest in the repo