Lonnie Chisenhall homered for the Indians' lone run and has gone 4 for 11 since his recall from Triple-A Columbus on Thursday.

Anderson (2-3) allowed four runs — three earned — on six hits. He walked two and struck out four.

It was a nice rebound effort after giving up 11 runs on 18 hits over his previous two starts, a span of just a little over eight innings.

"I had a little more downhill tilt to my fastball and I was able to locate it," Anderson said.

Anderson, from Quincy, a small town in northern California closer to Reno than Oakland, was supported by a large, vocal contingent of family and friends.

"It was fun, almost like making my debut again," he said. "It was exciting to pitch in front of them."

Anderson did a good job of limiting the damage early. Billy Butler singled to lead off the second and Ike Davis followed with a double. The A's scored on an infield groundout and that was it. Anderson retired 10 straight before running into trouble in the fifth.

Chisenhall threw out one runner trying to score and made another good throw on the next play that was cut off by Carlos Santana, who threw it away at third, giving the A's an extra run.

"He deserved better," Indians manager Terry Francona said. "He gave up a couple. Lonnie made a nice throw to get the one out and then made another nice throw that was up the baseline a few feet. Carlos made the right play but he didn't move his feet. Cody pitched pretty darn well. He got us pretty deep into the game."

Marcus Semien homered with two outs in the seventh, ending Anderson's day.

"I needed to stay focused and locate instead of trying to rear back and throw," Anderson said.

Oakland newcomer Aaron Brooks (1-0) allowed one run and five hits over seven-plus innings for his first career win. The right-hander, who joined Oakland as part of the June 28 trade that sent Ben Zobrist to Kansas City, struck out five and didn't walk a batter in his first start in more than 14 months.

Brooks retired 17 of the first 19 batters and only allowed two runners past first base. He left to a standing ovation in the seventh after getting Mike Aviles, hitless in his past 24 at bats, to fly out with a runner on first.

TRAINER'S ROOM

Indians: Manager Terry Francona decided to keep leadoff hitter Jason Kipnis in the designated hitter slot to give him a chance to rest his sore shoulder.

Athletics: LHP Eric O'Flaherty was designated for assignment to make room on the roster for Brooks. O'Flaherty had struggled in his second season with Oakland, going 1-2 with a 5.91 ERA in 25 games. ... Closer Sean Doolittle (shoulder strain) threw 31 pitches during a bullpen session. ... Newly acquired pitcher Felix Dubrount could be activated Sunday.

UP NEXT

Indians: RHP Trevor Bauer (8-8) tries to get back on the winning track after becoming the first Cleveland pitcher since 2009 to throw a complete game at home and lose.

Athletics: RHP Sonny Gray (11-4) pitches the series finale going for his second win against the Indians this season. He blanked Cleveland with a two-hit shutout on July 12.