The New York Times has a map of the best coffee places in the city according to Oliver Strand and Matthew Bloch.
I’ve tried most of the places in Manhattan and, except for Gimme! Coffee, they are all pretty good. My favorite espressos are at Ninth Street and Cafe Grumpy. I love the macchiato at Joe.