Chunky Peanut Butter
One solution is to make your own peanut butter. 

If you have peanuts (preferably roasted; if you have raw peanuts, toss them in the oven on a baking sheet in a single layer at around 350 F for about 10 minutes, maybe with a tbsp of peanut/vegetable/canola oil), throw them in a food processor or blender and let it rip. Scrape the sides of the bowl periodically. You'll (eventually) end up with peanut butter.

If you want chunky, run the food processor until the peanuts are chopped, reserve a portion of them and then run the food processor until the rest is smooth. then, put the chopped peanuts in and pulse to combine (or just stir them in). 

Season with salt and sweetener (e.g. honey) to taste. 

For more details, just find a recipe like this one from The Kitchn or this one from Alton Brown. 

Note that this is going to be relatively expensive versus just buying a jar of peanut butter. 



The usual substitutes for peanut butter are other nut butters like almond butter. See this question for some common substitutions. Or, make a different type of cookie.