New York (CNN Business) McDonald's is buying a tech startup that it hopes will help it sell customers more of what they want.

The fast food giant announced Monday that it is acquiring Dynamic Yield, an Israeli company that uses artificial intelligence to give consumers personalized experiences.

McDonald's MCD McDonald's said it would use the startup's technology to tailor the items displayed on menu boards at drive-thru outlets based on the weather, how busy the restaurant is and the time of day. It will also instantly recommend extra items based on a customer's initial order. That approach could help boost sales of breakfast or McCafe items, for example.

Food companies have been increasingly turning to digital technology, particularly mobile apps, to learn about their customers' preferences and sell them more of what they like.

Dynamic Yield will expand McDonald's "ability to increase the role technology and data will play in our future," McDonald's CEO Steve Easterbrook said in a statement. It will also increase "the speed with which we'll be able to implement our vision of creating more personalized experiences for our customers," he added.