MCP Directory

dbt MCP Server vs Memory (Knowledge Graph)

A side-by-side comparison of two AI, Data & Knowledge servers — tools, transport, auth, maintenance, and copy-paste config for each.

 dbt MCP Server

Give AI agents context of your dbt project — run dbt CLI, query the Semantic Layer, explore lineage, and manage jobs.

Unverified
stdio (local)
API key
Python
Memory (Knowledge Graph)

Official MCP server providing persistent, file-backed knowledge-graph memory across sessions.

Verified
stdio (local)
No auth
TypeScript
CategoryAI, Data & KnowledgeAI, Data & Knowledge
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthAPI keyNone
GitHub stars58474k
Last commit1 day ago5 months ago
Verified
Actively maintained
Installuvx dbt-mcpnpx -y @modelcontextprotocol/server-memory
RepoOpen Open

Verdict

Pick dbt MCP Server if you need the broadest set of tools.

Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add dbt MCP Server

Install / run
uvx dbt-mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "dbt-mcp-server": {
      "command": "uvx",
      "args": [
        "dbt-mcp"
      ],
      "env": {
        "DBT_HOST": "cloud.getdbt.com",
        "DBT_PROD_ENV_ID": "your-production-environment-id",
        "DBT_DEV_ENV_ID": "your-development-environment-id",
        "DBT_USER_ID": "your-user-id",
        "DBT_TOKEN": "your-service-token-or-pat",
        "DBT_PROJECT_DIR": "/path/to/your/dbt/project",
        "DBT_PATH": "/path/to/your/dbt/executable"
      }
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

Add Memory (Knowledge Graph)

Install / run
npx -y @modelcontextprotocol/server-memory

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "memory-knowledge-graph": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "env": {
        "MEMORY_FILE_PATH": "/absolute/path/to/memory.jsonl"
      }
    }
  }
}

FAQ

dbt MCP Server or Memory (Knowledge Graph) — which is better?

Pick dbt MCP Server if you need the broadest set of tools. Pick Memory (Knowledge Graph) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both dbt MCP Server and Memory (Knowledge Graph)?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do dbt MCP Server and Memory (Knowledge Graph) work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.