Place potatoes in a large saucepan and cover with water. Bring to a boil over high heat. Reduce heat; cover and simmer until tender, 10-15 minutes.
In a large skillet over medium-high heat, saute onions in butter until tender.
Drain potatoes. Over very low heat, stir potatoes for 1-2 minutes or until steam has evaporated. Stir in cream cheese, salt, pepper and onion mixture; set aside.
Bring a skillet of water (cast iron preferred) to a boil over high heat; add pierogies.