Skip to content
MCP server

amu-pgvector

Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.3
Listing updated
5 days ago

About amu-pgvector

amu-pgvector is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add amu-pgvector --env AMU_PGVECTOR_DSN='<AMU_PGVECTOR_DSN>' -- uvx amu-pgvector

Add to claude_desktop_config.json

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "amu-pgvector": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "amu-pgvector"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "amu-pgvector": {
      "command": "uvx",
      "args": [
        "amu-pgvector"
      ],
      "env": {
        "AMU_PGVECTOR_DSN": "<AMU_PGVECTOR_DSN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • AMU_PGVECTOR_DSNPostgres DSN for the role this server runs as. Results are gated by row-level security under this exact role -- use an amu_writer-member role for amu_record/amu_check_conflict, or an amu_agent_base-member role for read-only amu_search.Required
  • AMU_PGVECTOR_EMBEDDING_DIMEmbedding vector dimension, used only by the built-in deterministic fallback embedder when sentence-transformers (the amu-pgvector[st] extra) isn't installed. Must match the dimension sql/amu_pgvector.sql was installed with. Default: 1536.

Pricing

Open source

More servers for the same service

amu-pgvector FAQ

Is amu-pgvector free?

Yes. amu-pgvector is open source, so you can use and self-host it for free.

How do I add amu-pgvector to Claude Code?

Run this command in your terminal: claude mcp add amu-pgvector --env AMU_PGVECTOR_DSN='<AMU_PGVECTOR_DSN>' -- uvx amu-pgvector

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers