Did not know that. Interesting.
So Karl was born and baptised a Lutheran but of Jewish descent with Jewish grandparents (his mother's father was a rabbi)
This Jewish heritage is the reason why 19th and 20th century anti-semitism colored communism as a Jewish plot
I don't see any way how his Jewish heritage influenced his political beliefs more than growing up in an industrialised nation except that Karl Marx was smart, brilliant even and that would be from Jewish heritage I believe -- but even the smartest people can act stupidly