I would recommend:
https://github.com/jtobey/bitcoin-abe which then dumps everything into a database (PostgreSQL, MySQL's InnoDB engine, and SQLite). You can then query that database for everything you need or run the web server and query that.
Its Linux based so if you want to do this in Windows just setup a Linux Virtual machine with Vmware or Virtual Box for running Abe.