The Centre told the Supreme Court on Friday it has set up an online portal for providing information on mental health facilities available in the country and 31 states and union territories (UTs) have so far provided requisite details for this purpose.