mesh-memory
Skill by sickn33
Mesh Memory gives AI agents self-hosted semantic memory over MCP. It saves worklogs, decisions and notes in Postgres with pgvector and recalls them by meaning across sessions.
Install mesh-memory
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/mesh-memory ~/.claude/skills/mesh-memoryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/mesh-memory ~/.gemini/antigravity-cli/skills/mesh-memoryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Mesh Memory is a self-hosted semantic memory service with a built-in MCP server. It stores documents such as worklogs, decisions, notes and research in PostgreSQL with pgvector, and retrieves them by meaning rather than exact keywords. A query like "what database did we pick?" can surface a note that says "chose Redis for caching" even with no shared words.
Embeddings are generated locally with multilingual-e5-base at 768 dimensions, and the core flow needs no external API keys. Documents can be grouped into workspaces by role or project, and tags such as type:decision support structured lookups. The skill exposes 13 MCP tools for saving, searching, tagging and switching workspaces. It is aimed at AI agents that need persistent memory across sessions, or a project knowledge base shared by several agents.
Written from the project's SKILL.md and checked against it.
What it can do
- mesh_addSaves a document with optional tags, adding date and source tags automatically.
- mesh_searchRuns semantic search by query, optionally across several workspaces with weights.
- mesh_focusSwitches the active workspace and can prefetch recent documents.
- mesh_updateUpdates the content, tags, or pinned status of an existing document.
- mesh_deleteDeletes a document by its GUID.
- mesh_getFetches a single document by its GUID.
- mesh_bytagLists documents matching one or more tags using AND logic.
- mesh_recentLists the most recently created documents, optionally filtered by type tag.
- mesh_projectsLists per-project document counts using the guid tag as project marker.
- mesh_tagsLists existing tags with counts, with an optional prefix filter.
What you need
- A running Mesh Memory instance, usually started with Docker
- Python 3 to run the mcp_server.py MCP server
- An MCP-aware client such as Claude Code, Cursor or Claude Desktop
- MESH_API_URL set to the running instance, default http://localhost:8000
Try asking
- Save a worklog about today's checkout 502 fix in the developer workspace.
- Search my memory for what we decided about caching, even if I don't remember the words.
- Show all active type:decision documents for my project using mesh_bytag.
Good to know
- Mesh is a knowledge store, not a chat memory, so long transcripts should be summarized first.
- Auto-tagging needs roughly 5 to 10 documents in a workspace before neighbor inference starts.
- Embeddings run on CPU by default, and very large corpora need a dedicated instance not covered in the source.
- Saving memory requires the user's consent and an explicit workspace.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/mesh-memory/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB
Alternatives to mesh-memory
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
mesh-memory: common questions
Does Mesh Memory need an external API key?
The source says the core flow requires no external API keys, because embeddings are generated locally with multilingual-e5-base.
How does Mesh Memory find saved notes?
It stores documents in PostgreSQL with pgvector and searches by meaning, so a query can match a note with different wording.
Does it tag documents automatically?
Type and topic tags are inferred from nearest neighbors after embedding, but only once the workspace has about 5 to 10 seed documents.
How do I install mesh-memory?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mesh-memory free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mesh-memory safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mesh-memory?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
