Just a cheap solution for close-in work.. I picked up a combination laser pointer/gooseneck LED light in the checkout queue at Wal-Mart for under US$5.00. It had a magnetic base, but the magnet wasn't very strong -- so I epoxied on a neodymium (Nd) rare-earth disc magnet to the bottom, so I can put it almost anywhere and have it stick, despite machine vibration.
Et vóilà!Of course, the gooseneck likes to straighten out a bit after a while; it doesn't keep a sharp bend for any length of time. But for the price, what the heck.