EX-23.1 2 d807314dex231.htm EX-23.1 EX-23.1

EXHIBIT 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (File Nos. 333-240172 and 333-228808) of Mastech Digital, Inc. of our report dated March 28, 2024, relating to the financial statements of the Mastech Digital, Inc. 2019 Employee Stock Purchase Plan for the years ended December 31, 2023 and 2022, which appears in this Form 11-K.

/s/ UHY LLP

Farmington Hills, Michigan

Date: March 28, 2024