drv4ever/mongo-schema-explainer-mcp — explained in plain English
Analysis updated 2026-05-18
Let Claude Desktop discover what collections exist in a MongoDB database.
Generate a TypeScript interface and Mongoose schema draft from real documents.
Run safe read-only queries capped at 50 documents per request.
| drv4ever/mongo-schema-explainer-mcp | 0xkinno/neuralvault | 0xmayurrr/ai-contractauditor | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | hard | easy |
| Complexity | 2/5 | 4/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
mongo-schema-explainer-mcp is a server that lets AI assistants safely explore and query a MongoDB database without being able to change or delete anything. MongoDB is a popular database that stores data as flexible documents rather than rigid tables. This server implements the MCP protocol (Model Context Protocol), a standard way for AI tools like Claude Desktop to connect to external services and retrieve information. The server exposes three capabilities. The first, list_collections, lets an AI discover what collections (similar to tables) exist in the database and optionally see a sample document from each. The second, get_schema, examines real documents in a collection and figures out the shape of the data, what fields exist, what types they hold, whether they can be empty, and how nested structures are organized. It outputs a human-readable summary plus a generated TypeScript interface and Mongoose schema draft. The third, run_safe_query, lets an AI run read operations like find or aggregate to retrieve actual records, with a hard limit of 50 documents per query and a strict allowlist that blocks any operation that would modify or delete data. The security model is read-only by construction: all query inputs are validated before execution, collection names are restricted to safe characters, and operators like $where that could run arbitrary code are blocked outright. Schema results are cached with a configurable expiry time to avoid repeated database hits. You would use this when you want an AI assistant to help you understand or query a MongoDB database without giving it any ability to accidentally alter your data. Written in TypeScript.
An MCP server that lets AI assistants like Claude explore and query a MongoDB database read-only, without any ability to change or delete data.
Mainly TypeScript. The stack also includes TypeScript, MongoDB, MCP.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.