I'm not into the "Federation is communist stuff", but it's an interesting way at looking at Trek society, that makes it both creepy and fascinating.
Remember, Marx talked about "the end of History," wherein human civilization will reach its logical or most rational conclusion...communism (in the literal/doctrinal sense). The Federation can at least be compared to this. Where everyone is free and equal in a mutualistic rather than materialistic society.
"The Culture didn't use money, as such. But it also didn't want to be too extravagant with matter and energy either. (So inelegant to be wasteful)." The Player of Games by Iain Banks.
"Human beings were trying to behave as human beings and not as cogs in the capitalist machine." George Orwell - Homage to Catalonia.