An electrical stimulation system includes a chemical biomarker sensor to monitor, measure, or observe a chemical biomarker in a body of a patient a control module to use stimulation parameters to provide electrical stimulation signals to an electrical stimulation lead coupled to the control module for stimulation of patient tissue and a processor to communicate with the chemical biomarker sensor to generate an adjustment to one or more of the stimulation parameters based on the monitoring, measurement, or observation of the chemical biomarker by the chemical biomarker sensor. One example of a chemical biomarker sensor is an adenosine sensor.