Geocode
geocodeForward-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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "8 bd du port marseille"
},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Free-text query, e.g. "8 bd du port" or "rue de la paix paris". | |
| lat | No | Latitude to bias/prioritise results geographically (pair with lon). | |
| lon | No | Longitude to bias/prioritise results geographically (pair with lat). | |
| type | No | Restrict to a feature type. | |
| limit | No | Max results (default 5, server caps at 20). | |
| citycode | No | Filter by INSEE commune code, e.g. "95127". | |
| postcode | No | Filter by 5-digit postal code, e.g. "95000". | |
| autocomplete | No | Treat q as a partial/autocomplete prefix (default false). |