AI 开源雷达

gogoymh/auto-ontology-mcp

把数据库问答与个人知识库接入任意 MCP 客户端

★ 580 协议: Apache-2.0 最近提交: 0d 传输方式: stdio 仓库地址 ↗

解决什么问题

没有它,模型只能对着原始 schema 猜连接路径和字段取值,text-to-SQL 出错也不会报警;笔记与资料也停留在零散文件里,缺少可查的事实与来源。

适用客户端

安装命令

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

一键配置

{
  "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"
      ]
    }
  }
}

要用 VS Code / Codex 格式?去配置互转 →

安全标记

维护状态

最近提交2026-12-06(0d)
Star580
待处理 issue3
协议Apache-2.0
已归档否
数据抓取于2026-12-06

原文摘录

以下为仓库 README 原文,未做改写,用于核对上面的摘要。

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.

同类替代