In a medium bowl, stir together the cream cheese, mayonnaise, onion, Parmesan cheese and black pepper until completely combined.
Transfer to a small baking dish and bake until the top is deep golden brown, 45 to 55 minutes. Serve hot with baguette slices, crackers, pretzels or tortilla chips.