Skip to main content
Glama
mcp-uae-property

mcp-uae-property

by vikramwish

mcp-uae-property: Model Context Protocol Server for UAE Real Estate Intelligence

CI License: MIT TypeScript Model Context Protocol

Production-ready Model Context Protocol (MCP) server providing Dubai Land Department (DLD) transaction fee calculations, rental yield formulas, off-plan property search, and mortgage affordability modeling for AI agents.

flowchart LR
    Client["AI Agent Client\n(Claude / Cursor / Antigravity)"]
    Transport["StdioServerTransport\n(JSON-RPC 2.0)"]
    Router["MCP Request Router\n(mcp-uae-property)"]
    Tools["Tools Engine\n• calculate_rental_yield\n• calculate_dubai_fees\n• calculate_mortgage_eligibility\n• search_offplan_developments\n• get_dld_area_analytics"]
    Resources["Resources\n• property://districts\n• property://golden-visa-rules"]
    Data["Curated UAE Datastore\n(DLD benchmarks & Emaar/Nakheel data)"]

    Client <-->|stdio| Transport
    Transport <--> Router
    Router --> Tools
    Router --> Resources
    Tools --> Data
    Resources --> Data

Why it exists

AI agents frequently produce hallucinations when answering questions about the UAE property market because transaction fee structures (DLD 4% transfer fees, registration trustee fees, Oqood), Central Bank LTV limits, and net rental yields follow strict local regulations. mcp-uae-property gives agents verified deterministic tools and structured resources to model Dubai property acquisitions with institutional rigor.

Related MCP server: MCP-Dubai

Features

  • Calculates gross and net rental yields: Computes developer service charges per sq.ft, maintenance reserves, vacancy buffers, and 5-year cumulative cash flow forecasts.

  • Audits Dubai Land Department transaction fees: Details the 4% transfer fee, AED 580 administrative cost, 2% broker commission (+ VAT), and trustee registration fees.

  • Evaluates UAE Golden Visa eligibility: Automatically flags whether a property valuation meets the AED 2,000,000 threshold for the 10-year investor residency visa.

  • Simulates Central Bank mortgage limits: Computes LTV caps (80% for expats up to AED 5M; 85% for UAE nationals), monthly amortization, stress-test interest buffers (+2%), and the 50% Debt-Burden Ratio (DBR) ceiling.

  • Queries curated off-plan developments: Filters premier off-plan launches across Downtown Dubai, Palm Jumeirah, Dubai Hills Estate, and Dubai Creek Harbour by developer, completion year, and payment plan.

  • Serves real-time district benchmarks: Returns average price per sq.ft, median 1-bed rentals, and 5-year historical capital appreciation across Dubai sub-markets.

Architecture

The server implements the Model Context Protocol over the standard input/output transport (StdioServerTransport), exposing:

  1. Tools: Callable functions backed by Zod runtime input validation schemas.

  2. Resources: Direct JSON and Markdown payloads accessible at property://districts and property://golden-visa-rules.

  3. Prompts: Reusable agent templates including dubai-investment-memo for automated memo generation.

Tech stack

Component

Technology

Rationale

Protocol SDK

@modelcontextprotocol/sdk

Official Anthropic & Linux Foundation MCP specification standard

Language

TypeScript 5.7 (ES2022 / NodeNext)

Type safety with strict null checking and declaration maps

Validation

Zod 3.24

Runtime schema parsing and descriptive JSON-RPC error generation

Test Framework

Vitest 3.0

Fast, concurrent unit and integration test runner

Transport

Stdio (Standard I/O)

Universally supported across Claude Desktop, Cursor, and Antigravity

Quick start

1. Installation & Local Build

git clone https://github.com/vikramwish/mcp-uae-property.git
cd mcp-uae-property
npm install
npm run build

2. Connect to Claude Desktop

Add this to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "uae-property": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/mcp-uae-property/dist/index.js"]
    }
  }
}

3. Connect to Cursor / Antigravity

Add this to your project .cursor/mcp.json or Antigravity configuration:

{
  "mcpServers": {
    "uae-property": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/mcp-uae-property/dist/index.js"]
    }
  }
}

Testing

