360 Secure SkillHub
360 安全技能中心

pitstop

通过 pitstop CLI 或 MCP 服务查询意大利 MIMIT 燃油价格和 OpenStreetMap 充电站,可按城市、省份、品牌、坐标、油品和功率筛选,输出 JSON 及价格中位数、异常值、覆盖度和数据新鲜度信息。

分类:搜索
galjos
galjos
热度 35.23
最近更新 2026-11-30 00:37:20

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add galjos/pitstop
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
pitstop
description
Italian fuel-station prices (MIMIT Osservaprezzi Carburanti) and EV charger locations/capabilities (OpenStreetMap Overpass). Use for fuel prices, cheapest stations, provincial stats, or EV chargers in Italy.
homepage
https://github.com/galjos/pitstop-cli
metadata
{"openclaw":{"os":["darwin","linux"],"requires":{"bins":["pitstop"]},"install":[{"id":"uvx","kind":"uvx","package":"pitstop-cli>=1.4.0,<2","bins":["pitstop"],"label":"Run pitstop on demand (uvx)"},{"id":"pipx","kind":"pipx","package":"pitstop-cli>=1.4.0,<2","bins":["pitstop"],"label":"Install pitstop (pipx)"}]}}

pitstop

CLI and MCP server (pitstop-mcp) for Italian fuel prices (MIMIT open data) and EV chargers (OpenStreetMap Overpass). Always pass --json (or --geojson) when parsing output.

Scope & Limits

  • Fuel (stations, fuels, stats): Italy only, daily data (~08:00 the day before price_extraction_date), not real-time.
  • EV chargers (chargers): OpenStreetMap locations, plugs, max kW, and fee yes/no flag only—never live occupancy and never per-kWh tariffs. Surface tariff_info_url for cost questions and open it to verify walk-up vs contract rates rather than guessing. For live South Tyrol EV occupancy, use odh if installed.
  • Distances: Straight-line (distance_km), not driving distance. Include navigation_url in answers.

Commands

pitstop doctor --json
pitstop fuels --json
pitstop stations --comune Milan --fuel Gasolio --exact-fuel --cheapest --min-price 1.2 --fresh-within-days 30 --drop-outliers --limit 5 --json
pitstop stations --near 46.498,11.354 --radius 5 --fuel "Benzina,Gasolio" --self --json
pitstop stats --fuel Gasolio --exact-fuel --provincia TN,BZ --json
pitstop places Livo --json
pitstop chargers --comune Bozen --radius 5 --socket ccs --fast --public --json
pitstop chargers --comune-id 021008 --radius 5 --ultra-fast --json

Key flags:

  • stations: --comune (accepts EN/DE/FR names like Rome, Milan, Bozen, Mailand, Venise), --provincia, --brand, --near "lat,lon", --radius (--radius-km), --fuel (comma-separated substring; add --exact-fuel to exclude premium blends), --self/--served, --cheapest (requires --fuel; breaks ties by distance), --min-price, --fresh-within-days (--max-age-days), --max-deviation-pct, --drop-outliers, --no-comune-validate, --limit (0 = all), --json/--geojson, --refresh, --max-age, --timeout.
  • chargers: --near, --comune, --provincia, --comune-id (from places, required when names duplicate), --radius (--radius-km), --operator, --socket, --min-power (--min-power-kw, checked on the matching socket when --socket is set), --fast (≥50 kW), --ultra-fast (≥150 kW), --free (--free-only, requires explicit fee=no), --public (--public-only, requires explicit public access), --limit, --json/--geojson, --refresh, --max-age, --timeout.

Data-Quality Rules

  • Discover fuel names first: Run pitstop fuels --json. Ordinary diesel is Gasolio, petrol is Benzina, LPG is GPL, CNG is Metano. Use --exact-fuel when comparing one fuel so blends (Gasolio Premium, Gasolio Alpino) do not mix in.
  • Placeholders & staleness: Operators sometimes post 1.000 or stale prices. Pass --min-price 1.2 (skip for GPL), --fresh-within-days, and --drop-outliers when ranking.
  • Outliers & median_basis: Every price carries median_basis:
    • screened: includes regional_median and deviation_pct, plus optional outlier: true when >15% below the local median or below the Tukey lower fence (Q1−1.5·IQR). Read with .get("outlier").
    • unscreened: too few samples in the (fuel, provincia) bucket, so no outlier check ran. Check the envelope's quality counts before calling an unscreened price a bargain.
  • Coordinates & provenance: Treat coordinate_suspect: true as low-confidence. Surface coverage, freshness (generated_at is response time, not source age), charger location.warnings, and any Overpass error (an error with count: 0 means unknown, never "no chargers").