Mr Gray, MSP for East Lothian and currently Labour finance spokesman, who resigned as party leader after the last election, has been appointed chair of the Hibernian Community Foundation.
The organisation, which is linked to the Edinburgh club, aims to improve health, learning and opportunities for fans.
Last year it created more than 100,000 opportunities for football fans including literacy, IT, fitness and weight loss programmes, according to the foundation.
Mr Gray said: "This is a great opportunity for me to build on the success that the Foundation has had in a relatively short period since it was created.
"The Hibernian Community Foundation has grown at a remarkable rate over the past few years and is now making a positive difference to many people's lives.
"I firmly believe that football clubs like Hibernian must now be about so much more than just the game on Saturday.
"They should be about how to improve the lives of people in the community 365 days a year.
"If we can use a love of football to channel youngsters into courses to help them into work, or children into homework clubs, or older fans into taking control of their own health and fitness, then we should do it."