Skip to main content
Glama
lonewolfmasanaga

zameen-mcp

MCP server for researching property listings on Zameen.com

License: MIT Python MCP Tests

Verified / Titanium-agent filtering · local watchlists · listing details · agent-message drafting — through 9 structured tools in any MCP client.


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.

Related MCP server: Zillow MCP Server

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.txt disallows 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_message only 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.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Provides real-time access to Zillow real estate data, enabling property search, details, Zestimates, market trends, and mortgage calculations via natural language.
    10
    47
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates Zillow real estate data with AI assistants, enabling property search, neighborhood insights, and affordability calculations through natural language.
    10
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to search Dutch housing listings on Kamernet.nl, retrieve full listing details, and optionally reply to landlords; designed for personal use in finding rooms, studios, and apartments.
    3
    1
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lonewolfmasanaga/zameen.com-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server