There is no direct connection from Akihabara Station to Kōkyo. However, you can take the train to Iidabashi, take the Metro to Takebashi, then take the walk to Kōkyo. Alternatively, Tokyo Metro operates a vehicle from Akihabara Station to Kōkyo every 10 minutes. Tickets cost $1 - $2 and the journey takes 16 min.
How to get from Akihabara Station to Kōkyo
From Akihabara train to Iidabashi, Metro to Takebashi, then walk to Kōkyo. 23 min ¥310. From Akihabara Metro to Kasumigaseki(Tokyo) then walk to Kōkyo. 48 min ¥198. From Akihabara Station taxi to Kōkyo. 5 min ¥2133. From Akihabara Station Uber to Kōkyo. 5 min ¥3113. From Akihabara Station walk to Kōkyo. 35 min.