The novel is Japanese and the mc is a reincarnated into the future and became a genius who invented stuff. It's not a harem but he has a tsundere girlfriend. I think the title had the word genius in it.