Skip to main content

DLD MCP Server

MCP server (local stdio or remote HTTP) for querying Dubai property sales transactions and rental contracts through OfferBrief.

The server uses MCP Python SDK v2 and supports the MCP 2026-07-28 protocol.

Installation

Run the published package directly:

uvx dld-mcp

Setup

Claude Code:

claude mcp add dld -- uvx dld-mcp

Claude Desktop:

{
  "mcpServers": {
    "dld": {
      "command": "uvx",
      "args": ["dld-mcp"]
    }
  }
}

Add that entry to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

Remote (no install): add https://offerbrief.com/mcp as a custom connector in Claude or ChatGPT, or

claude mcp add --transport http dld https://offerbrief.com/mcp

Self-hosting the HTTP endpoint:

uvx dld-mcp --http --port 8765 --public-host example.com

It listens on 127.0.0.1 (put a TLS reverse proxy in front), is stateless, and rejects Host and Origin headers other than localhost and --public-host.

Tool

query_dld accepts:

Parameter Allowed values Default
area Area or building name, at least 2 non-whitespace characters Required
type sales, rentals sales
property_type all, apartment, villa, townhouse all
bedrooms all, studio, 1, 2, 3, 4, 5, 5+ all
date_from A real date in YYYY-MM-DD format OfferBrief default
date_to A real date in YYYY-MM-DD format OfferBrief default
metric stats, count, list stats
limit Integer from 1 through 50 10

bedrooms is supported only for sales: DLD's current rental feed has no bedroom data. date_from cannot be later than date_to. The default window is the last 12 months. list returns individual rows from the last 60 days only; stats and count cover any period. Each IP gets 300 queries a day.

Examples:

query_dld(area="Marina")
query_dld(area="Palm", property_type="villa", date_from="2024-01-01", metric="count")
query_dld(area="Downtown", type="rentals", property_type="apartment")
query_dld(area="JBR", metric="list", limit=10)

Invalid arguments fail before an API request. OfferBrief's own message is passed through for rejected queries and empty results. HTTP, rate limit, timeout, connection, and malformed response failures set MCP isError and return structured errors with a message and status code. Results include both structured content and JSON text for client compatibility. The tool declares read-only, non-destructive, idempotent access to an external data source.

Skill

The server ships one skill, dubai-property-data, as the resource skill://dubai-property-data/SKILL.md (Skills over MCP, SEP-2640). It tells the model how areas are matched, why count and stats differ, and which trends are artefacts of the data. The server instructions point to it, so any client that reads resources can load it.

OfferBrief dependency and privacy

Each tool call sends its query parameters to https://offerbrief.com/api/query. No credentials are used. The package does not log query parameters or response bodies.

Results reflect the data available from OfferBrief when the call is made. This package does not claim a refresh schedule or transaction count.

Development

git clone https://github.com/level09/dld-mcp
cd dld-mcp
uv sync --group dev
uv run pytest
uv run ruff check
uv build

License

MIT, OfferBrief

Metadata

Release files for dld-mcp 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dld-mcp 0.5.0
File Size Uploaded Provenance Actions
dld_mcp-0.5.0.tar.gz 85.9 kB Without provenance Details for dld_mcp-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dld-mcp 0.5.0
File Interpreter ABI Platform Actions
dld_mcp-0.5.0-py3-none-any.whl Python 3 none any Details for dld_mcp-0.5.0-py3-none-any.whl

Total release size: 95.3 kB

Release files / dld_mcp-0.5.0.tar.gz

Download URL dld_mcp-0.5.0.tar.gz
Size 85.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a60ff785fa8abef47e2b4fbf9439ada1bc6279310b397ab69f8c13c8c519f305
BLAKE2b-256 checksum
How to use checksums
910f34c7dd2d9004e655a11fda93304c94d19be644ebe719a76cc26ff2c74352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / dld_mcp-0.5.0-py3-none-any.whl

Download URL dld_mcp-0.5.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c978daa504a71122b13749d3608d560beab0e97cb8312a11150cbfe6e7b9c6db
BLAKE2b-256 checksum
How to use checksums
fddc06d49329673da8de1bed540badc0b96f44179013cfb65e13c6999446b24f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for dld-mcp 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page