road2paradise/realestate-mcp-server
3.1
If you are the rightful owner of realestate-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server for querying and formatting real estate listings from realestate.co.nz using suburb codes and various filters.
mcp-realestatenz
A Model Context Protocol (MCP) server for querying and formatting real estate listings from realestate.co.nz using suburb codes and various filters.
Features
- Query real estate listings by suburb name (mapped to suburb code via CSV)
- Filter listings by minimum and maximum bedrooms
- Extract and format listing details, including:
- Bedroom count
- Price display
- Full address
- Earliest non-elapsed open home
- Listing URL
- Other features, parking, construction, floor/land area, bathroom count, price history, deadline date, description, mortgagee sale status
- Top 3 closest child-cares and schools (with distance and zoning info)
Project Structure
.
āāā build/ # Compiled JS output (ignored by git)
āāā src/
ā āāā index.ts # Main MCP server code
ā āāā helper/
ā ā āāā buildQuery.ts
ā ā āāā formatListings.ts
ā ā āāā loadSuburbMap.ts
ā ā āāā suburbCsvParser.js
ā āāā types/
ā ā āāā types.ts # TypeScript type definitions
ā āāā suburbs.csv # Suburb code/name mapping
āāā package.json
āāā .gitignore
āāā README.md
Setup
-
Install dependencies:
npm install
-
Build the project:
npm run build
-
Run the MCP server:
node build/index.js
-
Ensure
suburbs.csv
is present in thebuild/
directory.
The build script copies it automatically.
Usage
- The MCP server exposes tools for querying listings by suburb and filters.
- Integrate with Claude or other MCP clients to interact with the server.
Configuration
- suburbs.csv:
A CSV file mapping suburb names to codes.
Example:code,name 3954,Papamoa 1234,Another Suburb
Development
- TypeScript source is in
src/
. - Helper functions are in
src/helper/
. - Types are defined in
src/types/types.ts
. - Main logic is in
src/index.ts
.
License
ISC