Ban Fr
v0.2.1Base Adresse Nationale (BAN) MCP — France's official keyless geocoding API…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
geocode
Forward-geocode a French address, street, locality or commune. Returns scored GeoJSON matches (score 0-1) with label, coordinates, postcode, citycode (INSEE) and context. France only.
| Parameter | Type | Description |
|---|---|---|
q * | string | Free-text query, e.g. "8 bd du port" or "rue de la paix paris". |
autocomplete | boolean | Treat q as a partial/autocomplete prefix (default false). |
citycode | string | Filter by INSEE commune code, e.g. "95127". |
lat | number | Latitude to bias/prioritise results geographically (pair with lon). |
limit | number | Max results (default 5, server caps at 20). |
lon | number | Longitude to bias/prioritise results geographically (pair with lat). |
postcode | string | Filter by 5-digit postal code, e.g. "95000". |
type | string | Restrict to a feature type. |
reverse_geocode
Reverse-geocode a coordinate to the nearest French address/feature. Returns scored GeoJSON matches with label, postcode, citycode (INSEE), context and distance (metres). France only.
| Parameter | Type | Description |
|---|---|---|
lat * | number | Latitude (WGS84). |
lon * | number | Longitude (WGS84). |
type | string | Restrict to a feature type. |
search_municipality
Look up a French commune (municipality) by name to resolve its INSEE citycode, postcode, population and centre coordinates. Shortcut for geocode with type=municipality.
| Parameter | Type | Description |
|---|---|---|
q * | string | Commune name, e.g. "montpellier". |
limit | number | Max results (default 5). |