Yes, it’s a town eat town world in the Hungry City Chronicles by Philip Reeve
Just finished Mortal Engines and can’t wait to read Predator’s Gold and any others he may have written.
Although this is likely to be shelved in the Young Adult section of the library it’s a thought provoking book with plausible characters and some laugh out loud humour too.
Coincidentally Philip Reeve was born in my hometown of Brighton, apropos of absolutely nothing! And Brighton does not figure in Mortal Engines, although I think the Royal Pavilion would make a perfect town-topper! You just have to read the book to find out.