Preheat oven to 400 degrees F.
If using ramekins or individual serving dishes - divide the tomatoes, bell pepper, red onion, garlic, and feta cheese between 4 oven-safe dishes. Drizzle a tablespoon of olive oil over each dish.
If using one large dish - combine the tomatoes, bell pepper, red onion, and garlic in the dish and place the feta in the center. Drizzle the olive oil over the feta and veggies.
In a small bowl, combine dried oregano, salt, dried thyme, black pepper, and red pepper flakes. Sprinkle the spice mixture evenly over the feta and vegetables.
Place ramekins on a baking sheet or the baking dish directly in the oven. Bake for 25 minutes.
Remove from oven and stir to combine so the feta is evenly mixed with the veggies.
Add the chopped spinach and stir until combined.
Create a well in the middle of each ramekin or four wells if using one dish. Crack an egg into each well.
Return dishes to the oven and bake an additional 10 minutes until eggs are set.
Top with optional chopped fresh basil or chives.
Serve warm with crusty baguette, toast, or pita for dipping.