Heat olive oil in a pot over medium heat.
Add chopped onion and sauté until translucent.
Stir in pumpkin puree and cook for 2-3 minutes.
Pour in vegetable broth and stir well.
Season with salt, black pepper, cinnamon, and nutmeg.
Bring the mixture to a simmer for about 10 minutes.
Add cream or coconut milk and stir to combine.
Use an immersion blender to puree the soup until smooth.
Taste and adjust seasoning if necessary.
Serve hot, garnished with fresh herbs.