Preheat the oven to 350°F (175°C) and line a baking sheet with parchment paper.
In a medium bowl, whisk together the flour, baking soda, cinnamon, nutmeg, ginger, and cloves.
In a large bowl, cream the softened butter, brown sugar, and granulated sugar until light and fluffy.
Add the egg and vanilla extract to the butter mixture, mixing until fully combined.
Blend in the pumpkin puree until smooth, followed by the optional brewed coffee if using.
Gradually add the dry mixture to the wet ingredients, stirring until just combined.
Fold in the chocolate chips, if desired, ensuring even distribution throughout the dough.
Using a spoon or cookie scoop, drop dough onto the prepared baking sheet, spacing them about 2 inches apart.
Bake for 10-12 minutes until the edges are lightly golden and the centers look set.
Allow the cookies to cool on the baking sheet for 5 minutes before transferring to a wire rack to cool completely.