Sen. John McCain says President Barack Obama has failed in his effort to be a bipartisan leader.

McCain, who lost the election to Obama last year, said Sunday the success of Obama's initiatives in Congress shouldn't be mistaken for bipartisanship.

As one example, McCain said the health care bill was written without Republican input.

He added that while Obama has managed to pick off a few Republican votes, the president has failed to change the partisan climate in Washington as he said he wanted.

The Arizona Republican said that Obama is undoubtedly an effective president and an excellent communicator with sizable majorities in Congress.

McCain spoke to CNN's "State of the Union" for its Sunday broadcast