You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add MCP server, --min-price floor, tests, and CI (v0.1.0)
- --min-price drops placeholder prices (e.g. 1.000) that polluted --cheapest
- MCP server (pitstop-mcp, optional [mcp] extra) exposes list_fuels,
find_stations, find_cheapest over the same core as the CLI
- extract shared core.query_stations / core.response_envelope
- pytest suite (parsing, join, haversine, price filtering) and GitHub Actions CI
If your client speaks MCP instead of shelling out, the same capabilities are available as MCP tools (`list_fuels`, `find_stations`, `find_cheapest`) via `pitstop-mcp` (install `pitstop[mcp]`).
-**Daily, not real-time** — prices are as of ~08:00 the day before `price_extraction_date`. State this when answering.
44
47
-**`--fuel` is a substring match** — `Gasolio` also matches `Gasolio Premium`, `Gasolio Oro Diesel`, etc. Use `pitstop fuels` to pick exact names; inspect the `fuel` field in results.
45
-
-**Placeholder prices** — some operators report junk values like `1.000`; with `--cheapest` these can rank first. Sanity-check the lowest results before reporting them as real.
48
+
-**Placeholder prices** — some operators report junk values like `1.000`; with `--cheapest` these can rank first. Pass `--min-price 1.2` (petrol/diesel) to drop them; use a lower floor for cheaper fuels like GPL. Still sanity-check the lowest result.
0 commit comments