Origin of needs
Needs reaches English through Middle English and Old English. Needs today means “Either directly or indirectly preceded or followed by an auxiliary verb, often must: of necessity or need;…”.
Etymology of needs
From Middle English nedes (“of necessity, necessarily; inevitably, unavoidably”) [and other forms], from Old English nēdes, nīedes (“of necessity; not willingly”), from nīed + -es (suffix forming adverbs from nouns). The English word is equivalent to need + -'s (possessive marker) and hence to need + -s (suffix forming adverbs).
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.