PostgMem MCP Server

MCP server to store memories in postgres

Local serverstdio

What is the PostgMem MCP Server?

MCP server to store memories in postgres

What you get

A Model Context Protocol (MCP) server implementation that provides vector memory storage using PostgreSQL and pgvector for AI applications.

PostgMem is a .NET-based service that allows AI agents to store, retrieve, and search through memories using vector embeddings. It leverages PostgreSQL with the pgvector extension to provide efficient similarity search capabilities.

Configuration and credentials

  • .NET 9.0 SDK - PostgreSQL database with pgvector extension installed - Text embedding API (default configuration uses Ollama)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • .NET 9.0 SDK - PostgreSQL database with pgvector extension installed - Text embedding API (default configuration uses Ollama)

Example prompts to try

  • “Use PostgMem to Store.”
  • “Use PostgMem to Search.”
  • “Use PostgMem to Delete.”

Frequently asked questions

You need .NET 9.0 SDK, a PostgreSQL database with the pgvector extension installed, and a text embedding API (the default configuration uses Ollama).