Preheat the oven to 375°F (190°C).
Cook the lumaconi pasta shells in a large pot of salted boiling water according to package instructions until al dente. Drain and set aside.
In a large skillet, heat the olive oil over medium heat. Add the chopped onion and sauté until translucent, about 5 minutes. Stir in the minced garlic and cook for an additional minute.
Add the chopped spinach to the skillet and cook until wilted, about 3-4 minutes. Remove from heat and let cool slightly.
In a mixing bowl, combine the cooked spinach mixture, ricotta cheese, half of the Parmesan cheese, salt, black pepper, and nutmeg. Mix well until all ingredients are combined.
Fill each lumaconi shell with the spinach and ricotta mixture.
Spread half of the marinara sauce on the bottom of a baking dish. Arrange the stuffed lumaconi in the dish and top with the remaining marinara sauce.
Sprinkle the shredded mozzarella cheese and the remaining Parmesan cheese over the top.
Cover the dish with aluminum foil and bake for 25 minutes. Remove the foil and bake for an additional 10-15 minutes, until the cheese is bubbly and golden.
Let cool for a few minutes before serving. Enjoy your Spinach & Ricotta Stuffed Lumaconi!