Auto Ontology MCP logo

Auto Ontology MCP

Adds ontology-aware database queries and an Obsidian-backed personal knowledge base to MCP clients.

Install Auto Ontology MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "auto-ontology-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/gogoymh/auto-ontology-mcp",
        "auto-ontology-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 35 tools correctly (Today).

Overview

auto-ontology-mcp brings NVIDIA Auto Ontology concepts to MCP clients for querying databases and managing a personal knowledge base. It lets the client model business terms, inspect relationships, validate SQL, and run read-only queries against local SQLite files. Documents can be converted into stored facts, linked concepts, searchable passages, and source references while originals remain in an Obsidian vault. Reach for it when an agent needs grounded analytical answers or traceable notes without configuring a separate LLM API key.

Use cases

  • Validate agent-generated SQL against reviewed joins and stored values
  • Answer business questions from a locally modeled database
  • Store document facts, concepts, passages, and source references
  • Search saved notes and export them as an Obsidian knowledge base

Key features

  • Ontology-aware SQL validation
  • Business-term and relationship modeling
  • Read-only database queries
  • Full-text passage search
  • Linked concepts with source provenance
  • Obsidian vault export

Tools35

What Auto Ontology MCP lets your agent do. Expand a tool for its parameters.

Verified live~12.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

What it can do

From the 35 tools this server returned when we ran it; 35 declare their own safety hints.

Runs commands · 1Can delete or modify data · 7Handles credentials · 1Makes network requests · 9Read-only tools · 27
Network at startup2 connections
Files written at startup1

Observed 2026-11-10 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 20h ago via OSV.dev · auto-ontology-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars273Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed35Callable tools this server registers over MCP.

How Auto Ontology MCP works

What auto-ontology-mcp does

auto-ontology-mcp connects MCP clients to two related workflows: ontology-guided database analysis and a personal knowledge base. For structured data, the model can inspect a database, build business Terms, review joins, identify value representations, and ask questions using SQL that the server checks against the ontology and stored data.

The knowledge-base workflow accepts material such as receipts, statements, research papers, book notes, screenshots, and other documents. Extracted facts are stored as records, ideas become linked concepts, useful passages are indexed for full-text search, and source information is retained.

How it works

Language tasks such as reading, extraction, naming, judgment, and SQL drafting are performed by the model in the connected MCP client. The server handles deterministic operations including schema extraction, data profiling, key inference, ontology validation, storage, and read-only query execution. It stores its local working data in SQLite files and does not require an LLM endpoint or LLM API key.

For database questions, the client can check whether requested concepts are covered, retrieve relevant query context, find valid join paths, validate a draft query, and execute the corrected SQL. Validation can catch incorrect joins, mismatched stored values, percentage-scale mistakes, fan-out caused by one-to-many relationships, and questions that the available data cannot answer.

For documents, the client can preserve the original text, save passages and concepts, associate relationships and source locations, and search the resulting text index. The export_wiki capability writes the knowledge base to an Obsidian vault with aliases, wikilinks, and graph-view relationships.

Setup and configuration

The project requires Python 3.12 or newer and supports both stdio and streamable HTTP MCP transports. Connect it to an MCP client that supports one of those transports, then point the workflow at the database or knowledge-base material you want the client to process. No model provider endpoint or LLM API key is needed because language operations run through the connected client.

The auto-ontology-mcp demo command creates a fictional retail example with a synthetic database, sample knowledge-base documents, and questions combining both sources. It is useful for checking the database and document workflows before using personal data.

Tools and capabilities

  • Check whether requested entities or metrics are answerable with check_answerable.
  • Retrieve ontology terms, join paths, role notes, and related query guidance with get_query_context and find_join_path.
  • Review generated SQL against known relationships and data values using validate_sql.
  • Execute read-only SQL with run_sql.
  • Save source passages and concepts through save_passages and save_concept.
  • Search indexed passages with search_text and export the knowledge base with export_wiki.

Ontology relationships can distinguish roles such as billing and delivery locations, while draft Terms remain identifiable as unreviewed. Knowledge-base records preserve links back to their originating documents and passages.

Limitations and notes

The system can identify when a requested measure is not covered, but it cannot calculate a metric absent from the connected data, such as return on ad spend without advertising spend. Generated Terms may remain drafts until reviewed, so their definitions should be treated accordingly.

The server performs read-only SQL execution. Its local storage is based on SQLite, while original knowledge-base documents are kept in an Obsidian vault rather than being reduced to only extracted facts or passages.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Auto Ontology MCP

auto-ontology-mcp is an MCP server that connects MCP clients to NVIDIA Auto Ontology, local databases, and an Obsidian-backed personal knowledge base. Its main tools check answerability, retrieve query context, validate and run read-only SQL, save passages and concepts, search text, and export knowledge-base content.

Install and run it in a Python 3.12-or-newer environment, then connect it to an MCP client over stdio or streamable HTTP. The project also provides an `auto-ontology-mcp demo` command for trying the database and knowledge-base workflows.

No, auto-ontology-mcp does not require an LLM API key. Reading, extraction, naming, judgment, and SQL drafting are delegated to the model running in the connected MCP client, while the server performs deterministic validation, storage, and read-only execution.

auto-ontology-mcp works with MCP clients that support stdio or streamable HTTP, including Claude, Codex, OpenClaw, Hermes Agent, Cursor, and VS Code. It is also designed for other MCP clients using those standard transports.

Yes, auto-ontology-mcp can export the knowledge base to an Obsidian vault. The export includes aliases, wikilinks, and graph-view relationships, while the original documents remain available in the vault alongside extracted facts, concepts, and passages.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAuto Ontology MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/auto-ontology-mcp?style=directory)](https://allmcps.com/mcp/auto-ontology-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/auto-ontology-mcp"><img src="https://allmcps.com/api/badge/auto-ontology-mcp?style=directory" alt="Auto Ontology MCP on AllMCPs" /></a>