Mongo Analyser is a tool that helps you analyse and infer a MongoDB collection's structure. It can help you extract the schema of a collection, find the data types of the fields and also export data from the collection based on the schema it found.
Mongo Analyser can be used as a command-line tool or as a Python library.
You can install Mongo Analyser using pip
(mainly to use it as a library):
pip install mongo-analyser
You can also install it as a standalone executable using pipx
or uv
:
pipx install mongo-analyser
uv tool install mongo-analyser
After the installation is complete, you can use the mongo-analyser
command in your terminal.
See the documentation for more information and examples.