I thought this was awesome - and actually wrote up a quick post covering more tool ideas and some of the things I've built: http://blog.optimizationrobot.com/programming-as-a-marketing-weapon/
Everyone is freaking out that Google isn't reporting back per-page keywords anymore, but it seems like this data (or at least part of it) is available in Google Webmaster Tools. GWT does give you the …