Memory Server MCP
Provides persistent memory storage with advanced features like tagging, content search, and expiration settings. It enables users to create directed links between stored memories to build structured relationships and knowledge graphs.
README
Memory Server MCP
A MCP server for persistent memory storage with advanced features like tagging, timestamping, expiration, content search, and inter-memory linking. Built for integration with MCP clients like Claude for Desktop.
Features
-
Save/Update Memories (
save_memory): Store or update a memory with a unique key and value. Supports optional tags and expiration settings.key(string): Unique identifier for the memory.value(string): The content of the memory.tags(array of strings, optional): A list of tags to associate with the memory. If provided, replaces existing tags. Pass an empty array to remove all tags.expires_in_seconds(number, optional): The number of seconds until this memory expires. Pass0or a negative number to remove expiration.
-
Recall Memory (
recall_memory): Retrieve a memory by its key, including its value, associated tags, creation timestamp, last updated timestamp, and expiration timestamp. -
List Memories (
list_memories): List all non-expired memory keys. Optionally, filter memories by a specific tag.tag(string, optional): Filter memories by this tag.
-
Delete Memory (
delete_memory): Permanently remove a memory by its key. Also removes any links pointing to the deleted memory. -
List All Tags (
list_all_tags): Get a list of all unique tags currently in use across all non-expired memories. -
Search Memory Content (
search_memory_content): Search for memories whose content (value) contains a given query string (case-insensitive, non-expired memories only). -
Link Memories (
link_memories): Create a directed link from a source memory to a target memory with a specified relationship type.source_key(string): The key of the memory from which the link originates.target_key(string): The key of the memory to which the link points.relationship_type(string): The type of relationship (e.g.,related_to,depends_on,is_part_of).
-
Get Linked Memories (
get_linked_memories): Retrieve a list of memories linked from a given source memory, optionally filtered by relationship type.
Installation & Usage
Quick Start with npx (Recommended)
npx memory-server-mcp
Global Installation
npm install -g memory-server-mcp
memory-server-mcp
Usage with MCP Clients
Claude for Desktop
-
Add MCP Server Configuration: In your Claude for Desktop settings, add a new MCP server:
{ "mcpServers": { "memory": { "command": "npx", "args": ["memory-server-mcp"] } } } -
Restart Claude for Desktop to load the new server.
-
Start using memory commands in your conversations with Claude.
Example Usage
Once connected to an MCP client, you can use commands like:
Save a memory about my project:
Key: project_status
Value: Working on memory server MCP, almost ready for release
Tags: work, mcp, nodejs
Recall what I saved about my project status.
Search for memories containing "nodejs".
Link my project memory to related technologies.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.