CMS provides an API for searching providers and organizations in NPPES. This is a tool for accessing it.