If $M$ is a closed aspherical 3-manifold with first fundamental group $G$, then cohomology groups of $G$ and $M$ are isomorphic because $M$ is a Eilenberg-MacLane space $K(G,1)$. In particular there should be a description of fundamental cohomology class of $M$, $[M]$, in terms of group cohomology, i.e. in inhomogeneous coordinates for any triple $(g_0 , g_1 , g_2)$ of elements of $G$, $[M]$ assigns a number to this triple.
Question: How to describe these numbers.
P.S. : references for group cohomology in a geometric language would be appreciated.
P.S. : I'm interested in 3-manifolds that admit a taut foliation so their universal cover is $\mathbb R^3$, so they are aspherical, in case this extra assumption helps.
I suggest looking up a few sources, which will allow you to piece together your own proof.
String those isomorphisms together and you'll have your group cocycle.