gaff-check

v0.2.0
io.github.iarfhlaith/gaff-check Checked 3 days ago Published 3 months ago

Irish property due diligence: planning, prices, flood, radon, zoning, BER and crime context.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

resolve_location

Resolve a free-text Irish address or place name to geographic coordinates (WGS84 lat/lng), returning ranked candidate matches. Use this first when the user gives an address, street, townland, or place name in Ireland, to confirm the correct location before calling other gaff-check tools — every candidate echoes its full resolved name so you (and the user) can sanity-check the match. If you already have exact lat/lng coordinates, you do not need this tool. Geocoding uses OpenStreetMap Nominatim and is best-effort: rural addresses and new estates may match poorly, and Eircodes only resolve w…

ParameterTypeDescription
query *stringFree-text Irish address or place name, e.g. '25 Fitzwilliam Square, Dublin 2' or 'Salthill, Galway'
limitintegerMaximum number of candidate matches to return (1–10, default 5)

planning_applications

Find Irish planning applications near a location, from the National Planning Application Database (all 31 local authorities, coverage back to ~2010, updated on varying cadences). Use this for property due diligence: pending or recent developments near a home (apartment blocks, roads, masts), extensions and attic conversions on the same street (precedents for what gets approved), and refusals that hint at site constraints. Returns per application: reference number, local authority, development description, address, status, decision with dates, distance in metres from the query point, and a lin…

ParameterTypeDescription
addressstringFree-text Irish address to geocode (used only if lat/lng absent).
latnumberLatitude (WGS84). Provide with lng, or use address instead.
limitintegerMaximum applications to return, newest first (default 50).
lngnumberLongitude (WGS84). Provide with lat, or use address instead.
radius_mintegerSearch radius in metres around the point (default 500, max 5000).
sincestringOnly applications received on/after this date (ISO YYYY-MM-DD).
statusstring'decided' = a decision date is recorded; 'pending' = none yet; 'all' = both.

sold_prices

Look up actual sold prices of residential properties in Ireland from the official Property Price Register (PSRA), which records declared prices from stamp-duty filings since January 2010. Use this to see what properties actually sold for near a property of interest: filter by county (required — the register is organised by county), a free-text address fragment (e.g. a street or estate name), an Eircode routing key (first 3 characters, e.g. 'D06' — only present on more recent records), a date range, and/or a price range. Returns per sale: date, declared price in EUR, address as recorded, E…

ParameterTypeDescription
county *stringIrish county, e.g. 'Dublin', 'Cork' (case-insensitive). One of: Carlow, Cavan, Clare, Cork, Donegal, Dublin, Galway, Kerry, Kildare, Kilkenny, Laois, Leitrim, Limerick, Longford, Louth, Mayo, Meath, M…
address_querystringCase-insensitive substring to match against the recorded address, e.g. 'Fitzwilliam Square' or 'Gorey Hill'.
date_fromstringEarliest sale date, ISO YYYY-MM-DD (register starts 2010-01-01). Default: 2 years before date_to.
date_tostringLatest sale date, ISO YYYY-MM-DD. Default: today.
eircode_routing_keystring3-character Eircode routing key, e.g. 'D06'. Matches only records that include an Eircode (mostly post-2022).
limitintegerMaximum sales to return, newest first (default 50).
max_pricenumberMaximum declared price in EUR.
min_pricenumberMinimum declared price in EUR.

radon_risk

Get the EPA's radon risk classification for the area containing a location in Ireland. Radon is a naturally occurring radioactive gas and the second biggest cause of lung cancer in Ireland after smoking. Use this during property due diligence to learn the area's banding from the EPA Radon Risk Map: the result echoes the EPA's own wording ("About 1 in N homes in this area is likely to have high radon levels", where N is 5, 10 or 20 — lower N means higher risk) plus a high_radon_area flag (true for the 1-in-5 and 1-in-10 bands, the ≥10% threshold Ireland uses to designate High Radon Areas,…

ParameterTypeDescription
addressstringFree-text Irish address to geocode (used only if lat/lng absent).
latnumberLatitude (WGS84). Provide with lng, or use address instead.
lngnumberLongitude (WGS84). Provide with lat, or use address instead.

zoning

Get the generalised land-use zoning for a location in Ireland, from the Myplan.ie composite of all current local authority development plans. Use this in property due diligence to learn what the land is zoned for — residential, agricultural, open space, industrial, mixed use, etc. Zoning tells you what could be built there (or next door), whether a site has development potential, and whether a use is likely permissible. Returns the generalised zone type (standardised across authorities, e.g. 'Existing residential'), the local authority's own original zone label and objective text, the devel…

ParameterTypeDescription
addressstringFree-text Irish address to geocode (used only if lat/lng absent).
latnumberLatitude (WGS84). Provide with lng, or use address instead.
lngnumberLongitude (WGS84). Provide with lat, or use address instead.

flood_risk

Check mapped flood context for a location in Ireland: groundwater flood probability (high/medium/low), maximum historic groundwater flooding, and observed winter 2015/2016 surface-water flooding, from Geological Survey Ireland's 1:20,000 mapping. Use this in property due diligence. For each layer you get: whether the point itself lies inside a mapped extent (at_point), how many extents fall within the search radius, and the distance in metres to the nearest one. Groundwater flooding (turloughs, high water tables) is a distinct hazard from river or coastal flooding and matters especially in ka…

ParameterTypeDescription
addressstringFree-text Irish address to geocode (used only if lat/lng absent).
latnumberLatitude (WGS84). Provide with lng, or use address instead.
lngnumberLongitude (WGS84). Provide with lat, or use address instead.
radius_mintegerSearch radius in metres around the point (default 250, max 5000).

ber_context

Get Building Energy Rating (BER) context for an area of Ireland: the distribution of BER grades (A1 best … G worst) among certified dwellings in a county or Dublin postal district, optionally narrowed to a construction era, plus current SEAI retrofit grant amounts. Use this to answer "what energy rating is typical for a house of this age around here?" and "what upgrade grants exist?" during property due diligence. Data is CSO statistics aggregated from BER certificates published since 2009 — e.g. 1978-1999 houses in Co. Galway cluster around C/D, while 2015+ builds are overwhelmingly A-ra…

ParameterTypeDescription
area *stringCounty ('Galway', 'Co. Cork'), city ('Cork City', 'Galway City'), or Dublin postal district ('Dublin 9', 'D6W').
period_of_constructionstringOptional construction era of the property, e.g. '1978-1999'. Omit for all eras combined.

recorded_crime_context

Get recorded-crime context for the Garda sub-district containing an Irish location, using official CSO counts and current Garda administrative boundaries. Use this for factual questions such as "what categories of crime have been recorded in this wider Garda area?" or to supply category-specific values for a choropleth. It returns annual counts, a pooled annual average, rates per 1,000 Census 2022 residents with approximate 95% Poisson intervals, and optionally the latest four-quarter Garda Division trend. Provide WGS84 lat/lng or a free-text address. Offence groups use official broad codes 0…

ParameterTypeDescription
addressstringFree-text Irish address to geocode (used only if lat/lng absent).
include_division_trendbooleanInclude the latest four quarterly values for the wider Garda Division; default true.
latnumberLatitude (WGS84). Provide with lng, or use address instead.
lngnumberLongitude (WGS84). Provide with lat, or use address instead.
offence_groupsarrayOfficial broad offence codes 03–16. Omit for all locally published groups.
yearsintegerNumber of latest complete annual periods to return; default 3, maximum 10.