MC Hammer just got touched in a big way by Uncle Sam ... for failing to pay almost $800K in back taxes ... according to court documents obtained by TMZ.
The Feds sued Hammer, née Stanley K. Burrell, and his wife Stephanie ... accusing them of stiffing the IRS to the tune of $798,033.48 on his '96 and '97 income taxes.
Mind you, Hammer's heyday was in the rear view mirror at that point -- he released a greatest hits album in '96, and after that ... well, let's just say there were zero pumps or bumps.
And get this ... according to the docs, every red cent Hammer's LLC earns from now on has to go directly to the U.S. treasury to pay down his tab.
He got to PAY just to make it today ...