repowiserepowise

MCP server

nvidia / auto-ontology

Auto Ontology is a Python framework for building semantic, graph-based reasoning layers over data. It enables deterministic query generation, better context retrieval, and more explainable AI for LLM and agent workflows.

★ 11,535stars on GitHubPythonApache-2.0

Repowise maps public repos from their source. Not affiliated with nvidia. What is Repowise?

github.com/nvidia/auto-ontologyIndexed at fc43a82

What is auto-ontology?

Auto Ontology is an open library that builds a context layer from enterprise metadata so AI agents know where data lives, what it means and whether to trust it. It generates an ontology of terms, SQL attributes and table relationships from connected databases, and people then certify that draft. The core is written in Python, with a web frontend built on Next.js and TypeScript. To install it, run git clone https://github.com/nvidia/auto-ontology.git and follow the steps below. Its code health is 6.9 out of 10 (Fair), ranked #123 of 4,000+ indexed repos. The last commit to auto-ontology was on Nov 4, 2026, and 13 people have contributed.

As of commit fc43a82, indexed Nov 10, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsauto-ontology.md

Repo facts: type, license, health, rank, contributors
auto-ontology facts
TypeMCP server
LicenseApache-2.0
Code health6.9 / 10 (Fair)
Health rank#123 of 4,000+ indexed repos
Last commitNov 4, 2026
Contributors13
Bus factor2
Size980 files, 131,112 lines

Install auto-ontology

Commands copied from the README

  1. 1Clone the auto-ontology repository.
    git clone https://github.com/nvidia/auto-ontology.git
  2. 2Move into the auto-ontology folder.
    cd auto-ontology
  3. 3Copy the example environment file to .env, then set the API key, passwords and database connection strings in .env.
    cp .env.example .env
  4. 4Start the Postgres service with Docker Compose and wait until it is healthy.
    docker compose up -d --wait postgres
  5. 5Build and start the rest of the stack with Docker Compose.
    docker compose up -d --build

Full install notes on GitHub

Explore auto-ontology

Ask about this code in your agent

This connects Repowise to auto-ontology's code. It does not install auto-ontology. To install auto-ontology, use the install steps.

Useful if you want to change or fork auto-ontology: your agent can ask how it is put together and get answers that cite its files.

Show the connect command (Claude Code, Cursor, Codex, VS Code)

Run it in a terminal, then type /mcp in Claude Code and sign in with Repowise. No key to paste.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/nvidia/auto-ontology
Claude Code, Claude, Cursor and VS Code sign you in on first use, free. Codex and Windsurf need an API key: sign in to create one.Sign in for a key

This repo is public, so anyone with a free Repowise account can connect.

Try asking

  • get_risk(["auto_ontology/retrieval/text_to_sql/prompts.py"])
  • get_answer("how is auto-ontology put together?")
  • get_why("why is auto-ontology structured this way?")

Ask about auto-ontology

Answers come from auto-ontology's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

Auto-ontology (nvidia/auto-ontology) is an open Python library that builds a context layer from enterprise metadata so AI agents know where data lives, what it means, and whether to trust it. It generates a draft ontology of terms, SQL attributes, and table relationships from connected source databases, and people then certify that draft. The ingestion service in auto_ontology/ingestion_service/main.py builds the first draft, the auto_ontology directory keeps a searchable catalog of each database, and auto_ontology/dal holds every database query behind the catalog, the glossary of Terms, the tags, and the exploration graph. When a question arrives, the agent retrieves candidate terms, columns, and SQL attributes by embedding search, writes SQL from them, checks it against the database, and runs it. The frontend directory holds the Next.js and TypeScript web app for asking questions, browsing the catalog, and changing settings, while alembic holds the Postgres migration history and dev_tools holds scripts run by hand to start the local stack. For a map of the code, the chart lists nine layers across 980 files, with Application holding the most at 441 files, so begin reading with the ingestion service and the auto_ontology/dal directory.

Files per layer in auto-ontology9 layers.

Basis: Inferred · knowledge graph· as of fc43a82

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of nvidia/auto-ontology from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

nvidia/auto-ontology FAQ

What is Auto Ontology?

Auto Ontology is an open library that builds a context layer from enterprise metadata so AI agents know where data lives, what it means and whether to trust it. It exposes that context through MCP, CLI and API.

How does Auto Ontology work?

Auto Ontology generates a draft ontology of terms, SQL attributes and relationships from connected databases, and people certify it. The agent then answers questions by retrieving matching terms, writing SQL and checking it before running it.

How do I install Auto Ontology?

Auto Ontology runs with Docker Compose. You copy .env.example to .env, set the API key and passwords, start Postgres, and then run docker compose up -d --build to start the rest of the stack. See the install steps

What language is Auto Ontology written in?

Auto Ontology is written mainly in Python. Its web frontend is written in TypeScript on Next.js.

How is the Auto Ontology code organized?

The Python code for the catalog, data access and ingestion lives in the auto_ontology directory. The Next.js web app is in frontend, and the Postgres schema migrations are in alembic.

Who is Auto Ontology for?

Auto Ontology is for developers and data teams who want AI agents to ground answers in business definitions and check generated queries. They serve that context to agents through MCP, CLI and API.

What license does Auto Ontology use?

Auto Ontology is licensed under Apache-2.0.

Code health

6.9out of 10Fair

Hotspots average 5.7, the place fixes pay off most.

On the leaderboards:#34 of 64 Python repos

Key features of auto-ontology

  • Natural-language querying translates questions into SQL and executes them against connected databases.
  • A semantic catalog and ontology layer sits over relational sources and is stored in Postgres alongside the catalog it describes.
  • Authentication and role-based access control are provided using Better Auth.
  • A web UI covers chat, analysis, data catalog, analytics and settings.
  • Deployment is available as a Helm chart for Kubernetes or as Docker Compose for a local stack.

How nvidia/auto-ontology works

Input enters through the connected source databases, which the ingestion service in auto_ontology/ingestion_service/__main__.py reads to build a first draft of the ontology. The auto_ontology directory keeps a searchable catalog of each connected database, with business meaning and personal-data tags on its tables and columns. The auto_ontology/dal directory holds every database query behind the catalog, the glossary of Terms, the tags and the exploration graph. When a question arrives, the agent retrieves candidate terms, columns and SQL attributes by embedding search, writes SQL from them, checks it against the database and runs it. The frontend directory holds the Next.js web app where people ask questions, browse the catalog and change settings. The alembic directory holds the schema migration history for the Postgres database, and dev_tools holds scripts that developers run by hand from the repository root to start the local stack.

The codebase has 980 files and 8,040 symbols in 6 modules, led by Python, TypeScript and Dockerfile. Code health is 6.9 out of 10, rated fair.