The haunted library2014
by Dori Hillestad Butler
"When ghost boy Kaz's haunt is torn down and he is separated from his ghost family, he meets a real girl named Claire, who lives above the town library with her parents and her grandmother. Claire has a special ability to see ghosts when other humans cannot and she and Kaz quickly form a friendship."--Amazon website.
Ghost boy Kaz and real girl Claire, who has a special ability to see ghosts when other humans cannot, join forces to solve the mystery of the ghost that is haunting the library. Book #1
— from OpenLibrary
2 editions at OpenLibrary