They asked them loads of questions, including some about cannabis, fox hunting and ID cards.
For the first time ever kids' schoolwork was displayed in Westminster Hall which is where the Queen Mum's coffin lay in state.
It was part of a new project called MPs in schools.
That will give you the chance to ask them in person what they are doing about things that you think are important.
Kyle from Moorside Community College Consett was visited at his school by Hilary Armstrong MP.
At the House of Commons Hilary explained that MPs value young peoples' views because they are the voters of the future.