The mayor-elect will remain in his plush Upper East Side townhouse when he takes over City Hall – but he’s throwing open Gracie’s doors to visiting VIPs.

“I’ve issued an invitation to [Puerto Rico Gov. Sila Calderon] to come and to stay at Gracie Mansion as frequently as we can possibly get her up there,” Bloomberg said Tuesday during a trip to the island.

A day earlier, he said he had invited Dominican Republic President Hipolito Mejia to stay at the mansion next spring.

Bloomberg has bandied about several uses for the soon-to-be empty mansion – including hosting soirees there and throwing sleepovers for city workers as a reward for a good job.

But his latest idea marks the first time Gracie – the official home of New York’s mayors since the 1930s – would be used as an exclusive inn.

Foreign leaders and other big names usually foot the bills for their own hotels when they come to New York, even on official visits.

“It’s wise to make some appropriate use of the place . . . especially if Mike isn’t going to be there,” former Mayor David Dinkins said.

Dignitaries have bunked at Gracie on rare occasions in the past – but always while the mayor was in residence.

Then-Israeli Prime Minister Menachem Begin stayed at Gracie in 1978 with former Mayor Ed Koch, and Nelson and Winnie Mandela stayed there with Dinkins during their 1990 trip to the city.

Bloomberg’s financial-information company has customers in 125 foreign countries.

But the mayor-elect has pledged not to convert the Colonial-era home into a B&B for his close buddies.

“We’re not going to have a Lincoln Bedroom, rest assured,” Bloomberg said the day after he won the election – a reference to former President Bill Clinton’s practice of inviting big contributors to spend the night in the historic White House room.