Install
openclaw skills install fuel-cliUK fuel prices CLI — find nearby stations by postcode or coordinates, get station details, ranked by price/distance/freshness, and agent-friendly JSON envelo...
openclaw skills install fuel-cliUse fuel for UK fuel prices: nearby station search, station detail, ranked results with freshness tracking.
Setup
npm install -g @shan8851/fuel-cliexport FUEL_FINDER_CLIENT_ID=*** and export FUEL_FINDER_CLIENT_SECRET=*** or add to .envNearby Stations
fuel near "SE1 9SG" --fuel E10fuel near "51.501,-0.141" --fuel B7_STANDARDfuel near "SE1 9SG" --fuel E10 --radius 8mifuel near "SE1 9SG" --fuel E10 --sort price (best, price, distance, freshest)fuel near "SE1 9SG" --fuel E10 --limit 5fuel near "SE1 9SG" --fuel E10 --refreshStation Detail
fuel station "tesco watford"fuel station "<node-id>"fuel station "<node-id>" --output station.prices.0.pencePerLitrefuel station "<node-id>" --output station.openingTimesFuel Types
E10 — E10 unleaded petrolE5 — Super unleaded petrolB7_STANDARD — Standard dieselB7_PREMIUM — Premium dieselB10 — B10 biodieselHVO — HVO dieselOutput
fuel near "SE1 9SG" --fuel E10 --jsonfuel near "SE1 9SG" --fuel E10 --textfuel --no-color near "SE1 9SG" --fuel E10{ ok, schemaVersion, command, requestedAt, data }{ ok, schemaVersion, command, requestedAt, error }Agent Notes
--fuel is required on near — petrol and diesel are never mixed in one ranking--output <path> is available on both near and stationstations.0.selectedPricePencePerLitre or station.prices.0.pencePerLitreINVALID_INPUT, missing paths return NOT_FOUNDdata.quality.advisories — warn about stale prices, missing timestamps, and excluded test stationsdata.quality.freshnessCounts breaks down fresh/aging/stale/unknown price countsdata.quality.excludedLikelyTestStationsConfiguration
FUEL_FINDER_CLIENT_ID — required for live data (free registration)FUEL_FINDER_CLIENT_SECRET — required for live dataFUEL_FINDER_BASE_URL — optional, defaults to https://www.fuel-finder.service.gov.ukFUEL_CACHE_DIR — optional, override cache location (defaults to platform cache dir)Notes
near requires --fuel so petrol and diesel results are never mixedSE1 9SG) and coordinates (51.501,-0.141)mi/km suffixnpm i -g @shan8851/fuel-cli