Skip to content
MCP server

Bonbama Discounts

Read-only MCP server exposing Gorgan business listings and discount codes from bonbama.ir

Runs locally

Bonbama Discounts is an open-source MCP server for e-commerce. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
0.1.0
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add bonbama-mcp -- uvx bonbama-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "bonbama-mcp": {
      "command": "uvx",
      "args": [
        "bonbama-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "bonbama-mcp": {
      "command": "uvx",
      "args": [
        "bonbama-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "bonbama-mcp": {
      "command": "uvx",
      "args": [
        "bonbama-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "bonbama-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bonbama-mcp"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add bonbama-mcp -- uvx bonbama-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.bonbama-mcp]
command = "uvx"
args = ["bonbama-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "bonbama-mcp": {
      "command": "uvx",
      "args": [
        "bonbama-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user bonbama-mcp uvx -- bonbama-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "bonbama-mcp": {
          "command": "uvx",
          "args": [
            "bonbama-mcp"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About Bonbama Discounts

The README says this server reads bonbama.ir live on every call, so campaign status, prices and expiry dates reflect the page at the moment of the request rather than a stored copy. It covers Gorgan-area businesses, their categories, active discount campaigns and magazine articles, and returns literal discount codes only when they appear as text on a business page.

It runs locally over stdio through a PyPI package, or can be reached as a hosted streamable HTTP endpoint. Tools cover business search, business detail, category listing, site-wide discount search, article search and a reachability check. Personal codes that require a free bonbama.ir account are not returned.

The project is unofficial and not affiliated with Bonbama. It is aimed at people who want to ask an AI assistant about local deals in Gorgan and verify them on the site before buying. The README notes that it is licensed under PolyForm Noncommercial 1.0.0, so commercial use requires a separate license.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 5 of 6 tools read data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

bb_search_businessesName suggests: reads
Search businesses by keyword and/or category slug.
bb_get_businessName suggests: reads
Full details for one business, including active campaigns and published codes.
bb_list_categoriesName suggests: reads
All business categories with Persian names and counts.
bb_search_discountsName suggests: reads
Search active discount campaigns site-wide.
bb_search_articlesName suggests: reads
Search the Bonbama magazine.
bb_health
Check whether bonbama.ir is reachable.

What it does

Live business lookup
Fetches business details, city, rating and active campaigns directly from bonbama.ir pages on each call.
Discount campaign search
Searches active discount campaigns site-wide, with an empty query returning popular campaigns.
Category browsing
Lists business categories with Persian names and business and campaign counts.
Literal code extraction
Reports discount codes printed as text on business pages, with the note attached to each code.
Magazine article search
Searches Bonbama magazine guides and best-of-Gorgan lists by keyword.
Read-only access
Performs no writes to bonbama.ir and needs no API key or login.

Good for

  • Finding current discount codes for a Gorgan restaurant or shop before visiting
  • Comparing active campaigns across businesses in one category
  • Asking an assistant for local best-of lists from the Bonbama magazine
  • Checking whether bonbama.ir is reachable before running other queries

Pricing

Open source

Free for personal and non-commercial use under PolyForm Noncommercial 1.0.0; commercial use needs a separate license.

Bonbama Discounts FAQ

Does Bonbama Discounts need an API key or account?

The README says no key and no login are needed, because it reads public sitemaps and pages.

Can Bonbama Discounts generate personal discount codes?

No. Codes that require pressing the button on bonbama.ir with a free account are per-user and are never returned by the server.

How do I install the local version?

The README gives an MCP client config using uvx with the bonbama-mcp package, and also lists a python -m bonbama_mcp.server option.

Is Bonbama Discounts affiliated with Bonbama?

No. The README states it is an unofficial project and not affiliated with Bonbama.

Is Bonbama Discounts free?

Yes. Bonbama Discounts is open source, so you can use and self-host it for free.

How do I add Bonbama Discounts to Claude Code?

Run this command in your terminal: claude mcp add bonbama-mcp -- uvx bonbama-mcp

What are the best alternatives to Bonbama Discounts?

The closest alternatives to Bonbama Discounts are Digistyle Fashion, Coupossum, bol.com Advertiser MCP and Coupon Swarm.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers