Not sure how close is close for you, but when I'm in Madrid, I usually stay at Hostal Gonzalo on Calle Cervantes. Basic and affordable and in an interesting area. From there, you can walk to just about any location in Madrid, with no problem. Google says it's an 18-min. walk from the Church of...
This site is run by Ivar at in Santiago de Compostela.
This site participates in the Amazon Affiliate program, designed to provide a means for Ivar to earn fees by linking to Amazon