Letter Templates Pre Populate with Membership Fields
you need to write an Extension for the membership tokens to be available in the contact summary  - please use the below link to know more 

http://wiki.civicrm.org/confluence/display/CRMDOC/Create+a+Module+Extension

if you need more help please let me know - thanks