Melt butter and cook onion with salt and pepper until softened, about 4 minutes. Stir in flour and cook 1 minute.
Whisk in broth. Add chicken and broccoli. Simmer until chicken hits 160°F, about 10 minutes.
Shred chicken. Stir in cream, then whisk in cheeses until melted.
Return chicken to soup. Season and serve.