Longmem
Persistent cross-project memory for Cursor and Claude Code with hybrid semantic and keyword search.
Install Longmem
Run the project’s own setup commands, in order.
Setup steps from the project
longmem installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
pipx install longmemgit clone https://github.com/marerem/longmem
Overview
Use cases
- Search previous fixes before debugging a recurring issue
- Save confirmed solutions for reuse across repositories
- Share team knowledge through a common database
- Export and import memory when onboarding teammates
- Review and record solutions the assistant forgot to save
Key features
- Hybrid semantic and SQLite FTS5 keyword search
- Local Ollama or OpenAI embeddings
- Cross-project solution storage
- Shared databases and JSON export/import
- Project, category, tag, and edge-case metadata
- MCP tools for saving, correcting, enriching, and searching solutions
Tools3
What Longmem lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Longmem works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Longmem
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
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/longmem)<a href="https://allmcps.com/mcp/longmem"><img src="https://allmcps.com/api/badge/longmem?style=directory" alt="Longmem on AllMCPs" /></a>