/agents-mcp:mesh-memoryfrom agents-mcp
Self-hosted semantic memory for AI agents via MCP. Saves worklogs, decisions, and notes into Postgres+pgvector, retrieves them by meaning across sessions.
Ships in agents-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mesh Memory is a self-hosted semantic memory service with a built-in MCP server. It stores documents (worklogs, decisions, notes, research) in PostgreSQL with pgvector and retrieves them by meaning, so a query like "what database did we pick?" surfaces a saved note that says "chose Redis for caching" even with zero keyword overlap. Embeddings are generated locally with multilingual-e5-base (768 dimensions); the core flow requires no external API keys.
Use this skill when an agent needs persistent memory across sessions: saving its own work, recalling prior decisions, or building a project knowledge base shared between multiple agents.
type:decision entries from one project).docker compose up -d in the upstream repo brings it up; see https://github.com/dklymentiev/mesh-memory for the full Quick Start.mcp_server.py) registered with your client (Claude Code, Cursor, Claude Desktop, or any other MCP-aware agent).MESH_API_URL pointing at the running instance (default: http://localhost:8000).Register the MCP server in your client configuration:
{
"mcpServers": {
"mesh": {
"command": "python3",
"args": ["/path/to/mesh-memory/mcp_server.py"],
"env": {
"MESH_API_URL": "http://localhost:8000"
}
}
}
}
When the server is reachable, the 13 tools listed below become available.
| Tool | Purpose |
|---|---|
mesh_focus | Switch the active workspace (optionally prefetch recent docs). |
mesh_add | Save a document with optional tags. Auto-adds date:YYYY-MM-DD and source:. |
mesh_update | Update content, tags, or pinned status of an existing document. |
mesh_delete | Delete a document by GUID. |
mesh_get | Fetch a single document by GUID. |
mesh_search | Semantic search by query, optionally across multiple workspaces with weights. |
mesh_bytag | List documents that match one or more tags (AND logic). |
mesh_recent | List most recently created documents, optionally filtered by type: tag. |
mesh_projects | List per-project document counts (uses guid: tag as project marker). |
mesh_tags | List existing tags with counts; optional prefix filter. |
mesh_versions | Show the version chain of a document (similarity-linked revisions). |
mesh_stats | Memory statistics for the active workspace. |
mesh_schema | Show the tag schema (recognized prefixes and types). |
After completing work, persist it for future sessions:
mesh_add(
content="Investigated 502s on the checkout flow. Root cause: missing CORS header on the cart API. Fix shipped in commit abc123.",
tags="type:worklog,topic:checkout,date:2026-05-23",
workspace="developer"
)
date: and source: are added automatically when omitted. Type and topic tags are inferred from nearest neighbors after the embedding completes (5-10 seed documents required before inference kicks in).
Search across sessions for related context, even with different vocabulary:
mesh_search(query="checkout was failing for some users", limit=5, workspace="developer")
The query shares no keywords with the original note ("502s", "CORS"), but the embedding-based search surfaces it.
For a multi-role agent, switch the active workspace at the start of a session:
mesh_focus(workspace="sysadmin", prefetch=true, limit=5)
Subsequent calls default to that workspace. Pin a role-prompt document at the top of each workspace so the agent re-orients on every prefetch.
To pull context from related domains without diluting the primary signal:
mesh_search(
query="nginx rate limit recipe",
workspaces={"sysadmin": 0.7, "security": 0.2, "developer": 0.1},
limit=10
)
Results are merged across workspaces and re-scored by workspace weight.
When you need an exact filter rather than semantic similarity:
mesh_bytag(tags="type:decision,status:active,guid:my-project", limit=20)
Mesh accepts arbitrary tags. The recommended prefixes (used by auto-inference and surfaced by mesh_schema):
| Prefix | Meaning |
|---|---|
type:worklog | Completed work; the most common type. |
type:note | Quick notes, observations. |
type:decision | Architecture or product decisions. |
type:research | Investigation results, findings. |
type:task | Action items. |
type:rfc | Proposals for review. |
status:active / status:completed / status:archived | Lifecycle. |
date:YYYY-MM-DD | When the document was created (auto-added). |
source: | How the document arrived (auto-added: mcp, api, etc.). |
guid:<project-id> | Project marker -- use a consistent slug across all docs of a project. |
With fewer than ~5-10 documents in a workspace, neighbor inference is skipped; manually tag seed documents until the corpus self-organizes.
Tool calls fail with connection errors. The MCP server cannot reach MESH_API_URL. Verify the instance is up (curl $MESH_API_URL/health returns {"status":"healthy"}) and the env var is set in the MCP config.
A saved document does not appear in semantic search yet. Embedding generation runs in the background. After a save, expect a 1-2 second delay before semantic search hits the new document. mesh_get(guid=...) confirms the document exists immediately.
Search returns results from the wrong domain. The active workspace is not what you expected. Call mesh_focus(workspace="<name>") explicitly, or pass workspace= on every call. With no focus and no explicit param, calls land in the default workspace.
Auto-tagging never adds anything. The workspace has too few documents for neighbor inference (~5-10 minimum). Manually tag a handful of seed documents, then auto-inference takes over.
A deleted document still appears in a search result. Embedding indices are eventually consistent; rerun the search after a few seconds, or use mesh_get(guid=...) to confirm deletion.
mesh_bytag over mesh_search.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
34 skills in this plugin
/ads-mathCalculate and model paid-media CPA, CPL, CPC, CPM, ROAS, MER, break-even targets, contribution margin, LTV:CAC, impression-share opportunity, budgets, forecasts, and experiment economics. Use for PPC math, ad calculator, break-even analysis, ROAS calculator, CPA calculator, budget forecast, LTV CAC, or MER./agent-recallPersistent compounding memory for AI agents. 5 default MCP tools: session_start, session_end, remember, recall, check. Full surface (18 tools) available with --full flag. Two-verb model: inhale (session_start) and exhale (session_end). Correction-first memory with decision trail tracking, watch_for warnings, palace rooms with salience scoring, cross-project insight matching, same-day journal merging, ambient recall hooks. Local markdown only. Zero cloud, zero telemetry, Obsidian-compatible. Optional Supabase backend: when configured via `ar setup supabase`, recall() uses pgvector cosine similarity on OpenAI/Voyage embeddings instead of keyword search — same API, semantic understanding. Gracefully degrades to local search if not configured./aihot查询 AIHOT(aihot.news)的中文 AI 资讯。用户问今天或最近 AI 圈发生了什么、AI 新闻和 AI 日报、大模型与 AI 产品发布、OpenAI/Anthropic/Google 等公司或某个 AI 话题的最新消息、当前最热的 AI 事件及来龙去脉、AI 模型排行、Codex 额度重置,或其它 AI 行业动态时使用。必须实时查询 AIHOT,不凭训练记忆回答新闻;匿名只读,无需 API Key。npx claudepluginhub skillmds/skillmd --plugin agents-mcp20 plugins in 11 repositories ship this exact skill · first indexed Jun 3, 2026
Showing 6 of 20 plugins, one per repository first
Other plugins' skills for the same job