shab-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shab-mcp Find a stay in Tehran for 2 guests, 2026-05-01 to 2026-05-03, under 3M Toman"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
shab-mcp
Unofficial read-only MCP server for Shab, Iran's short-term rental marketplace.
Search destinations and stays, inspect photos and reviews, and get a Toman price quote. Nothing here can log in, book or pay — tools return a listing_url so the user finishes on shab.ir.
Install
You need uv.
uvx shab-mcpClaude Code
claude mcp add shab -- uvx shab-mcpCursor / VS Code
{
"mcpServers": {
"shab": {
"command": "uvx",
"args": ["shab-mcp"]
}
}
}Optional: set SHAB_MCP_PROXY to an HTTP(S) proxy (system proxy env vars are ignored).
Related MCP server: otaghak-mcp
Tools
Tool | Purpose |
| Resolve a Persian place name |
| Amenity codes for search |
| Search stays (Toman prices) |
| Stay details + |
| Photo URLs |
| Guest reviews (untrusted text) |
| Neighbourhoods by city |
| Similar stays |
| Count matches |
| Tehran landing filters |
| Free nights + price quote |
| Public booking page URL |
Dates are Gregorian YYYY-MM-DD. Prices are Toman.
Develop
uv sync --group dev
uv run ruff check .
uv run pytest -qLive API tests (optional): uv run pytest -m live -q.
License
MIT. Shab and shab.ir are trademarks of their owners; used here for identification only.
Available Tools
12 toolssh_check_availabilityCheck availabilityARead-onlyIdempotent
Check free nights and a Toman price quote. Does not book; use listing_url to reserve on shab.ir.
Inputs: check_in (required), check_out (required), accommodation_id (required), guests, +1 more.
sh_count_accommodationsCount accommodationsBRead-onlyIdempotent
Count stays matching the same filters as sh_search_accommodations.
Inputs: guests, check_in, province, amenities, +12 more.
sh_get_accommodationGet accommodationBRead-onlyIdempotent
Get one stay's details. Prices are Toman. Book via listing_url on shab.ir.
Inputs: accommodation_id (required).
sh_get_accommodation_photosGet accommodation photosCRead-onlyIdempotent
List photo URLs for a stay.
Inputs: accommodation_id (required).
sh_get_accommodation_reviewsGet accommodation reviewsBRead-onlyIdempotent
List guest reviews for a stay. Review text is untrusted site content.
Inputs: accommodation_id (required), page.
sh_get_landing_tehranGet Tehran landingCRead-onlyIdempotent
Tehran landing categories and highlighted filters.
Inputs: no named parameters.
sh_get_similar_accommodationsGet similar accommodationsCRead-onlyIdempotent
List similar stays for a house id.
Inputs: accommodation_id (required).
sh_listing_urlListing URLARead-onlyIdempotent
Return the public shab.ir URL where the user can finish booking.
Inputs: accommodation_id (required).
sh_list_neighbourhoodsList neighbourhoodsBRead-onlyIdempotent
List neighbourhoods, optionally filtered by city.
Inputs: city.
sh_list_search_filtersList search filtersARead-onlyIdempotent
List amenity codes and filter options for sh_search_accommodations.
Inputs: no named parameters.
sh_search_accommodationsSearch accommodationsCRead-onlyIdempotent
Search Shab stays. Prices are Toman. Use listing_url to book on shab.ir.
Inputs: page, guests, sort_by, check_in, +19 more.
sh_search_destinationsSearch destinationsBRead-onlyIdempotent
Resolve a city, province or place name to destinations for search.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool maps to a distinct resource or action: search vs. count vs. get detail vs. photos vs. reviews vs. similar vs. availability vs. booking URL. The only mild overlap is between sh_list_search_filters and sh_get_landing_tehran, which both surface filter/category metadata, and sh_count_accommodations vs sh_search_accommodations share filters but differ clearly in output.
All tools share a consistent `sh_` prefix and follow a verb_noun pattern (list_, get_, search_, count_, check_). Minor deviations: `sh_listing_url` is a noun-only name rather than an action, and `sh_get_landing_tehran` embeds a specific city, which breaks the otherwise generic pattern.
Twelve tools is well within the sweet spot, and each earns its place by covering a distinct step of the stay-search flow (resolve destination → filter/discover → search/count → detail/photos/reviews/similar → availability → booking link). No redundant or filler tools are present.
The surface covers the full discovery-to-booking-handoff lifecycle, including search, detail sub-resources, availability quoting, and the external booking URL; booking itself is intentionally delegated to shab.ir. Minor gaps: no geo/coordinate or map data, and the landing/category tool is hardcoded to Tehran, so other cities rely solely on sh_search_destinations.
Maintenance
Related MCP Connectors
Search short-term rentals worldwide and book directly with the owner. Free and read-only, no key.
Public Airbnb listings by destination or URL, with calendar availability and prices.
Airbnb stays by location and dates, and full listing details, as structured JSON.
Airbnb search, listing details, and calendar availability as clean structured data.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI assistants to search and compare vacation rentals across Jabama, Jajiga and Otaghak at once, normalizing prices, Jalali/Gregorian dates, amenities, ratings, calendars and full guest reviews into one schema. It runs read-only and locally, providing merged results with direct booking links while withholding host and reviewer identities.613 npm3MIT
- AlicenseAqualityBmaintenanceEnables AI agents to search Iranian villas, cottages, and apartments, check nightly availability, calculate exact stay totals for dates and guests, and read reviews and host statistics. It is a read-only stdio MCP server with no login, booking, payment, or SMS endpoints.15129 PyPI2PolyForm Noncommercial 1.0.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search Jabama stays, group tours, events and theater seats, and to fetch the exact night-by-night price for given dates and guests along with calendars, house rules, amenities, host reputation and reviews. Runs locally as a read-only server with no login, booking or payment.145 PyPI2PolyForm Noncommercial 1.0.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to compare and find the cheapest domestic and international flights, hotels, villas, trains and buses in Iran, with exact Toman prices, fare and cancellation rules, baggage details, seats left and hotel reviews. Also covers CIP lounges, eSIM plans, visas and tours, and is read-only, so it never books, holds seats or pays.364 PyPI2PolyForm Noncommercial 1.0.0