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:29b61fb302bd52862b8eba43305ee2aa4fc072d5f9188652f1fe6324f49d5391The 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_URLEnv var· required· secretPostgreSQL connection URL for a database with the pgvector extension enabled.ADMIN_MFA_SECRET_KEYEnv var· required· secretStable random value of at least 32 characters used to protect admin MFA seeds.ADMIN_SETTINGS_ENCRYPTION_KEYEnv var· required· secretStable 32-byte base64url key used to encrypt provider secrets saved in the admin UI.OPENAI_API_KEYEnv var· optional· secretRequired only when OpenAI is selected for embeddings or extraction.EMBEDDING_PROVIDEREnv var· optionalEmbedding provider: openai or ollama.Default:ollamaEMBEDDING_BASE_URLEnv var· optionalOllama embedding endpoint when EMBEDDING_PROVIDER is ollama.Default:http://host.docker.internal:11434
Show 2 moreShow fewer
--publishArgument· optionalNo description.--add-hostArgument· optionalNo description.
Links
Listed in the official MCP Registry since Jul 12, 2026. Mirrored daily; last checked Nov 26, 2026.