To do that, you'll need a lawyer who knows the ins and outs of nonprofit laws, who can set up an organization and make sure you fulfill government requirements like occasionally opening your lighthouse to the public.
As I reported last August, the Institute of Public and Environmental Affairs (IPE), a Beijing-based nonprofit organization, is using government information and enforcement data to track pollution across China.