Preheat your oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy.
Beat in the canned pumpkin puree, egg, and vanilla extract until well combined.
In another bowl, whisk together the all-purpose flour, baking powder, baking soda, spices (cinnamon, nutmeg, ginger), and salt.
Gradually add the dry ingredients to the pumpkin mixture, stirring until just combined.
If using, fold in the chocolate chips.
Drop rounded tablespoons of dough onto the prepared baking sheet, leaving space between each cookie.
Bake for 10-12 minutes or until the edges are slightly golden and a toothpick inserted in the center comes out clean.
Remove from the oven and let the cookies cool on the baking sheet for 5 minutes before transferring them to a cooling rack to cool completely.