Much would depend on your status of 'employment' or 'engagement'. The point to be noted here is 'employment' & 'employee'. Once a clear answer to this is available, then eligibility can be determined. Take note of these stipulations:
Note:
(1) The Act applies to a factory, mine, or plantation belonging to the Government.
(2) The Act does not apply to any factory or other establishments to which the provisions of the Employees' State Insurance Act apply. {Section 2}
Justification for Denying Maternity Benefits:
Is there any justification for denying the benefits of the Maternity Benefit Act to women workers on the ground that they are not regular employees but they are on the muster roll? The Supreme Court, in Municipal Corporation of Delhi v. Female workers (Muster Roll) & Anr. (2000 I C.I.R. 879), has said: "We have scanned the different provisions of the Act, but we do not find anything contained in the Act which entitles only regular 'woman employees' to the benefit of maternity leave and not those who are engaged on a casual basis or on the muster roll on a daily wage basis."
In your case, there is a thin line between an 'employee,' whether on contract or regular, and a 'consultant.' Check your contract/agreement to find the answer to this question. Also, please check under which category your TDS is deducted & remitted to the government account, whether as an 'Employee' or as a 'Consultant.'