Giving AI agents live European fuel prices with Apify MCP
Описание и применение
Интеграция живых цен на топливо в AI‑агентов через Apify MCP позволяет логистическим командам получать актуальные данные по станциям в Центральной Европе и DACH, учитывая региональные правила.
Задача
Logistics teams and LLM-based agents need up-to-date, station-level fuel prices across Central Europe and DACH, but existing models rely on stale training data and lack jurisdiction-specific rules.
Результат
The integrated solution provides AI agents with live, jurisdiction‑aware fuel prices, reducing reliance on stale training data and enabling accurate logistics decisions across Central Europe and DACH.
Рабочий процесс
- 1. Build a country‑specific adapter for each target country (e.g., Austria, Germany, Hungary).
- 2. Map raw API fields to a canonical schema (diesel, petrol95, cng, dataConfidence, source, sourceMessage, regulatoryFlags).
- 3. Normalize prices to EUR using ECB FX rates.
- 4. Implement route‑mode logic to compute cheapest stops with detour constraints.
- 5. Publish the Actor on Apify Store with pay‑per‑event pricing.
- 6. Configure Cursor’s .cursor/mcp.json to point to the Apify MCP server and specify the Actor and tools.
- 7. Sign in to Apify via OAuth in Cursor and enable the MCP server.
- 8. Call the Actor from a Cursor agent using the fetch‑actor‑details tool.
- 9. Agent receives structured output, uses confidence and regulatory flags to decide which data to trust, and generates a recommendation.
- 10. Monitor usage and costs (PPE per station, route recommendation, optional AI digest).
Доказательства
I built European Fuel Station Prices API (CEE + DACH) as a normal Apify Actor first: normalized station prices across Central Europe and DACH, scheduled monitoring, and a route cheapest‑stop mode.
The Actor is live on Store (build 0.1.10 at time of writing), pay‑per‑event, with public example tasks.
Apify hosts MCP at https://mcp.apify.com with OAuth on first connect — no API token in your config file.
- Дата записи: 2026-09-20T01:30:27.306Z