MongoDB Language Model

JSON →
library 2.3.0 ·javascript
verified Jun 5, 2026

Parses MongoDB query language strings into an abstract syntax tree (AST) with part-of-speech tagging. Version 2.3.0 is the current stable release, with infrequent updates. Supports strict extended JSON syntax only. Differentiators: provides both acceptance validation and detailed AST generation, designed for use in MongoDB Compass.