MCP server to store memories in postgres
PostgMem MCP server exists for a simple reason — assistants are far more useful when they can act on PostgMem directly instead of describing what you should do. MCP server to store memories in postgres.
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.
Once PostgMem is connected, these are the calls the assistant has available:
Store — Parameters: - type (string): The type of memory (e.g., 'conversation', 'document', etc.) - content (string): The content of the memory as a JSONSearch — Parameters: - query (string): The text to search for similar memories - limit (int): Maximum number of results to return (default: 10) -Delete — The Delete tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Plenty of knowledge and memory servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. PostgMem's toolset — Store, Search, Delete — is a fair guide to whether it matches your workflow. It is maintained by dariogriffo; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| Store | Parameters: - type (string): The type of memory (e.g., 'conversation', 'document', etc.) - content (string): The content of the memory as a JSON object - source (string): The source of the memory (e.g., 'user', 'system', |
| Search | Parameters: - query (string): The text to search for similar memories - limit (int): Maximum number of results to return (default: 10) - minSimilarity (double): Minimum similarity threshold (0.0 to 1.0) (default: 0.7) - |
| Delete | The Delete tool exposed by this server. |
A knowledge graph your assistant keeps between sessions — entities, relations and observations that persist.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Your workspace, on speaking terms with AI — search, read and write Notion pages and databases.
A structured scratchpad for hard problems — stepwise reasoning with revisions, branches and visible logic.
Symbol-level code navigation, refactoring and memory for coding agents — the IDE brain your assistant has been missing.
Chat with your second brain — search, read and write vault notes through the Local REST API.