Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unofficial read-only Basalam marketplace: search products, cheapest offers, shops, reviews.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
BASALAM_MCP_PROXYต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"basalam": {
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add basalam --env BASALAM_MCP_PROXY='ใส่ค่าของคุณ' -- uvx basalam-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"basalam": {
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"basalam": {
"type": "stdio",
"command": "uvx",
"args": [
"basalam-mcp"
],
"env": {
"BASALAM_MCP_PROXY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
BASALAM_MCP_PROXY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub sepehr071 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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 · فارسی
uvx basalam-mcp or claude mcp add basalam -- uvx basalam-mcp. Transport: stdio. Needs uv (Python 3.10+).BASALAM_MCP_PROXY (HTTP proxy URL, or a comma-separated list).bs_. Start with bs_search or bs_find_cheapest. Typical sequence: bs_find_cheapest -> bs_product -> bs_reviews.https://basalam.com/p/ .server.json and the iran-mcp catalog (TOOLS.md, servers.json, llms.txt).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.
category_id filterExample prompts:
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.
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. |
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.
bs_find_cheapest hides prices under 5000 Toman by default (min_price).full_text=true.score (always 0; use the shop stars from bs_reviews), and the rating and same-city search filters.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
| 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 |
basalam-mcp یک سرور MCP غیررسمی و فقط‌خواندنی برای باسلام، بازار آنلاین کسب‌وکارهای کوچک و غرفه‌داران ایرانی، است. این سرور به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در باسلام جستجو کند، ارزان‌ترین پیشنهادها را پیدا کند و محصول، غرفه، دسته‌بندی و نظر خریداران را بخواند.
چه کارهایی می‌کند
ตัดมาแค่ช่วงต้น อ่านต่อใน repo