Shodh Memory
Gives your AI agent a persistent local memory that finds related things, fades what is unused and needs no cloud or LLM.
321 stars on GitHubby varun29ankuSLicense Apache-2.0Updated 21 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add shodh-memory -- npx -y @shodh/memory-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
SHODH_API_URL | URL of the shodh-memory backend server | No |
SHODH_API_KEY | API key for authentication | No |
SHODH_USER_ID | User ID for memory isolation | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Remember that I prefer dark mode and short answers.
What do you remember about how we set up the database last week?
What it is
Shodh-Memory remembers things between sessions so your agent does not start from zero each time. It runs as one local program with offline search, a knowledge graph and no API keys. Memories you use often become easier to find, and unused ones fade.
What it can do
rememberandrecall: store and search memoriesrecall_by_tagsandquick_recall: faster lookupsproactive_contextandcontext_summary: bring back useful contextforgetandlist_memories: manage what is stored- Todos, projects and reminders:
add_todo,add_project,set_reminder - Backups:
backup_createandbackup_restore
When to use
- βΊWhen you are tired of re-explaining your preferences each session
- βΊWhen you want agent memory that stays on your machine
- βΊWhen you want your agent to track todos and reminders across sessions
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
AgentDB Memory PatternsLets your agent remember conversations and context across sessions, using AgentDB as its persistent memory store.memory-systemsAllows your agent to remember important information for longer, even between conversations. It helps maintain context and build deeper knowledge on a topic.jev-memoryHelps your Claude Code sessions remember your lasting preferences, by having a classifier save durable preferences after each answer.Frequently asked questions
Is it free and open source?
The readme shows an open source license badge and says no cloud and no API keys are needed. It lists no prices.
Does it call an LLM?
No. The readme says storing and recalling make zero LLM calls; embeddings and ranking run locally.
Does it work offline?
Yes, after the first run downloads its local models.
How many tools are there?
The readme lists 51 MCP tools across memory, search, sessions, todos, projects, reminders and system.
Which clients does it work with?
Claude Code, Cursor, Claude Desktop and other MCP clients. There are also Python and Rust packages and a Docker image.
Do I need an API key?
For local use no key is needed and one is generated automatically. For remote servers set SHODH_API_KEY.
If it does not work
- βΊRun shodh doctor to diagnose problems and shodh status to check server health.
- βΊCheck that Node.js is installed if npx fails.
- βΊIf you use a remote server, set SHODH_API_KEY in the MCP env.
5 new skills a week. 1 minute to read.