Sefton Central Labour MP Bill Esterson thanked school pupils in Formby who donated to hampers which were donated to older people in the town.
Bill met some of the pupils who delivered the hampers while on a visit to Range High.
He praised the young people from throughout Formby who were involved in the hamper collection and delivery.
Bill said: "It was good to meet some of the pupils who have been involved in making this hamper collection project such a success.
"Pupils at all the Formby primary schools raised money to buy articles for the hampers. Recipients were nominated by any pupil at each school with the aim being to deliver hampers to older Formby residents who may have been in particularly difficult circumstances or simply lonely.
"The schools wanted the town’s older residents to see the positive qualities of the children and pupils.
"Range High School made 17 deliveries in total, which is 17 older people who have benefited from a fantastic scheme which saw all of Formby's schools working together for the benefit of the the community."
Bill also thanked the headteacher at Range High, Graham Aldridge and the staff for hosting his visit.
Bill said: "Range High is clearly an outstanding school. It was fantastic to see so many pupils who clearly love being at the school.
"I was also very impressed with the student council who I met and who asked me some great questions about my role of an MP.
"Thanks to headteacher Mr Graham Aldridge, the staff and the pupils for making me so welcome."