Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 90
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-memory

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mesh-memory in Claude Code

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

A

No 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 →

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.

mesh-memory Install

Add to stack

Loading.