The suite covers calculation edge cases, Central Bank LTV boundary conditions, Zod rejection of invalid types, and MCP JSON-RPC protocol round-trips.

npm test
✓ tests/calculations.test.ts (6 tests)
✓ tests/tools.test.ts (5 tests)
✓ tests/mcp-server.test.ts (3 tests)
Test Files  3 passed (3)
Tests       14 passed (14)

Roadmap

  • Direct integration with Dubai Pulse Open Data API for weekly transaction volume updates.

  • Multi-currency conversion tool (AED, USD, EUR, GBP, AUD) with live forex parity.

  • Support for Abu Dhabi (DMT) registration fee variants.

  • Standalone SSE / HTTP streaming transport for remote cloud agent access.

What I learned

  • Designed deterministic financial models under the Model Context Protocol standard, allowing LLMs to ground complex decisions in verified calculations.

  • Implemented comprehensive Central Bank of the UAE regulatory logic (stress testing, DBR caps, LTV tiers) in clean, modular TypeScript with 100% test coverage.

  • Structured agent prompts and resources to bridge real-world real estate domain knowledge directly into conversational AI environments.

Available Tools

5 tools
calculate_dubai_feesA

Calculates all official upfront purchase fees: Dubai Land Department (DLD) 4% transfer fee, administration fees, agency commission (2% + VAT), registration trustee fees, mortgage registration fees, and checks 10-year Golden Visa eligibility (>= 2,000,000 AED).

Inputs: purchasePriceAED (required), isOffPlan, hasMortgage, mortgageAmountAED.

calculate_mortgage_eligibilityA

Calculates mortgage affordability per UAE Central Bank regulations: LTV caps for expats (80% / 70%) and UAE nationals (85% / 75%), monthly payment, stress-test interest rate buffer (+2%), and 50% Debt-Burden Ratio (DBR) cap.

Inputs: loanTermYears (required), monthlyIncomeAED (required), propertyPriceAED (required), annualInterestRatePercent (required), +3 more.

calculate_rental_yieldA

Calculates Dubai gross and net rental yield percentages, accounting for developer service charges (AED/sq.ft), vacancy allowance, maintenance, and a 5-year cashflow projection.

Inputs: purchasePriceAED (required), expectedAnnualRentAED (required), propertySizeSqFt, vacancyWeeksPerYear, +3 more.

get_dld_area_analyticsA

Retrieves district-level investment metrics including average price per sq.ft, median 1-bedroom rents, typical gross yields, and 5-year capital appreciation for Dubai sub-markets.

Inputs: district (required).

search_offplan_developmentsC

Searches curated premier Dubai off-plan developments by budget, district, developer (Emaar, Nakheel, Damac, Sobha, Ellington), and Golden Visa status.

Inputs: district, developer, maxBudgetAED, minBudgetAED, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a clearly distinct purpose: yield calculation, upfront fee calculation, mortgage eligibility, off-plan search, and district analytics. There is no meaningful overlap that could cause misselection.

    Naming Consistency5/5

    All five tools follow a strict snake_case verb_noun pattern (calculate_*, search_*, get_*). The convention is applied uniformly with no deviations.

    Tool Count5/5

    Five focused tools map neatly onto the discrete decision points of Dubai property investment (yield, fees, financing, discovery, market data). Each tool earns its place with no redundancy.

    Completeness4/5

    The surface covers the core investment decision workflow well, but lacks operations like comparing two developments, retrieving a specific property/unit's details, or saving/exporting results. These are minor gaps an agent can work around with repeated tool calls.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Open-source MCP server providing real estate regulatory intelligence (zoning, permits, entitlements, deal scoring) for US properties, enabling AI agents to access 10 callable tools.
      12
      7 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      An MCP server that provides AI agents with access to Dubai and UAE public data (prayer times, exchange rates, school ratings, etc.) and curated business setup knowledge for entrepreneurs.
      120
      26 PyPI
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive real estate market intelligence, property valuation, and investment analysis for AI agents. Unifies data from multiple sources like Zillow, Redfin, and public records into a single MCP interface.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to fetch Indian mutual-fund NAVs and NSE market data, calculate GST and income-tax amounts, and look up RBI policy rates, with provenance blocks for citations. Works with any MCP client over stdio or HTTP.
      17
      MIT