Skip to content
Claude Desktop

pgvector for Claude Desktop

io.github.mittalpk/pgvector

Similarity search, hybrid search, and index management for pgvector-backed PostgreSQL tables

client:Claude Desktop transport:stdio runtime:pypi

Install pgvector in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pgvector": {
      "command": "uvx",
      "args": [
        "mcp-server-pgvector"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>",
        "MCP_PGVECTOR_READ_ONLY": "<MCP_PGVECTOR_READ_ONLY>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

pgvector in other clients