gogoymh/auto-ontology-mcp
Bring Auto Ontology's semantic layer to any MCP client for SQL Q&A and a personal knowledge base.
What it solves
Without it, a model reads a raw schema, guesses which join and which value casing are right, and text-to-SQL fails quietly. Notes stay as loose files with no typed facts or provenance.
- Ontology-checked SQL validation
- Knowledge base with sources
- No LLM API key needed
Works with
- claude-desktop
- cursor
- vscode
- cline
- cli
Install
uvx --from git+https://github.com/gogoymh/auto-ontology-mcp auto-ontology-mcp demo claude mcp add auto-ontology -- uvx --from git+https://github.com/gogoymh/auto-ontology-mcp auto-ontology-mcp uvx --from git+https://github.com/gogoymh/auto-ontology-mcp auto-ontology-mcp serve --transport http --port 8765 --token "$(openssl rand -hex 24)" uvx --from git+https://github.com/gogoymh/auto-ontology-mcp --with "psycopg[binary]" auto-ontology-mcp add shop "postgresql+psycopg://readonly_user:pass@host:5432/db" --schemas sales,geo Copy-ready config
{
"mcpServers": {
"auto-ontology": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/gogoymh/auto-ontology-mcp",
"auto-ontology-mcp"
]
}
}
} {
"servers": {
"auto-ontology": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"git+https://github.com/gogoymh/auto-ontology-mcp",
"auto-ontology-mcp"
]
}
}
} {
"mcpServers": {
"auto-ontology": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/gogoymh/auto-ontology-mcp",
"auto-ontology-mcp"
]
}
}
} Security flags
- Needs API key: No
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-06(0d) |
|---|---|
| Stars | 580 |
| Open issues | 3 |
| License | Apache-2.0 |
| Archived | No |
| Data fetched | 2026-12-06 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
Point it at a database, and the model you already use (Claude Code, Codex, OpenClaw, Hermes Agent, Cursor, VS Code, or the Claude and ChatGPT apps) builds business Terms, reviews joins and answers questions with SQL that the server checks against the ontology and the data.