Skip to main content

DLD MCP Server

Local stdio MCP server 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.

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.

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.

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.3.1

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.3.1
File Size Uploaded
dld_mcp-0.3.1.tar.gz 73.0 kB Details

Built distribution (wheel)

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

Total release size: 78.9 kB

Release files / dld_mcp-0.3.1.tar.gz

Download URL dld_mcp-0.3.1.tar.gz
Size 73.0 kB
Tags Source
SHA-256 checksum
How to use checksums
68b09ed0820334997b661ce6003604cd4bf140e5e861fe1d72fdaff4b717406e
BLAKE2b-256 checksum
How to use checksums
b61cf40efa8f88eccb4cde966ec107038a66aa41dbc0f8704e797ed8d8046d70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

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

Download URL dld_mcp-0.3.1-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e9f374b4855491fabbc0b5aeccc9685430c6cd37d37fbcb3487d9eb2f382cf1
BLAKE2b-256 checksum
How to use checksums
c77ae535e279174cc5287b07eeb5a8c358f074bf12c943c1bde2ab184dbbccaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.4.0

2 release files

This release

0.3.1 This release

2 release files

0.2.0

2 release files

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