Compare Locations
compare_locationsCompare 2–5 locations side by side, for investment location decisions. MCP Apps hosts render a sortable side-by-side table with bars.
REQUIRED: locations: 2–5 objects, each {code_postal} or {commune} Optional: type_local ("Maison" | "Appartement", default Appartement), date_debut (default: the latest 12 months of data; use ≥ 12 months)
Returns per location: sales count, median €/m², median price, yoy_change_pct (median €/m² of the window vs the same-length window just before; summary.change_basis, summary.change_periods; all room counts) and ranks (summary.rank_order: price_m2 1 = cheapest; volume and growth 1 = highest). Summary: cheapest, most_expensive, highest_volume, fastest_growing.
Example: {locations: [{code_postal: "75011"}, {code_postal: "75020"}]} or by commune: {locations: [{commune: "LYON"}, {commune: "BORDEAUX"}]}
Cost: 10 credits per call
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"locations": "<locations>"
},
"name": "compare_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | Yes | 2-5 locations to compare | |
| date_debut | No | Start date (default: the latest 12 months of data) | |
| type_local | No | Property type (default: Appartement) | Appartement |