@jeffs-brain/memory-mcp
v0.1.0
Published
Model Context Protocol stdio server for @jeffs-brain/memory, exposing eleven memory tools with zero-config local and hosted modes.
Readme
@jeffs-brain/memory-mcp
Stdio Model Context Protocol server for @jeffs-brain/memory. Gives agents (Claude Code, Claude Desktop, Cursor, Windsurf, Zed) first-class access to a local or hosted Jeffs Brain.
One of three wire-compatible MCP wrappers; its counterparts are the Go cmd/memory-mcp binary and the Python jeffs-brain-memory-mcp package. All three expose the same 11 memory_* tools defined in spec/MCP-TOOLS.md.
Install
npm i -g @jeffs-brain/memory-mcp
# or run on demand
npx -y @jeffs-brain/memory-mcpFor a one-shot install across every supported agent, use the orchestrator:
npx @jeffs-brain/installClaude Code
# Local brain (default: ~/.jeffs-brain)
claude mcp add jeffs-brain -- npx -y @jeffs-brain/memory-mcp
# Hosted brain
claude mcp add jeffs-brain --env JB_TOKEN=... -- npx -y @jeffs-brain/memory-mcpClaude Desktop, Cursor, Windsurf
Add to the app's MCP config:
{
"mcpServers": {
"jeffs-brain": {
"command": "npx",
"args": ["-y", "@jeffs-brain/memory-mcp"],
"env": { "JB_TOKEN": "optional-hosted-token" }
}
}
}Zed (context_servers)
{
"context_servers": {
"jeffs-brain": {
"source": "custom",
"command": "npx",
"args": ["-y", "@jeffs-brain/memory-mcp"],
"env": { "JB_TOKEN": "optional-hosted-token" }
}
}
}Modes
Selected automatically:
- Local (no
JB_TOKEN): FsStore rooted at$JB_HOME(default~/.jeffs-brain/), SQLite-backed search, Ollama embeddings athttp://localhost:11434when available with BM25-only fallback. No API key required. - Hosted (
JB_TOKENset): HttpStore against$JB_ENDPOINT(defaulthttps://api.jeffsbrain.com) using the token as a bearer credential.
Environment variables
| Variable | Default | Notes |
| ------------- | ---------------------------- | --------------------------------------------------------- |
| JB_TOKEN | unset | When set, flips to hosted mode. |
| JB_ENDPOINT | https://api.jeffsbrain.com | Hosted API base URL. |
| JB_HOME | ~/.jeffs-brain | Local FsStore root. |
| JB_BRAIN | unset | Default brain id or slug applied when tool args omit brain. |
| OLLAMA_HOST | http://localhost:11434 | Local embedder endpoint. BM25-only if unreachable. |
Tools
Eleven memory_* tools shared with the Go and Python MCP wrappers:
memory_remembermemory_recallmemory_searchmemory_askmemory_ingest_filememory_ingest_urlmemory_extractmemory_reflectmemory_consolidatememory_create_brainmemory_list_brains
Input and output shapes are specified in spec/MCP-TOOLS.md.
Docs
- Repo README: https://github.com/jeffs-brain/memory#readme
- Protocol and MCP spec:
spec/ - Docs site: https://docs.jeffsbrain.com
