Heat a cast iron or other nonstick skillet over medium heat. Melt the coconut oil. Add eggs and cook until desired doneness, flipping once if desired. Immediately transfer eggs on top of spinach, drizzling any excess hot oil over spinach.
Sprinkle grated cheese over the eggs while they are still hot, so it melts a little.