Grapes and grape products are rich in secondary metabolites such as phenolic compounds and anthocyanins, which have antioxidant properties. These compounds possess health-promoting attributes, including cardioprotective, antimicrobial, and anticancer effects. In recent years, biotechnological methods have been employed to produce high quantities and purity of secondary metabolites under in vitro conditions, aiming to elucidate their complex functions and optimize production methods. However, the potential effects of harpin proteins on the accumulation of secondary compounds in callus cultures have not been investigated thus far. Harpin proteins, encoded by the hrp gene clusters in Gram-negative phytopathogens, are known to trigger defense responses in various plant species by promoting the accumulation of secondary compounds. These findings suggest that harpin proteins may have the potential to enhance secondary metabolite accumulation in callus cultures. This study therefore investigated the potential of applying different concentrations of harpin protein (0, 0.1, 1, 10, and 100 ppm) to increase secondary metabolite production in calluses derived from petioles of the “Horoz Karası” grape cultivar. Our findings revealed that 1 and 10 ppm harpin treatments resulted in the highest anthocyanin accumulations, with 17.21 and 16.57 CV/g, respectively, representing 1.95- and 1.87-fold increases compared to control treatments, respectively. Total phenolic content peaked at 0.39 mg GAE g−1 FW with the 1 ppm harpin treatment, representing a 4.33-fold increase over the control. Total flavonol levels reached their highest levels at 0.027 mg CE g−1 FW with 1 and 10 ppm harpin concentrations, resulting in a 2.25-fold increase compared to the control. The highest averages for total flavonol content were recorded at 0.024 and 0.021 mg RE g−1 FW with 1 and 10 ppm harpin concentrations, respectively, representing 1.5- and 1.3-fold increases over the control. Principal component analysis (PCA) corroborated the results obtained from the heatmap analysis, indicating that harpin applications at 1 and 10 ppm were the most effective concentration range for maximizing secondary metabolite synthesis, while very low or high concentrations diminished these effects. These findings offered valuable insights for optimizing the production of high-value bioactive compounds, which can be utilized in various fields such as medicine, pharmaceuticals, food, and cosmetics. These results are expected to serve as a valuable reference for elucidating the mechanisms by which harpin proteins, rarely used in vitro, exert their effects on grapevine calluses, contributing to the literature in this domain.