Fr Commune
fr_communeFrench commune lookup (Etalab/INSEE commune register): INSEE code, postcodes, population, department, region, centre point and area. Look up by name or INSEE code, or pass lat+lon to find the commune containing a point. Example: "population of Lyon" -> 69123, 519,127.
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": {
"name": "Lyon",
"limit": 3
},
"name": "fr_commune"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (WGS84); pair with lon to find the commune at a point. | |
| lon | No | Longitude (WGS84); pair with lat. | |
| name | No | Commune name, e.g. "Lyon". Returns the best matches. | |
| limit | No | Max communes for a name search, 1-20 (default 5). | |
| insee_code | No | 5-character INSEE code, e.g. "69123" (Corsica: "2A004"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| found | No | ||
| source | No | ||
| communes | No |