MongoDB is open-source software that is available under the GNU Affero General Public License, making it free to use and distribute.