Skip to main content

Postgram

io.github.ivo-toby/postgram

v0.1.3Updated Jul 12, 2026local · Docker

Self-hosted memory for AI agents with hybrid search, knowledge graphs, tasks, and document sync.

Install

Needs 3 secrets. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

claude mcp add postgram -e 'DATABASE_URL=<your-database-url>' -e 'ADMIN_MFA_SECRET_KEY=<your-admin-mfa-secret-key>' -e 'ADMIN_SETTINGS_ENCRYPTION_KEY=<your-admin-settings-encryption-key>' -e EMBEDDING_PROVIDER=ollama -e EMBEDDING_BASE_URL=http://host.docker.internal:11434 -- docker run -i --rm -e DATABASE_URL -e ADMIN_MFA_SECRET_KEY -e ADMIN_SETTINGS_ENCRYPTION_KEY -e EMBEDDING_PROVIDER -e EMBEDDING_BASE_URL ghcr.io/ivo-toby/postgram@sha256:29b61fb302bd52862b8eba43305ee2aa4fc072d5f9188652f1fe6324f49d5391

The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.

Configuration

8 settings, 3 required secrets. Snippets use placeholders; keep real values out of shared config.

  • DATABASE_URL
    Env var· required· secret
    PostgreSQL connection URL for a database with the pgvector extension enabled.
  • ADMIN_MFA_SECRET_KEY
    Env var· required· secret
    Stable random value of at least 32 characters used to protect admin MFA seeds.
  • ADMIN_SETTINGS_ENCRYPTION_KEY
    Env var· required· secret
    Stable 32-byte base64url key used to encrypt provider secrets saved in the admin UI.
  • OPENAI_API_KEY
    Env var· optional· secret
    Required only when OpenAI is selected for embeddings or extraction.
  • EMBEDDING_PROVIDER
    Env var· optional
    Embedding provider: openai or ollama.Default: ollama
  • EMBEDDING_BASE_URL
    Env var· optional
    Ollama embedding endpoint when EMBEDDING_PROVIDER is ollama.Default: http://host.docker.internal:11434
Show 2 more
  • --publish
    Argument· optional
    No description.
  • --add-host
    Argument· optional
    No description.

Listed in the official MCP Registry since Jul 12, 2026. Mirrored daily; last checked Nov 26, 2026.