urbanisme

french state (open data)

urbanisme.

l'urbanisme réglementaire en open data : zonage plu/gpu et règlement applicable à une parcelle, risques naturels, retrait-gonflement des argiles, quartiers prioritaires (qpv) et proximité, epfif, socio-démographie de la commune.

ajouter à otoauth : open dataprefix : urba_*

setup & usage

▸ urban planning & territory

the regulatory and territorial envelope of a point or a commune — open data, no key. geocode the address first (foncier_geocode).

  • urba_zonage(lat, lon) — enforceable plu/plui zoning (géoportail de l'urbanisme), with the pdf regulation if available
  • urba_lieu(address= | idu= | geom=) — everything that applies to a whole PARCEL (or an address, a geometry): planning document, zones, prescriptions, public-utility servitudes (AC1, PM1…), grouped, no geometry; no geocoding needed. read its notes: an empty list does not prove absence
  • urba_risques(code_insee) / urba_argiles(lat, lon) — natural/technological risks and clay shrink-swell hazard
  • urba_qpv(code_insee) / urba_qpv_proximite(lat, lon) — priority neighbourhoods (quartiers prioritaires de la ville)
  • urba_epfif(code_insee) / urba_socio(code_insee) — epfif sectors (île-de-france) and insee socio-demographic profile
  • ▸ who decides, who answers, on a public target

    at a commune or a public body, the decision-maker is an elected official and the contact a department: neither is a sirene executive, and paid enrichment does not find them.

  • urba_annuaire(op="maires", code_commune= | departement=) — the mayor, with their start-of-term date (useful to know whether the contact has changed since the last campaign). op="presidents_epci" + siren= (the epci's) for an intercommunality — only the president is returned, not the thousands of community councillors. the date of birth and sex, present in the source file, are not returned. match on the insee code, never on the name: "sainte-marie" exists dozens of times.
  • urba_annuaire(op="services", code_commune= | siren= | type_service=) — public services (~36,000 town halls, prefectures, ddfip…) with switchboard, email and responsables: the named head, their title, often their direct email. a field the source serialized badly comes out in champs_illisibles, not as a silent blank. ⚠️ served by opendatasoft: egress from the prod box was verified on 11/09/2026.
  • outils

    chargement…

    utilisation

    claude code — installe le plugin oto — claude plugin marketplace add otomata-tech/oto-plugin — mcp + skill configurés.
    claude.ai — branche mcp.oto.cx/mcp en connecteur custom (guide)
    cli — pipx install oto-cli puis oto urba …