HomeServize MCP
by sepehr071
README.md
# HomeServize MCP server for AI agents
HomeServize MCP (`homeservize-mcp`) is an unofficial, read-only Model Context Protocol server for HomeServize (هوم‌سرویز), an Iranian home services platform. Search services such as house cleaning, AC installation, and carpet cleaning. Read published prices in Iranian toman, check service conditions and city coverage, and find public provider profiles.

[Quick start](#quick-start) · [Tools](#tools) · [Example prompts](#example-prompts) · [راهنمای فارسی](#راهنمای-فارسی) · [FAQ](#faq) · [License](#license)
## For AI agents
- **Transport and access** · Local stdio with `uv` and Python 3.10+. The server reads public HomeServize pages without an account or API key.
- **Service discovery** · Start with `hs_search_services`. A Persian name such as `نظافت منزل` or a service slug such as `house-cleaning` works. Pass the returned `service_slug` to the other tools.
- **Price evidence** · Use `hs_get_service_prices` to read estimates from the general service page. Report the billing unit and any published Jalali period with the amount. Cite the returned `source_url`.
- **Location and providers** · Use `hs_get_service_details` for published city slugs and neighborhood links. Pass a listed `city_slug` to `hs_list_service_providers`. Coverage and provider cards describe what the site publishes. Use the service page for appointments and job-specific quotes.
## Quick start
Install `uv` and replace `/absolute/path/to/homeservize-mcp` with the path to your local checkout. [uv installation](https://docs.astral.sh/uv/getting-started/installation/)
### Claude Code
```bash
claude mcp add --transport stdio homeservize -- uv run --directory "/absolute/path/to/homeservize-mcp" homeservize-mcp
```
### Other stdio MCP clients
For clients that use an `mcpServers` JSON object, add this entry to the client configuration.
```json
{
"mcpServers": {
"homeservize": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/homeservize-mcp", "homeservize-mcp"]
}
}
}
```
On Windows, a path such as `C:/Projects/homeservize-mcp` works in both examples. The server reads standard proxy environment variables such as `HTTPS_PROXY`.
## Tools
| Tool | Arguments | Result |
| --- | --- | --- |
| `hs_search_services` | `query`, optional `limit` (default 10, max 30) | Search by service name, category, or slug. Returns deduplicated matches with names, categories, slugs, and source URLs. |
| `hs_get_service_prices` | `service_slug` | Read itemized prices on the general service page. Returns price types, amounts in toman, billing units where stated, and the price heading and Jalali season when published. |
| `hs_get_service_details` | `service_slug`, optional `city_slug` and `neighborhood_page` (default 1) | Read published conditions, included work, an aggregate rating when present, and city links. A city page can return 16 neighborhood links per page. Use `next_neighborhood_page` to continue. |
| `hs_list_service_providers` | `service_slug`, `city_slug`, optional `limit` (default 8, max 20) | List public provider cards in site order. Cards include names and can include grades, ratings, sponsored labels, and public HomeServize Signal profile links. |
Fixed prices use `amount_toman`. Ranges use `min_toman` and `max_toman`, and starting prices use `min_toman`. For negotiable or unparsed rows, use the original `price_text`. Some rows charge per square meter or per additional hour. Keep the returned `billing_unit` attached to the amount.
## Example prompts
- What does HomeServize list for four hours of house cleaning and each additional hour?
- Which Tehran neighborhoods have a published HomeServize house cleaning page? Include links.
- Find public AC installation providers for Karaj with their ratings and profile links.
## راهنمای فارسی
<div dir="rtl">
سرور MCP هوم‌سرویز از صفحه‌های عمومی سایت می‌خواند. می‌توانید خدمات را جست‌وجو کنید، قیمت‌های اعلام‌شده را به تومان ببینید و شرایط سرویس، شهرها و محله‌های تحت پوشش را بررسی کنید. کارت همیاران هم در بعضی صفحه‌های شهری در دسترس است. برای خواندن این اطلاعات به حساب کاربری نیازی نیست. قیمت نهایی و زمان انجام کار به جزئیات سفارش بستگی دارد.
- هوم‌سرویز برای چهار ساعت نظافت منزل چه قیمتی اعلام کرده؟ هزینهٔ هر ساعت اضافه را هم بگو.
- هوم‌سرویز برای نظافت منزل در کدام محله‌های تهران صفحه دارد؟ لینک صفحه‌ها را هم بده.
- هوم‌سرویز چه همیارهایی برای نصب کولر گازی در کرج معرفی کرده؟ امتیاز و لینک پروفایلشان را نشان بده.
</div>
## FAQ
### What if a service search returns no matches?
Try a shorter Persian query such as `قالیشویی`, or use a known slug like `carpet-cleaning`. Search covers the public HomeServize service catalog.
### Can I use the published price as a final quote?
Use published prices as estimates. The service page may state a Jalali season and a billing unit. For a specific job or appointment, use the source page to check the requirements and request a quote.
### Does a provider card show who can take my job today?
A card shows a provider listed on the public service city page. `listed_count` counts the cards found on that page. Contact or booking options are on HomeServize's site.
## Development
Run from the project directory.
```bash
uv run --locked pytest -q
uv run --locked ruff check src tests
uv run --locked ruff format --check src tests
uv build
```
The tests use local fixtures and do not call HomeServize.
## License
Licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE). For commercial licensing, contact [Sepehr Radmard](https://github.com/sepehr071).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues