If you are a Linux user, take a look at Gqrx(). It's based on gnu radio and has a distribution for the Raspberry Pi.
Gqrx has a TCP/IP remote control interface and command API. I have written several wrappers in Perl and wxPerl to implement additional functionality such as scanning.