In 1869, Staub was appointed consul for the Swiss government in Tennessee. In this capacity, he looked after Swiss interests in the state, including the Gruetli colony. President Rutherford B. Hayes appointed Staub a commissioner for the United States at the Paris Exposition of 1878. In 1885, President Cleveland appointed him United States Consul at St. Gallen, Switzerland.