Postg Mem
PostgMem is a .NET - based MCP service that uses PostgreSQL and the pgvector extension to provide vector memory storage and retrieval functions for AI applications, supporting semantic search and tag filtering.
2 points
7.1K

What is PostgMem?

PostgMem is an MCP server built with .NET for storing, retrieving, and searching memories with vector embeddings. It enables efficient similarity search through the PostgreSQL database and the pgvector extension.

How to use PostgMem?

PostgMem allows you to store memories, retrieve memories by ID, perform semantic searches, and filter results. You can start using it in just a few simple steps.

Use Cases

PostgMem is well - suited for application scenarios that require large - scale vector storage and fast retrieval, such as chatbots, knowledge graphs, and recommendation systems.

Main Features

Store Memories
Supports storing memories with vector embeddings into the PostgreSQL database.
Retrieve Memories
Quickly retrieve specific memories based on memory IDs.
Semantic Search
Search for the most relevant memories to the given text through vector similarity search.
Tag Filtering
Filter memories based on tags for easy classification and management.
MCP Protocol Integration
Supports the Model Context Protocol (MCP) for easy integration with other AI systems.
Advantages
Powerful performance and scalability based on PostgreSQL
Efficient vector similarity search
Support for multiple filtering conditions (e.g., tags)
Easy integration into existing AI systems
Limitations
Requires installation and configuration of PostgreSQL and the pgvector extension
May require certain database optimizations for complex queries

How to Use

Install Dependencies
Ensure that the .NET 9.0 SDK and the PostgreSQL database are installed.
Create Database Tables
Run a script in PostgreSQL to create the 'memories' table.
Configure Environment Variables
Set the connection string and other necessary parameters.
Start the Service
Run the dotnet run command to start the PostgMem service.

Usage Examples

Store Memories
Store a conversation in PostgMem.
Search Memories
Find memories similar to the input text.

Frequently Asked Questions

How to install PostgreSQL?
Does PostgMem support custom models?
How to update the database schema?

Related Resources

PostgreSQL Official Website
Official documentation and tutorials for PostgreSQL.
pgvector GitHub
Homepage of the pgvector open - source project.
PostgMem Examples
Practical use cases of PostgMem.

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

C
Cipher
Cipher is an open-source memory layer framework designed for programming AI agents. It integrates with various IDEs and AI coding assistants through the MCP protocol, providing core functions such as automatic memory generation, team memory sharing, and dual-system memory management.
TypeScript
0
5 points
A
Apple Notes MCP
A server that provides local Apple Notes database access for the Claude desktop client, supporting reading and searching of note content.
Python
12.7K
4.3 points
M
MCP Alchemy
Certified
MCP Alchemy is a tool that connects Claude Desktop to multiple databases, supporting SQL queries, database structure analysis, and data report generation.
Python
11.9K
4.2 points
P
Postgresql MCP
A PostgreSQL database MCP service based on the FastMCP library, providing CRUD operations, schema inspection, and custom SQL query functions for specified tables.
Python
12.0K
4 points
A
Awesome MCP List
This is a continuously updated curated list of MCP servers, covering multiple categories such as browser control, art and culture, cloud platforms, command - line, communication, customer data platforms, databases, developer tools, data science tools, file systems, finance and fintech, games, knowledge and memory, location services, marketing, monitoring, search, and utilities. Each project comes with a GitHub link and the number of stars, making it easy for users to quickly understand and use.
11.6K
5 points
W
Wren
Wren Engine is a semantic engine designed for MCP clients and AI agents, providing semantic layer support to enable AI to accurately understand enterprise data models and business logic. It supports multiple data sources and is embedded in MCP clients to ensure the accuracy and governance of data interaction.
Java
12.2K
4 points
M
MCP Server Weread
The WeRead MCP Server is a lightweight service that bridges WeRead data and AI clients, enabling in - depth interaction between reading notes and AI.
TypeScript
12.3K
4 points
M
MCP Redis
Certified
Redis MCP Server is a natural language interface service designed for Redis, supporting AI agents to query and manage Redis data through natural language, integrating the MCP protocol, and providing multiple data structures and search functions.
Python
12.6K
4.5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.0K
4.5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.1K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
45.7K
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
24.0K
5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.6K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.9K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.2K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
65.0K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase