Just to chip in here ... you can get the tracking info into a raspberry pi using websockets, either in python or node.js. I am currently fiddling with this myself ...
You need to run the Leap Motion on a PC (any flavour). It automatically provides a websocket server to which you can connect.