Description: How I shipped an MCP server for property comparables and wired it into ChatGPT as a private connector — and the five design rules that made the model actually usable.
For the last year I have been building property comparable-sales tools on top of real transaction records — the actual recorded sales.
The US slice alone is 11 cities and 4.7 million recorded transactions. Then I put it on RapidAPI, where it currently sits at a 9.5 quality score and 98% service level, with a free tier of 50 requests a month.
This post is not about the data pipeline. It is about the thing that took me by surprise: the REST API was easy to explain. The AI connector was not. And the part that decided whether ChatGPT could actually use my data was not the backend — it was the tool descriptions.
Why put comps inside ChatGPT at all
A comparable-sales lookup is not one query. It is a small investigation:
- Which market am I in? (ZIP 10001 → NYC; postcode E5 → UK)
- What sold within 2 km in the last 12 months?
- What is the median, and how does it split by property type?
- Is that trending up or down versus last year?
On a website, that is four clicks and a filter panel. In a chat, it is four tool calls the model can chain on its own. That chaining is the whole value proposition — an analyst asking "what have 2-bed condos near 10001 traded for this year, and is that up on last year" gets a real answer in one turn instead of exporting a CSV.
The connector is just three tools
Underneath, this is an MCP server — Model Context Protocol. ChatGPT calls it a "connector" or a "plugin"; Claude calls it an MCP server; Cursor and most agent frameworks speak the same protocol. One server, many clients.
The whole surface area is three tools:
| Tool | What it does |
|---|---|
search_property_comps | Comparable sales by location + radius: price, date, address, property type, aggregate stats |
get_area_stats | Median, average, min, max by property type for an area |
list_markets | Every market covered, with transaction counts and example locations |
Simplified, the server looks like this:
from mcp.server.fastmcp import FastMCP mcp = FastMCP("property-comps") @mcp.tool() def search_property_comps( location: str, radius_km: float = 2.0, months: int = 12, property_type: str | None = None, ) -> dict: """Comparable property sales near a location. location: US ZIP code, UK postcode, French code postal, or Dubai area name. Returns at most 50 transactions plus median/mean/min/max summary. """ return comps_service.search(location, radius_km, months, property_type) @mcp.tool() def get_area_stats(location: str, months: int = 12) -> dict: """Aggregate sale price statistics for an area, split by property type.""" return comps_service.stats(location, months) @mcp.tool() def list_markets() -> list[dict]: """Markets available, with transaction counts and example locations.""" return comps_service.markets() mcp.run(transport="streamable-http") That is roughly it. The interesting engineering is not in that file. It is in the five decisions below.
1. Cap the rows, aggregate by default
The first instinct is to return everything. Do not. A tool call that dumps 500 transactions eats the context window, costs tokens, and makes the model worse at answering, because it now has to do arithmetic over noisy rows.
Return 25–50 rows plus a precomputed summary:
{ "location_echo": "10001", "market": "us_nyc", "currency": "USD", "count": 118, "returned": 40, "stats": { "median": 1425000, "mean": 1610200, "min": 620000, "max": 9400000 }, "by_type": { "condo": { "median": 1310000, "count": 71 } }, "sales": [ { "price": 1400000, "date": "2026-09-14", "address": "…", "type": "condo" } ] } The model is good at narration and bad at statistics. Do the statistics server-side.
2. Echo back what you assumed
Location formats are the single biggest source of wrong answers. 10001 is a ZIP, E5 9NA is a UK postcode, 75011 is a Paris arrondissement — and 75011 would also parse as a US ZIP if you let it.
The server auto-detects the market from the location format, then returns location_echo and market in every response. Two benefits: the model can see whether the inference was right, and the user can see it too. Auto-detection without an echo is a silent failure mode.
3. Write error messages for the model, not for a developer
An exception trace is useless to an agent. An error that says what to do next is a retry:
{ "error": "no_results", "message": "No recorded sales for location 'SW1A 1AA' within 2km in the last 12 months.", "suggestions": [ "Widen radius_km to 5", "Increase months to 24", "Call list_markets to confirm coverage" ] } This one change cut dead-end conversations more than anything else I did. When the tool returns instructions, the model follows them. When it returns a stack trace, it apologizes.
4. Tool descriptions are the product
The model picks tools by reading descriptions. Vague descriptions produce wrong tool selection, and no amount of backend quality fixes that.
What worked:
- State the input formats explicitly, with examples per market.
- State the output shape ("returns at most 50 transactions plus summary stats") so the model knows what it is getting.
- Put the "when to use this instead of that" line in the description:
get_area_statsis for medians and trends;search_property_compsis for individual sales. - Keep
list_marketscheap and mention it in the other descriptions, so the model has an escape hatch when a location is ambiguous.
5. Treat latency as part of the UX
The listing shows an average response time of about 4.2 seconds across markets. In a chat UI, four seconds per tool call is noticeable, and a 3-call chain is twelve seconds of spinner. That shaped the design: every tool is single-shot and self-contained, with no pagination loops. If a user needs 5,000 rows, they should use the REST API's CSV export, not a chat.
Private connector vs. public listing
The ChatGPT side is genuinely simple now. In the Plugins/Apps settings you add a custom MCP server by URL — public HTTPS endpoint, optional auth, then ChatGPT scans the tools and you acknowledge the risk warning. No directory review, no listing. That is the "private connector" phase, and it is the right place to start: you get real usage from your own workspace and a handful of design partners before you commit to a public schema.
Two things to know before you invest:
- Tool snapshots are frozen after approval. If you change a tool's name or required parameters, the connection can break until the app is refreshed. Adding an optional parameter is usually safe; renaming is not. Version your tool surface deliberately.
- Public distribution is a different bar. A private connector needs a working endpoint. A public one needs a privacy policy, support path, and tool annotations that accurately declare read vs. write behaviour. Read-only tools like these are the easy case — declare them as such.
If you are connecting from outside ChatGPT, the same server works: Claude Desktop and Claude Code take it through a JSON mcpServers block, and most agent frameworks have an MCP client. The connector is not a ChatGPT feature; it is a protocol.
What I would do differently
- Write the tool descriptions before the code. They are the API contract with the model, and rewriting them after the backend is set is where most of my time went.
- Aggregate on the server from day one. I started by returning rows and letting the model summarize. It was slower, more expensive, and less accurate.
- Log every tool call. Which tool, which args, how long, whether it errored. That log is the only honest source of "what do people actually ask" — and it is a much better roadmap than feature requests.
- Ship the free tier first. The connector is a discovery channel. A developer who tries it in a chat and then hits the API for the real build is the natural funnel, and a free tier makes that first step free of a credit card.
Try it
- Web app, free valuation report, no login: property-us.nwc-advisory.com
- API playground: Property Comparable Sales on RapidAPI
- MCP server, MIT licensed: github.com/Tianning-lab/property-comps-mcp-server
If you are building an MCP connector for a data product, I am happy to compare notes on tool design in the comments — especially on how you handle location ambiguity.
Tianning Ning is the founder of New Way Capital Advisory, building analytics tools on government property records.