zameen-mcp
Enables AI assistants to research Zameen.com property listings with verified/titanium filtering, local watchlists, listing details, and agent-message drafting through structured tools.
README
<div align="center">
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/lonewolfmasanaga/zameen.com-mcp/main/assets/zameen-logo-white.svg"> <img src="https://raw.githubusercontent.com/lonewolfmasanaga/zameen.com-mcp/main/assets/zameen-logo.png" alt="zameen.com" width="360"> </picture>
MCP server for researching property listings on Zameen.com
Verified / Titanium-agent filtering · local watchlists · listing details · agent-message drafting — through 9 structured tools in any MCP client.
Tool reference · Deployment guide · Contributing · Changelog
</div>
An MCP (Model Context Protocol) server for researching property listings on Zameen.com — Pakistan's largest real estate portal — through structured tools instead of fragile screen scraping.
Trademark notice: "Zameen" and the Zameen.com logo are trademarks of Zameen.com (EMPG). They are used here solely to identify the service this tool interfaces with. This project is unaffiliated with, and not endorsed by, Zameen.com.
Works with any MCP client: Claude Desktop, Hermes Agent, Cursor, and others.
Install
# run directly with no permanent install (recommended)
uvx zameen-mcp
# or install as an isolated CLI tool
pipx install zameen-mcp
Register in your MCP client
{
"mcpServers": {
"zameen": {
"command": "uvx",
"args": ["zameen-mcp"]
}
}
}
That's it — 9 tools appear in your AI client.
Tools
| Tool | What it does |
|---|---|
search_properties |
Structured search: city, purpose, type, beds, price, area, keywords, sort |
get_listing_details |
Full detail page for one listing (URL or numeric id) |
list_supported_cities |
Verified city slugs + property types |
add_watch / check_watch |
Save search criteria locally; later re-checks report only NEW listings |
list_watches / remove_watch |
Manage saved watches |
draft_agent_message |
Compose a polite inquiry for a listing — draft only, never sends |
account_status |
Whether an authenticated session is loaded |
Badge-level filtering Zameen's own UI can't do: verified_only,
agent_tier (e.g. "titanium"), exclude_promoted.
Full parameter reference + natural-language cheat sheet: docs/TOOLS.md
Optional: log in to your Zameen account
Anonymous searching works out of the box. To also ride your logged-in session (saved searches, personalized pages):
pipx inject zameen-mcp playwright && .venv/bin/playwright install chromium # pipx
uv tool install zameen-mcp --with playwright && playwright install chromium # uv
zameen-mcp-login # opens a Chromium window; YOU log in; cookies stay local
Your password is never seen or stored by this software — only the resulting
session cookies, kept in ~/.zameen-mcp/ on your machine. Wipe anytime:
zameen-mcp-login --logout.
Data location
All state lives in ~/.zameen-mcp/ (watches.json, session_state.json,
chrome-profile/). Override with the ZAMEEN_MCP_HOME environment variable.
Treat session_state.json like a password: it grants access to your account
while valid.
Development
git clone <repo-url> && cd zameen.com
uv venv .venv && uv pip install -p .venv/Scripts/python.exe -e ".[dev]"
.venv/Scripts/python.exe -m pytest -q # offline suite against real captured pages
.venv/Scripts/python.exe smoke_test.py # live end-to-end check
Compliance & fair use
- Zameen.com's
robots.txtdisallows crawling its major-city listing pages. This server is built for interactive, human-paced research — a person asking their assistant questions — not bulk harvesting or redistribution. - Requests go out one at a time with browser-like headers. Don't remove the pacing or loop searches unattended.
- Listing data belongs to Zameen.com and its advertisers; "Zameen" is a trademark of Zameen.com. This project is unaffiliated and not endorsed.
- Prices are agent-entered, as-listed — not verified market valuations.
Limitations
- Read-only by design: no posting, messaging, or account changes — contacting
agents is deliberately a human action (
draft_agent_messageonly drafts). - Badge filters operate on fetched result pages (up to 3 per call).
- Parsing targets Zameen's current HTML; site redesigns may require parser updates (fixtures make regressions easy to catch).
MIT licensed — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。