Memsmith
БесплатноПоддерживаетсяPersistent, local-first memory for Claude Code, with optional shared team memory.
Описание
Persistent, local-first memory for Claude Code, with optional shared team memory.
README
MemSmith
Persistent, shared memory for AI coding agents. Built for Claude Code.
What it does • Install • Quick start • Capabilities • Runtimes • Troubleshooting • License
MemSmith gives your AI coding agent memory that survives between sessions. It records what the agent does, turns that activity into short typed observations (decisions, bug fixes, discoveries, and changes), and lets the agent search them in later sessions. In team mode, a whole team shares one searchable memory.
What MemSmith does
- Capture. Claude Code hooks send prompts, tool use, file edits, and session summaries to a MemSmith server. MemSmith redacts known secrets before it stores anything.
- Generate. A provider that you choose (Claude, Gemini, OpenRouter, or Ollama) turns the activity into observations. If a hosted provider fails, MemSmith can run the job on a local Ollama model.
- Store. Observations go into Postgres with pgvector. A local embedder produces the vectors, so semantic search needs no API key.
- Recall. Claude searches memory with MCP tools before it searches the code or the web. You can also search from a terminal or the dashboard.
Install
Requires Node.js 20.12 or later. MemSmith installs Bun and uv if they're missing. You don't need Docker.
npx memsmith install
Or install from the plugin marketplace inside Claude Code:
/plugin marketplace add shshalom/memsmith
/plugin install memsmith@shshalom
The installer asks which generation provider to use. The default, Claude Haiku 5.5, needs an Anthropic API key. To use Ollama only, choose it at the prompt. For all options, see Installation.
To update, run npx memsmith@latest update.
Quick start
Restart Claude Code, and work as usual. MemSmith captures your sessions in the background. Context from earlier sessions appears from your second session in a project.
Ask Claude about past work, such as "why did we choose this approach?". Claude searches memory with
observation_searchandobservation_get.Search from a terminal, in a project folder:
memsmith search "start at login" memsmith get <id>Save a note on purpose:
memsmith note "Deploys freeze on Fridays"Open the dashboard at the address that
memsmith statusprints.If something looks wrong, run
memsmith doctor. Add--fixto repair what it finds.
Without a global install (npm install -g memsmith), prefix each command with
npx.
Capabilities
| Capability | What it does | Documentation |
|---|---|---|
| Memory tools | Search, read, and write memory through MCP, and explore code with smart_* tools |
Memory tools |
| Notes | Save a decision or fact on purpose, ranked first in search | Notes |
| CLI | Install, update, manage the server, search, link projects, and operate a team server | CLI reference |
| Projects | Map folders to projects with markers, and merge or prune projects | Projects |
| Dashboard | Browse observations, read notes, and change settings | Dashboard |
| Actor tags | Label memory with the agent or role that wrote it, and filter by it | Actor tags |
| Read-only mode | Let a session read memory but record nothing (MEMSMITH_ACCESS=read) |
Read-only mode |
| Hook switches | Turn off hook features by name (MEMSMITH_HOOKS_DISABLED) |
Hook switches |
| Privacy | Exclude content with <private> tags, redact secrets automatically, and pause capture with /incognito |
Private tags, Secret redaction, Incognito mode |
| Providers | Choose Claude, Gemini, OpenRouter, or Ollama, with automatic local failover | Generation providers |
| Generation | Queue, retries, quality floor, tiering, and monthly caps | Generation queue and quality |
| Memory-first enforcement | Make the agent consult memory before it searches code or the web | Architecture overview |
| Team server | Share memory across a team with API keys, roles, quotas, and remote MCP recall | Team server |
| Settings | Every setting and environment variable, with its default | Settings reference |
| Other IDEs | Cursor, Antigravity CLI, Claude Desktop, and others | Cursor, Antigravity CLI, Claude Desktop |
Runtimes
MemSmith runs the same engine in two runtimes. Runtimes compares them.
| Runtime | Who it serves | Where data lives |
|---|---|---|
local (default) |
A solo developer | Embedded Postgres in ~/.memsmith/pgdata |
server |
A team | Remote Postgres behind an HTTPS API |
A project moves from local to server through the GO TEAM flow in the
dashboard. The flow copies local data to the team server, verifies the copy, and
then switches the project. MemSmith never deletes local data. A teammate who
clones the repository joins the team from the dashboard with a team key. For
deployment, see Team server and the
AWS runbook.
Troubleshooting
Run memsmith doctor first. For fixes to common problems, such as a stopped
server, missing context, or a blocked tool call, see
Troubleshooting.
Documentation
The documentation source is in docs/public/. Start with the introduction.
Development
To build from source, clone the repository, run npm install, and then run
npm run build. To run the tests, run bun test tests/server/ for a fast
signal. After a source change that lands in a plugin bundle, run
npm run build and commit the regenerated files under plugin/. For
contributor details, see Development.
Report issues at GitHub Issues. Security reports go through GitHub private vulnerability reporting; see SECURITY.md.
License
MemSmith is licensed under the Apache License 2.0. See the LICENSE file for the full text, and docs/license.md and docs/ip-boundary.md for the licensing scope.
Credits
MemSmith includes software derived from an Apache-2.0 licensed open source project. See the NOTICE file for attribution.
Установить Memsmith в Claude Desktop, Claude Code, Cursor
unyly install memsmithСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add memsmith -- npx -y memsmithПошаговые гайды: как установить Memsmith
FAQ
Memsmith MCP бесплатный?
Да, Memsmith MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Memsmith?
Нет, Memsmith работает без API-ключей и переменных окружения.
Memsmith — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Memsmith в Claude Desktop, Claude Code или Cursor?
Открой Memsmith на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Postgres
Query your database in natural language
автор: Anthropicwenb1n-dev/SmartDB_MCP
Connect to multiple databases at once (MySQL, PostgreSQL, SQL Server, MariaDB, Dameng, Oracle) for operations, health analysis and SQL optimization.
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolRedis
Interact with Redis key-value stores.
автор: modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
автор: modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
автор: raw-labsjulien040/anyquery
Query apps with SQL from a single local-first binary; also connects to PostgreSQL, MySQL and SQLite-compatible databases.
автор: julien040drakonkat/wizzy-mcp-tmdb
Search and retrieve movie, TV show and person information from The Movie Database (TMDB) API.
автор: drakonkatlongevity-genie/opengenes-mcp
Query the OpenGenes database for aging and longevity research.
автор: longevity-genieCompare Memsmith with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
