Under Hindu Succession Act it not mandatory to produce legal heir certificate from court you just need to file an Affidavit of Legal heirs along with death certificate and the family certificate with the sub-registrar the title of the property shall be mutated in your name.
“There is no compulsion for any legal heir of a deceased predecessor to either apply for a succession certificate or an heirship certificate. In fact, as required by Section 2 of Bombay Regulation VIII of 1982, it is only when the heir is desirous of having his right formally recognized by a Court that he needs to apply to the Judge for a heirship certificate."
However if you want a legal heir certificate than you can apply to the revenue officer in local jurisdiction who has judicial power to grant the legal heir certificate along with the death certificate and other relevant family documets like ration card.
Name of the deceased
Death certificate original
Service certificate issued by the head of the department/office in case of serving employee
Ration card and Aadhar card
Pensioner payment slip issued by the office of accountant general in case of pensioner
Family members names and relationship
Applicant’s signature
Date of application
Residential address
An affidavit worth Rs 20 on a stamp paper