Bonbama Discounts MCP Server
Unofficial read-only MCP server for bonbama.ir — Gorgan discounts, businesses and codes.
Bonbama Discounts scores 62 (Good), licensed PolyForm-Noncommercial-1.0.0 and written in Python. It installs as a local process. It declares 6 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
62 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- License present: polyform-noncommercial-1.0.0.
License, quality and maintenance
License: Grade D
PolyForm-Noncommercial-1.0.0 is source-available, not open source: use is restricted.
How license is gradedQuality: Grade A
90/100 for listing completeness. Lost points: short README, short summary.
How quality is graded
Where the 62 comes from
22 + 20 + 0 + 6 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 6 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mohammad-abbasi-sh-bonbama-mcp": { "command": "uvx", "args": [ "bonbama-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools6Tool docs quality grade C
All capabilitiesbb_get_businesstoolFull details for one business — slug (e.g. testino, takchh): description, city, address, rating, category, ACTIVE campaigns with discount + expiry, and any literal discount codes published on the page
bb_healthtoolCheck whether bonbama.ir is reachable right now
All business categories with Persian names + business/campaign counts
Search the Bonbama magazine (guides, best-of-Gorgan lists) — query
Search businesses by keyword and/or category slug — query, category, limit
Search ACTIVE discount campaigns site-wide — query (empty = popular campaigns)
About
bonbama-mcp 🇮🇷
mcp-name: io.github.mohammad-abbasi-sh/bonbama-mcp
Unofficial read-only MCP server for bonbama.ir — Gorgan's discount platform: local businesses, discount codes and campaigns, business categories, and magazine articles. All data is read live from bonbama.ir public pages at call time — nothing is hardcoded.
Not affiliated with Bonbama. Built for the Bazaar MCP Hub submission — see DEPLOY.md for hosting.
For AI agents
Local (stdio) — add to your MCP client config:
{
"mcpServers": {
"bonbama": {
"command": "uvx",
"args": ["bonbama-mcp"]
}
}
}
Or run locally: python -m bonbama_mcp.server (needs mcp<2, httpx, uvicorn).
Hosted (streamable HTTP) — for clients that connect to a remote MCP server:
https://api.bonbama.ir/mcp
MCP endpoint is /mcp (streamable HTTP, stateless — no session affinity needed); liveness probe at /health. Hosting guide: DEPLOY.md.
Tools
| Tool | Description |
|---|---|
bb_search_businesses | Search businesses by keyword and/or category slug — query, category, limit |
bb_get_business | Full details for one business — slug (e.g. testino, takchh): description, city, address, rating, category, ACTIVE campaigns with discount + expiry, and any literal discount codes published on the page |
bb_list_categories | All business categories with Persian names + business/campaign counts |
bb_search_discounts | Search ACTIVE discount campaigns site-wide — query (empty = popular campaigns) |
bb_search_articles | Search the Bonbama magazine (guides, best-of-Gorgan lists) — query |
bb_health | Check whether bonbama.ir is reachable right now |
Example output (bb_get_business / takchh, trimmed):
{"name": "طاقچه | خرید کتاب الکترونیکی و صوتی و اشتراک بینهایت",
"city": "تهران", "campaign_count": 5,
"campaigns": [{"title": "۵۰٪ تخفیف اولین خرید طاقچه — فقط از طریق بنباما",
"discount": "50%", "valid_through": "2027-01-20"}],
"codes": [{"code": "OFF50", "note": "۵۰٪ تخفیف اولین خرید"}]}
Notes:
- Campaigns, codes, prices and expiries are read live from the page on every call — they change; always report
fetched_atand tell the user to verify on the business page before buying. - Literal codes (e.g.
OFF50) come from the business page's own text. Some campaigns instead need the user to press «دریافت کد» on bonbama.ir (free, needs a free account) to generate their personal code/QR — those codes are per-user and are never returned here. - Data sources: bonbama.ir sitemaps + public search, business, category and article pages — no key, no login, read-only. This server never writes anything to bonbama.ir.
Development
python -m venv .venv && .venv/bin/pip install -e . pytest
.venv/bin/python -m pytest tests/ -q # 29 offline + 7 live tests
.venv/bin/python -m pytest tests/test_bonbama.py -q # offline only
Cite this project
If you use bonbama-mcp, build on it, or write about it, please credit the source:
Abbasi, Mohammad. bonbama-mcp. v0.1.0, 2026. https://github.com/mohammad-abbasi-sh/bonbama-mcp
A ready-to-copy citation is also available from GitHub's Cite this repository button (see CITATION.cff). Commercial use needs a separate license (see below).
License
PolyForm Noncommercial 1.0.0 — free for personal and non-commercial use; commercial use needs a separate license.
Built by Mohammad Abbasi — Almanibama · mabbasi.ir
Frequently asked questions
What is Bonbama Discounts MCP Server?
Unofficial read-only MCP server for bonbama.ir — Gorgan discounts, businesses and codes.
How do I install Bonbama Discounts MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Bonbama Discounts MCP Server runs locally from the PyPI package bonbama-mcp with the command uvx bonbama-mcp.
Is Bonbama Discounts MCP Server free and open source?
Bonbama Discounts MCP Server is released under the PolyForm-Noncommercial-1.0.0 license, which is not on MCPpedia's list of OSI-approved open-source licenses. Read the license terms before using it, especially commercially.
Does Bonbama Discounts MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Bonbama Discounts MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Bonbama Discounts MCP Server provide?
Bonbama Discounts MCP Server provides 6 tools, including bb_get_business, bb_health, bb_list_categories, and bb_search_articles. See the full tool list for descriptions and parameters.
How is Bonbama Discounts MCP Server's trust score calculated?
Bonbama Discounts MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.