We present a method for the flexible chemical and multimodal stimulation and recording of simultaneous neural activity from many Caenorhabditis elegans worms. This method uses microfluidics, open-source hardware and software, and supervised automated data analysis to enable the measurement of neuronal phenomena such as adaptation, temporal inhibition, and stimulus crosstalk.