I watched this 7-8 years ago. The anime was about this little girl who (I think she had brown hair?) becomes this "chosen one" who can see spirits that nobody else can. She's important for keeping the peace between the spirit world and the human world (I think?) I only remember specific episodes but it may have had two seasons. I remember the intro and outro for the show changed later, so I think it had two.
One episode I remember was about her being invited to a spirit world festival and I think she had some fun there. Another episode has her cleaning out her home and the spirits were hanging out with her (I think her home was a shrine or maybe she had to clean a shrine too?) She also had like 2 best friends who were her age. It was like a slice of life, no romance iirc kind of anime.
edit: It wasn't school-based, and I think she lived in a small town. After she became the "chosen one" she didn't really have to go to school anymore.
edit: It was Kamichu! I was beginning to think I imagined it. Thank you to those who commented, I really appreciate it!