--- id: apache-airflow-providers-mongo version: "5.4.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # apache-airflow-providers-mongo — Provider package apache-airflow-providers-mongo for Apache Airflow License: permissive · Maintenance: active · Downloads: 1.6M/mo ## What it is and what it does This is an Apache Airflow provider package that extends Airflow's orchestration capabilities to work with MongoDB. It supplies operators, hooks, and connection types that allow DAG tasks to authenticate to MongoDB instances, execute queries, and manage data workflows. The package depends on pymongo for the actual MongoDB client library and dnspython for DNS resolution, and integrates with Airflow's connection and credential management system. You install it on top of an existing Airflow deployment to add MongoDB-specific task types to your DAGs. It is maintained as part of the Apache Airflow project and supports current Python versions (3.10 through 3.14). The package is production-stable and actively maintained, with no known security vulnerabilities. Use it for: - Extract data from MongoDB collections as part of a scheduled ETL pipeline in Airflow - Load transformed data into MongoDB from upstream tasks or external sources - Query MongoDB for validation or monitoring checks within a DAG workflow - Manage MongoDB operations (index creation, collection cleanup) as orchestrated tasks - Integrate MongoDB data sources with multi-step Airflow data pipelines ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Integrates MongoDB with Apache Airflow as a provider package, enabling DAG tasks to connect to, query, and manage MongoDB databases. Yes. Install this if you run Apache Airflow and need to orchestrate MongoDB operations. Low install friction, active maintenance, no vulnerabilities, and permissive licensing make it a straightforward addition to an Airflow environment. Requires Airflow >=2.11.0 and Python >=3.10. ## Install pip install apache-airflow-providers-mongo uv add apache-airflow-providers-mongo poetry add apache-airflow-providers-mongo ## Installing apache-airflow-providers-mongo Before you install: Low friction installation as a wheel. Active maintenance with recent release (83 days old) and no known vulnerabilities. Requires Apache Airflow >=2.11.0 and modern Python (3.10+). License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most organizational contexts. Quickstart: pip install apache-airflow-providers-mongo from airflow.providers.mongo.operators.mongo import MongoOperator from airflow import DAG with DAG('mongo_example') as dag: task = MongoOperator(mongo_conn_id='mongo_default', task_id='query_mongo') Requires Apache Airflow >=2.11.0 and Python >=3.10; MongoDB server must be accessible via configured connection. Verify before relying: - Specific operators and hooks available beyond what the description excerpt states - Whether the package supports MongoDB Atlas or only self-hosted instances - Performance characteristics for large-scale data transfers ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 1.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags airflow mongodb integration, airflow mongo provider, mongodb airflow tasks, airflow database operators, mongo connection airflow, airflow data pipeline mongodb, mongodb airflow dag, airflow-provider, mongodb-integration, data-orchestration [View on SkillFed](https://skillfed.io/packages/apache-airflow-providers-mongo) · [View on PyPI](https://pypi.org/project/apache-airflow-providers-mongo/)