mcpField
B
Bama Cars

Bama Cars

Local
github.comBusiness & Marketing3Updated 1d ago

About Bama Cars

Bama Cars is an unofficial, read-only MCP server for AI agents and clients that need listings and price information from Iran's Bama marketplace. It supports searches across vehicles, listing details, asking-price statistics, dealer inventory, and new-car prices.

Key features

  1. 01Search car ads with filters
  2. 02View full ad details
  3. 03Model-level asking-price statistics
  4. 04Daily new-car prices and trends
  5. 05Dealer inventory and ratings
  6. 06Vehicle specifications and expert ratings

Use cases

  1. 01Find used-car listings by city and budget
  2. 02Compare asking prices for a model and year
  3. 03Check daily new-car prices and changes
  4. 04Browse dealers and their available ads

MCP support

Provides 12 read-only tools to MCP clients over stdio for Bama listings, prices, specifications, and dealer data. No API key or Bama account is required.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"sepehr071-bama-ir": {
"command": "uvx",
"args": [
"bama-ir-mcp"
],
"env": {
"BAMA_MCP_PROXY": "<BAMA_MCP_PROXY>"
}
}
}
}
Run commanduvx bama-ir-mcp
Environment variables to set
BAMA_MCP_PROXYOptional HTTP proxy URL for the Bama requests; 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.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypibama-ir-mcp0.1.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

bama-ir-mcp: Bama (باما) Iran car marketplace MCP server for AI agents

bama-ir-mcp is an unofficial, read-only MCP server that gives AI agents the car ads and price lists of Bama (bama.ir), Iran's car marketplace.
Its 12 tools search used and new car, motorcycle and truck ads with real filters, read one ad in full, compute asking-price statistics for a model, search and rank the new-car price list, show the daily market mood, return technical specs and expert ratings, browse a dealer's inventory and look up brand, model and filter values.
No API key or Bama account is needed. It works in Claude, Cursor, Copilot and any other MCP client.

For AI agents · Quick start · Tools · FAQ


For AI agents

  • What: unofficial MCP server (model context protocol) for bama.ir: car ad search (brand/model/trim, year, price, mileage, city, seller, gearbox, body, fuel, color, paint condition, installment), ad details, market price statistics per model and year, new-car price list with trend, dealers and their inventory, motorcycle and truck ads, technical specs and ratings, market pulse.
  • Install: uvx bama-ir-mcp or claude mcp add bama -- uvx bama-ir-mcp. Transport: stdio. Needs uv (Python 3.10+).
  • Auth: none. Optional BAMA_MCP_PROXY (HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.
  • Access: read-only. It cannot log in, post ads, message sellers or read phone numbers.
  • Tools: 12, all prefixed ba_. Typical sequences: ba_vehicles -> ba_search -> ba_ad; ba_vehicles -> ba_market_stats; ba_new_prices / ba_price_list; ba_car_specs; ba_dealers -> ba_dealer_ads; ba_filters -> ba_search.
  • Use when: the user asks what a used or new car costs in Iran, wants listings by model, year, mileage or city, wants to compare asking prices, or needs a dealer.
  • Do not use when: a car outside Iran, or actual sale prices (these are asking prices).
  • Output: compact JSON. Prices are Toman, years Jalali (imports may show Gregorian), mileage km, text Persian.

Quick start

claude mcp add bama -- uvx bama-ir-mcp

Other clients: command uvx, args ["bama-ir-mcp"].

Tools

ToolWhat it does
ba_searchCar ads with filters, 30 per page, sortable.
ba_adOne car, motorcycle or truck ad in full, with the real number of ads for that model; optional similar ads.
ba_market_statsMin, quartiles, median, max asking price for a model, per year, from live ads.
ba_new_pricesToday's price of new-car trims (market, factory, dealer) with daily change and trend.
ba_dealersShowrooms with ads for a model or city, with address and rating.
ba_search_bikes_trucksMotorcycle or truck ads with filters (brand, year, price, city, body, usage...).
ba_dealer_adsOne dealer's inventory (up to 100 ads) with filters and sorting.
ba_price_listSearch and rank the daily new-car or motorcycle price list by brand, price type, origin.
ba_market_pulseToday's market score and analysis plus the biggest new-car price movers.
ba_car_specsTechnical specs, expert rating, pros and cons, trims of a car or motorcycle model.
ba_vehiclesBrand, model and trim values for the other tools (cars, motorcycles, trucks).
ba_filtersValues for region, body, fuel, color, country, truck usage and other filters.

FAQ

Does it need the internet from Iran? Bama answers from inside Iran and through most proxies. Set BAMA_MCP_PROXY to route through one.

Why a sample, not a total? Bama gives no result count and 30 ads per page; ba_market_stats samples up to 5 pages and says so.

Is it allowed? It calls the same public JSON the website uses, serially and with caching. It does not bypass any browser check.

Author: Sepehr Radmard (سپهر رادمرد), github.com/sepehr071, linkedin.com/in/sepehr-radmard. MIT licensed. Not affiliated with Bama.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.