Hello,
there is a connection available for scratch using scratchClient software.
See http://heppg.de/ikg/wordpress/?p=615 for some details.
The environmental sensors are supported. For the IMU, only 'composite' signals are supported. The accel values are omitted as I think that scratch is a little bit too slow to make meaningful things out of it.
Regards,
Gerhard