Add input_cost_trend / input_cost_series MCP tools (EIA diesel)
CI / test (push) Successful in 17s
CI / build-push (push) Successful in 6s

Real input price + WoW/YoY change + seasonal for diesel ($/gal). Formatters now
handle the item/label payload shape. Changelog updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 12:35:32 -04:00
parent 47cac9b521
commit 457cdad2fb
5 changed files with 81 additions and 8 deletions
+8
View File
@@ -80,6 +80,14 @@ def price_series(commodity: str, geo: str = "US",
start_year=start_year, end_year=end_year)
def input_cost_trend(item: str, years: int = 10) -> dict:
return _get("/api/data/input-cost-trend", item=item, years=years)
def input_cost_series(item: str) -> dict:
return _get("/api/data/input-cost-series", item=item)
def futures(commodity: str, delivery: str | None = None) -> dict:
return _get("/api/data/futures", commodity=commodity, delivery=delivery)