In the fictional world of Star Trek, Starfleet Command is the command branch of Starfleet, the paramilitary institution of the United Federation of Planets. It is located in San Francisco, (currently within the United States of America), Earth.