Sims brings the lawsuit against Trump "in his official capacity as president" and applies for an injunction against the confidentiality agreements that Trump had to agree to while working in the White House.
CNN has contacted the White House to comment on the lawsuit.
Sims' book "Team of Vipers: My 500 Extraordinary Days at the Trump-White House" was released in January Chaotic White House.
Mark Zaid, Sims' lawyer, argues in the lawsuit:" The US government is intentionally and unconstitutionally engaged an unbelievable attempt to use a private entity, Donald J. Trump for President, Inc., to silence Mr Sims, if it really is the intense forces of the presidency that are all in one person. "
The lawsuit requires a court ruling that Trump "may not enforce enforcement arrangements directly or through non-US government decisions nn by which his First Amendment rights are to be violated unconstitutionally ".
"This action is designed to persistently urge the defendants to silence Mr. Sims for any information he may have received during his tenure as federal employee, as well as for any legal rights and protective measures that may flow therefrom," it states in the court document.
Zaid claims in the lawsuit that the US government "wants to impose a civil liability on Mr. Sims by using NDAs that concern information that Mr. Sims learned exclusively during his federal service."
Katelyn Polantz of CNN contributed to this report.