paris-compass-mcp
v0.1.4Paris commercial premises from open data: shopfront history, street turnover, sourced figures.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sources List data sources
Every dataset the Compass tools actually draw from, with licence and freshness. Not a marketing list — only sources a tool call here will really touch.
score_location Score a location
Scores one point on five amenity categories (schools, healthcare, groceries, parks, transit), walkability, a footfall proxy, and a road-noise proxy — each figure carrying its source, licence, date and method. No single score out of 100: PERIMETRE.md refuses one on the grounds that weights depend on the trade, so axes are returned separately.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude. Bornée à l'emprise réelle de Paris (48,8156–48,9022), mesurée sur les 80 quartiers. Un point dans ces bornes peut malgré tout être hors du recensement — Boulogne, Levallois, Saint-… |
lng * | number | Longitude. Bornée à l'emprise réelle de Paris (2,2241–2,4698), mesurée sur les 80 quartiers. Voir la remarque sur la latitude : la boîte est un rectangle, le corpus ne l'est pas. |
radius_m | number | Search radius in metres. Capped at 2000 — beyond that the question stops being 'this neighbourhood' (compass_max_radius_m). |
vintage_year | BDCom survey year for the premises layer (occupancy, vacancy). Only 2023 is ODbL: 2017 and 2020 carry an APUR licence that has not been read, so a public caller receives neither their contents nor the… |
compare_locations Compare two locations
Scores two points with score_location's method and returns both sets side by side, plus a per-axis numeric delta (b minus a). No combined verdict: a single score would average axes that pull in opposite directions for different trades, which is exactly what this product refuses to do (PERIMETRE.md §4).
| Parameter | Type | Description |
|---|---|---|
a * | object | First location |
b * | object | Second location |
radius_m | number | Search radius in metres, applied to BOTH points so the two score sets stay comparable. Capped at 2000 (compass_max_radius_m). |
vintage_year | BDCom survey year for the premises layer. Only 2023 is ODbL: 2017 and 2020 carry an APUR licence that has not been read, so a public caller receives neither their contents nor their counts, and the sc… |
explain_score Explain one score
Full detail on a single axis of score_location — value, source, licence, date, method and caveat — as a sentence and as structured data. Use after score_location to justify one figure rather than re-deriving it from the full response.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude. Bornée à l'emprise réelle de Paris (48,8156–48,9022), mesurée sur les 80 quartiers. Un point dans ces bornes peut malgré tout être hors du recensement — Boulogne, Levallois, Saint-… |
lng * | number | Longitude. Bornée à l'emprise réelle de Paris (2,2241–2,4698), mesurée sur les 80 quartiers. Voir la remarque sur la latitude : la boîte est un rectangle, le corpus ne l'est pas. |
metric * | string | Which axis of score_location to explain in detail. |
radius_m | number | Search radius in metres. Pass the same value score_location was called with, otherwise the explanation describes a different question. Capped at 2000 (compass_max_radius_m). |
vintage_year | BDCom survey year for the premises layer. Only 2023 is ODbL: 2017 and 2020 carry an APUR licence that has not been read, so a public caller receives neither their contents nor their counts, and the sc… |
find_premises Find premises near a point
Ground-floor premises surveyed by APUR's door-to-door BDCom census near a point, each with the location_id that trace_premise takes. Returns candidates, not a single match: premises routinely share an address and a coordinate, so picking one is the caller's decision. Vintage 2023 only (the sole ODbL vintage) — a premise that stopped being retail before 2023 is not listed here, and trace_premise is where its earlier life shows up.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude. Bornée à l'emprise réelle de Paris (48,8156–48,9022), mesurée sur les 80 quartiers. Un point dans ces bornes peut malgré tout être hors du recensement — Boulogne, Levallois, Saint-… |
lng * | number | Longitude. Bornée à l'emprise réelle de Paris (2,2241–2,4698), mesurée sur les 80 quartiers. Voir la remarque sur la latitude : la boîte est un rectangle, le corpus ne l'est pas. |
limit | integer | Maximum premises returned, capped at 200. `total_matched` carries the count BEFORE this cut, so a truncated answer still has its denominator. |
radius_m | number | Search radius in metres. Capped at 500, well below the 2000 the database allows: this call identifies a shopfront, it does not describe a neighbourhood. Widen it only when the coordinates are approxim… |
trace_premise Trace one premise's history
Everything known about one premise in chronological order: APUR BDCom survey rows (2017, 2020, 2023) and BODACC legal notices — business sales with their published price, safeguard, receivership and liquidation proceedings. Every row carries the record it came from, its evidence, and a derived confidence level with the rule that produced it. Answers 'has a restaurant ever been here', 'has this unit already changed use', 'was there a vacant spell', and 'what did the business last sell for'. Takes a location_id from find_premises.
| Parameter | Type | Description |
|---|---|---|
location_id * | integer | A location_id returned by find_premises. Not a BDCom `ordre` and not a SIRET. |