AI NewsOpen sourceAnnouncement
auto-ontology-mcp wraps NVIDIA Auto Ontology for Claude and ChatGPT SQL
auto-ontology-mcp lets Claude and ChatGPT query SQL databases through NVIDIA's Auto Ontology checks. The repository is 22 days old with 554 stars.
Image: GitHub
Why it mattersText-to-SQL fails quietly. The query runs, a number comes back, and nothing warns that it is wrong. The ontology step checks the answer before the model reads it.
An AI assistant that writes SQL on a real database has a safer path today. auto-ontology-mcp is an MCP server by the author gogoymh. It wraps the schema checking and SQL grounding in NVIDIA Auto Ontology. The repository has 554 stars, 73 forks and an Apache 2.0 licence. It is 22 days old.
The problem the author names
The README is direct about why it is needed. "Text-to-SQL fails quietly," the author writes. "The query runs, a number comes back, and nothing says it is wrong." The examples show the common faults. The model guesses a join path. It misses case sensitivity. It confuses a percentage with a fraction. It triggers fan-out errors and nobody sees them.
The fix is an ontology step the agent must pass through. The server scans the schema. It infers keys the author did not declare. It checks the join path is real. It checks the question can be answered with the data at hand. Only then does it run the SQL. A query times out after 30 seconds. It returns at most 500 rows. Both are safety caps on what the agent can pull back.
What it is built on
The server reuses NVIDIA Auto Ontology. NVIDIA released that project as open source under Apache 2.0 on 3 November. gogoymh names which pieces are reused. The quote from the README lists "schema extraction, profiling, key inference, validation, storage and read-only execution". The NOTICE file names the source. The author says the project is not affiliated with or endorsed by NVIDIA.
Five supported databases are named: SQLite, PostgreSQL 17, MySQL or MariaDB, DuckDB, and Oracle 12.1 or newer. The packaging uses uvx, so a one-line install points the client at the git repository.
Which clients
The configuration files cover nine MCP clients: Claude Desktop, Claude Code, ChatGPT, Cursor, VS Code, Codex, OpenClaw and Hermes Agent, plus HTTP transport for anything else. "No LLM API key needed" is the author's claim: the model the client already runs does the work, and the server does the schema, the SQL and the checks.
The server works in six stages. They are "Connect and scan", "Model", "Relationships", "SQL attributes", "Explore" and "Answer". Across those stages it exposes about 40 tools. They include run_sql, validate_sql, check_answerable, search_text and save_concept. A knowledge store lets the agent save documents and query them as passages.
What is missing
No company is named using the server in production. The README shows a demo on an 11-table, 3,200-order database. It also quotes 40 ms per passage save on an M4 Pro, for 20,000 passages. That is the only timing measurement given. A user would want a benchmark on a real enterprise schema. There is none yet.
A team about to wire Claude Code or ChatGPT to its warehouse can copy the shape of this project. The model never runs raw SQL on a schema it has not read. The server returns an error the model can act on if the join path is a guess.
Source
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.