# amu-pgvector

> amu-pgvector is an open-source MCP server. Lineage-gated agent memory tools on Postgres + pgvector, enforced by row-level security. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/sangaraju1988/amu-pgvector
- **MCP Registry name:** io.github.sangaraju1988/amu-pgvector
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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.

---
Source: https://ai-powered.com/mcp/amu-pgvector
