If you're looking for anime similar to Code-Ex, you might like these titles.
When Asumi was just a baby, a space shuttle accident changed her life, and the lives of the townspeople of Yuigahama, forever. As a young woman, the spirited Asumi has only one desire: to someday travel to the stars in a rocket, with her father and ghostly friend Lion-san along for the ride. With heartache, happiness, and plenty of determination, Asumi and dozens of talented teenagers now face the greatest challenge of their lives: the test to enter a prestigious space academy, so that they may one day reach out and touch the stars...
Watanuki faces challenges in every area. Spirits chase him, his best friend Doumeki isn't really a friend, and his boss Yuuko seems to have mistaken him for a servant come housewife. When Yuuko requests that both of them join her in accepting a special invitation to a collector's house, he can just hear the trouble coming. Upon arrival, the house proves to be more than a bit unusual, and the other guests are almost scary with their fanatical collecting. But, the worst thing about the situation is the knowledge that for all the weirdness Watanuki can see, it is absolutely certain that the mysteries are way more complicated that he thinks. Depending on Yuuko's arcane knowledge may be the only hope.
In ancient Japan, the great god Susanoo rose from the underworld to defeat the treacherous dragons plaguing mankind; but in his attempt to free the world of the serpents, he was banished - only to be reborn in Koichi Susa. This boy Koichi, a descendent of the keeper of the Shrine of the Eight-Headed Dragon, runs from his destiny as he struggles with his fears. With dragons arising around Japan, Koichi attempts to rise above his despair and protect his childhood friend Tarumi, only to find another challenge waiting for him...
Fukutarou Tamura has invited some of his peculiar friends to eat a nabe (hot pot) together in his room. He is a human being residing at the mysterious Ashiaraiyashiki apartment building where many demons and mythical creatures live.
Thinking of committing fraud? Embezzlement? Murder? Think again. Though crimes often slip through the cracks of the laws of man, the laws of the spirit world are not as forgiving. In the underworld, even the dead can request vengeance against those who have wronged them, at the hands of the Judge, the keeper of justice. Hot on the trails of a corrupt executive, the Judge realizes that the chain-of-command might be guilty as well, causing an investigation of deadly proportions...
Hakone is a hot spring spirit who descended to a spa resort on Earth. However, with her long slumber, she looks like a little girl on the outside. The high school boy Touya stumbles across her at a hot spring and ends up joining Hakone in retrieving her original powers.
Narumi Inoue has a problem with the new girl in school. It's not that Hibiki Amami is impolite or a bully… it's just that she sees, speaks with, and befriends ghosts! Now, it's at the point that when Amami's around, Inoue sometimes sees them too, spelling disaster for a girl who's terrified of anything supernatural. However, Amami's genuine kindness makes it hard for Inoue to ignore her, especially when her friends Kyoko, Kana, and Makoto, as well as the other students, have accepted Amami's habit of talking to thin air and walking around invisible obstacles. With gentle coaxing (and the knowledge that her departed grandmother is watching over her), Inoue finds herself immersed in Amami's strange, otherworldly adventures. Fulfilling the last wishes of the dead might not be a normal after-school activity, but at least they'll always know why the ghost crossed to the other side in RE-KAN!
It’s been ten years since Yuuko disappeared from this world, and true to his word, Watanuki still remains at the shop waiting for her return. One day Doumeki – who is now a professor of ethnology at a university – pays a visit to Watanuki; he informs the man of a house he was sent to appraise. While there Doumeki found various old artifacts such as books and charms, plus a mysterious girl acting strangely since her grandmother died a month ago. When the young granddaughter proceeds to ask for Watanuki by name, can the bespectacled boy get to the root of the problem and help her return to who she once was?