Skip to main content
Glama
README.md
# Flat Finder MCP — India Housing Society Intelligence

**Zero-auth remote MCP server & interactive 3D map covering 12,311+ Bengaluru & Gurugram housing societies — with K-RERA / HRERA legal dossiers, verified floor-plan bedroom sizes, multi-portal prices, flood terrain, water zones, and CPCB air quality.**

![Flat Finder — Bengaluru & Gurugram 3D Housing Society Map](assets/og-preview.png)

- **Live 3D Map:** [tabkhan.fyi/flat-finder](https://tabkhan.fyi/flat-finder/)
- **Remote MCP Endpoint (Streamable HTTP, No Auth):** `https://tabkhan.fyi/flat-finder/mcp`
- **MCP Server Card:** `https://tabkhan.fyi/flat-finder/.well-known/mcp/server-card.json`
- **LLM Directory Index:** `https://tabkhan.fyi/flat-finder/llms.txt`

> **Screening Disclaimer:** Flat Finder aggregates primary public records (K-RERA, HRERA, Copernicus DEM, CPCB/OpenAQ, OSM, BBMP/GMDA) for due-diligence screening only — not a legal title opinion, engineering survey, or financial advice. Always verify official e-Khata, Encumbrance Certificate (EC), and state RERA records before paying a booking token.

---

## Quick Connect (Zero Auth, Read-Only)

### Claude (Web / Desktop Custom Connector)
1. Go to **Settings → Connectors → Add custom connector**.
2. Paste `https://tabkhan.fyi/flat-finder/mcp` (Authentication: **None**).
3. Ask Claude:
   > *"Find 3 BHK societies in Bengaluru under ₹2 Cr with Core Khata, no adverse RERA flags, and every bedroom at least 11×12 ft near ORR."*

### Claude Code / Cursor / MCP JSON Config
```json
{
  "mcpServers": {
    "flat-finder": {
      "type": "http",
      "url": "https://tabkhan.fyi/flat-finder/mcp"
    }
  }
}
```

### Quick `curl` Smoke Test
```bash
curl -sS -X POST "https://tabkhan.fyi/flat-finder/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
```

---

## Available MCP Tools

All 5 tools are strictly read-only (`readOnlyHint: true`, `destructiveHint: false`, `idempotentHint: true`):

| Tool | Purpose |
|---|---|
| `search_societies` | Filter 12,311+ Bengaluru & Gurugram societies by buy/rent budget, BHK, verified bedroom size, amenities, metro/park/school/hospital proximity, office commute, K-RERA/HRERA OC, Core Khata, adverse RERA exclusion, flood terrain (HAND), and CPCB AQI (up to 200 results/page). |
| `breakdown` | Group matching societies by locality/sector, BHK, amenity, metro distance, water zone, or price/rent band with medians and top examples. |
| `list_localities` | List exact locality/sector names, society counts, and geographic centres for a city. |
| `get_society` | Full society dossier: multi-portal buy/rent medians, verified bedroom dimensions, K-RERA/HRERA legal & OC records, civic/water/flood/AQI metrics, resident ratings, and direct 3D Map + Red-Flag Checker links. |
| `compare_societies` | Side-by-side comparison of up to 10 societies across prices, room sizes, legal flags, amenities, and civic context. |

---

## Free Standalone Web Tools

Instant, zero-signup web tools backed by the same primary-source dataset:

- **[Society Red-Flag & RERA Checker](https://tabkhan.fyi/flat-finder/check/)** — Objective A–F screening grade (OC, lapsed RERA, land mortgages, complaints, Khata tier, flood terrain) + downloadable 4:5 WhatsApp Receipt Card PNG.
- **[True Rent vs Buy Calculator (India)](https://tabkhan.fyi/flat-finder/rent-vs-buy/)** — Auto-fill any society's prices & statutory guidance/circle rate with Karnataka Aug 2025 (`5.6% + 2%` reg) & Haryana gender stamp-duty slabs, 12.5% LTCG, and exact break-even year.
- **[Builder Delay & Complaint Scoreboard](https://tabkhan.fyi/flat-finder/builders/)** — Public developer league table ranked by RERA OC %, lapsed projects, statutory complaints, active mortgages & resident ratings, with CSV export.
- **[Flood, Lake-Buffer & Water-Risk Pin Lookup](https://tabkhan.fyi/flat-finder/flood-check/)** — Society or GPS pin lookup against Copernicus 30 m DEM HAND, flood hotspots, storm drains, NGT lake buffers & piped-water zones, plus safer-elevation nearby societies.
- **[Couple's Dual-Office Commute Midpoint Finder](https://tabkhan.fyi/flat-finder/midpoint/)** — Fair midpoint localities & societies between two office hubs using OSRM road + Metro travel times.

---

## Data Sources & Attributions

- **RERA & Civic Registries:** Karnataka RERA via `Vonter/karnataka-rera-projects` (`ODbL-1.0`), live HRERA Gurugram, BBMP/GBA wards, CGWB/IN-GRES groundwater assessments, and Bengaluru Rent Index (`CC BY 4.0`, [bengaluru.rent](https://bengaluru.rent/)).
- **Maps, Terrain & Overlays:** OpenStreetMap contributors (`ODbL`), Overture Maps Foundation (`CDLA-Permissive-2.0`), Copernicus DEM GLO-30 (`DLR/Airbus`), ESA WorldCover (`CC BY 4.0`), OpenAQ / CPCB, Esri World Imagery, OpenFreeMap, BMTC/BMRCL GTFS, and **Traffic flow data © TomTom**.
- **Listings & Property Facts:** Cross-referenced asking medians and outbound links across 8–10 Indian property portals.

---

## License

MIT License — see [LICENSE](LICENSE). Based on [kairothq/flat-finder](https://github.com/kairothq/flat-finder) (MIT License) and extended for Bengaluru & India due-diligence tools by Tabish Khan.