McDonald's is buying artificial intelligence and helping to serve up data-driven meal choices
The technology developed by Israeli start-up Dynamic Yield can automatically change menus depending on the weather, time of day and traffic.
McDonald's is reported to be paying $ 300m (£ 227m) for the tech firm.
Number-plate recognition would also allow customers to drive-through their usual food order, McDonald's Duty Wired.
Dynamic Yield technology would allow what products are promoted, for example, automatically suggesting McFlurry ice cream on hot days, counting those items that are already popular at that particular restaurant that day.
Most McDonald's outlets in the US are drive-throughs which is where the restaurant chain is planning to roll out the technology first.
"It can know time of day, it can know weather. We can also understand what our service times are so it only suggests items "It's easier to make in our peak hours," said McDonald's chief executive Steve Easterbrook.
The ultimate aim is to provide a "much more personalized experience" and to add additional items based on the customer's initial order, he added.
Mr Easterbrook said McDonald's would use the technology to make the most of data gathered from serving the firm's 68 million fast-food customers and that it would be integrated into the app and the self-order kiosks already in stores.
Dynamic Yield, based in Tel Aviv, has designed algorithms that use shopping patterns and fits purchases to suggest what you will buy next and produced machine learning systems for other firms including Ikea, Office and William Hill.