Mix flour, baking soda, xanthan gum, spices and salt together. In separate bowl, cream butter until white. Add sugar and cream until fluffy. Add eggs one at a time, then add pumpkin puree and vanilla. Spoon in flour and spice mixture. Fold in nuts and chocolate.
Refrigerate for 1 hour before baking. Preheat oven to 350 F. Line cookie sheet with parchment paper. Drop by teaspoon. Bake 14 minutes.