{
  "$schema": "https://json.schemastore.org/mcp-server-card.json",
  "name": "dalal-cadastral-server",
  "displayName": "Dalal Cadastral & Land Records Intelligence",
  "version": "1.0.0",
  "description": "Autonomous cadastral survey and land intelligence platform for India. Queries spatial cadastral maps, UP BhuNaksha, e-NagarSewa property tax ledgers, and IGRSUP deed registries.",
  "homepage": "https://dalal.wtf",
  "endpoint": "https://dalal.wtf/api/mcp",
  "transport": "sse",
  "capabilities": {
    "tools": {
      "listChanged": true
    },
    "resources": {
      "subscribe": true,
      "listChanged": true
    }
  },
  "tools": [
    {
      "name": "search_cadastral_plots",
      "description": "Search spatial cadastral parcels around a coordinate or locality query across India",
      "parameters": {
        "type": "object",
        "properties": {
          "lat": { "type": "number", "description": "Latitude coordinate" },
          "lng": { "type": "number", "description": "Longitude coordinate" },
          "radiusKm": { "type": "number", "description": "Search radius in km" }
        },
        "required": ["lat", "lng"]
      }
    },
    {
      "name": "get_municipal_record",
      "description": "Fetch official e-NagarSewa property tax assessment, ARV, and treasury receipts",
      "parameters": {
        "type": "object",
        "properties": {
          "token": { "type": "string", "description": "64-character property hex token or record ID" },
          "accessKey": { "type": "string", "description": "Optional private access key to unlock unmasked citizen contacts" }
        },
        "required": ["token"]
      }
    },
    {
      "name": "search_enagarsewa_properties",
      "description": "Search UP e-NagarSewa municipal property registers across 766 ULB cities",
      "parameters": {
        "type": "object",
        "properties": {
          "ulbId": { "type": "string", "description": "e-NagarSewa ULB ID (e.g. 439 for Lucknow, 307 for Kanpur)" },
          "name": { "type": "string", "description": "Owner name (minimum 3 characters)" },
          "locality": { "type": "string", "description": "Mohalla or locality name" },
          "houseNo": { "type": "string", "description": "House number" }
        }
      }
    }
  ]
}
