MongoDB-backed MCP server for persistent memory storage, context caching, and relevance-based retrieval for LLM conversations.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Memory MCP.
Persistent memory and context window caching for LLM conversations. Save, retrieve, and manage memories with intelligent context archiving. MongoDB-backed storage.
An MCP (Model Context Protocol) server that provides memory management and context window caching for AI coding environments like Cursor and Claude Desktop.
Ready to add memory to your AI workflow? Install in seconds:
Install in Cursor (Recommended):
Or install manually:
save-memories β Save memories to database (overwrites existing)get-memories β Retrieve all stored memoriesadd-memories β Append new memories without overwritingclear-memories β Remove all stored memoriesarchive-context β Archive conversation context with tagsretrieve-context β Retrieve relevant archived contextscore-relevance β Score archived content relevancecreate-summary β Create summaries of archived contentget-conversation-summaries β Get all summaries for a conversationsearch-context-by-tags β Search archived content by tagsClick the install link above or use:
Requirements: Node.js 18+, npm, MongoDB
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop after configuration.
Set the MongoDB connection string:
Default: mongodb://localhost:27017
Store memories from a conversation:
Get all stored memories:
Archive conversation context when it gets too long:
Get archived content relevant to current conversation:
The system automatically:
Built with: Node.js, TypeScript, MCP SDK, MongoDB
Dependencies: @modelcontextprotocol/sdk, mongodb, zod
Platforms: macOS, Windows, Linux
Storage: MongoDB (default: mongodb://localhost:27017)
β If this project helps you, please star it on GitHub! β
Contributions welcome! Please open an issue or submit a pull request.
ISC
If you find this project useful, consider supporting it:
β‘ Lightning Network
βΏ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp
Ξ Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/jamesanz-memory-mcp)<a href="https://allmcps.com/mcp/jamesanz-memory-mcp"><img src="https://allmcps.com/api/badge/jamesanz-memory-mcp?style=directory" alt="Memory MCP on AllMCPs" /></a>