Independent by design · no pay-to-rank placements  · How we evaluate tools →
Anclum Submit
L

labdrian-ai/memorycard

Local-first persistent memory for coding agents: one Go binary, SQLite, MCP, dense retrieval

Before you install: no copy-paste command · license MIT · link reachable

First step: go install github.com/labdrian-ai/memorycard/cmd/memorycard@latest

View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Install command from the repository
go install github.com/labdrian-ai/memorycard/cmd/memorycard@latest

Parsed from the README we fetched on 2026-10-28; we have not executed it.

This is the install method the repository states, not an MCP client config, so no JSON is generated.
Key names differ by client: Clients & CLI
Star count
0 ★ · labdrian-ai/memorycard · read from the GitHub search API · (checked 2026-11-13 20:00:50)
Source
read directly from its GitHub page · type: open-source project
Harvest history
first seen 2026-10-28 · last seen 2026-11-14 · seen 19× · listed by 1 sources
Score
score 103 · 1 sources · repo
Install
go install github.com/labdrian-ai/memorycard/cmd/memorycard@latest
FAQ (answers come from our records)
How do I install it?
The repository provides this install command: go install github.com/labdrian-ai/memorycard/cmd/memorycard@latest. It comes from the repository itself; we cannot guarantee it runs as-is in your client.
Who is it for?
We filed it under these tags: 开源项目. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository labdrian-ai/memorycard;first catalogued 2026-10-28;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.

# memorycard

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Local-first persistent memory for coding agents. One Go binary, one SQLite file,
six MCP tools, dense retrieval with a lexical fallback.
Coding agents forget everything when a session ends. memorycard gives them a
memory they can save to and search by meaning, across sessions and across
agents, without a service or a cloud account. It speaks MCP, so it works with
Claude Code, Codex, OpenCode and any other MCP client.
Status: v0.1, episodic memory (decisions, fixes, discoveries, session summaries).
## Why
Cheap in tokens. The six tool definitions cost about 720 tokens (budget
1,500). A default search returns about 330 tokens for five results.
Finds what you mean. Retrieval is dense (bge-m3 through a local
ollama), not keyword matching. On 190 held-out natural
questions over a real 3,400-memory store: hit@5 85 %, hit@1 65 %, median
latency about 200 ms.
Never silently degraded. If the embedder is down, search falls back to
BM25 and says mode: lexical. Notes over 16 KB are saved as numbered parts
of about 12 KB, never truncated; saving the same topickey again updates
the parts in place.
Honest about confidence. confidence: low flags results for questions
the store knows nothing about. It cannot tell whether related memories hold
the exact fact asked for (no retrieval score separates those cases), so the
agent reading the results decides that.
No services. Pure-Go SQLite (no cgo), no daemon, no network except the
local embedder.
## Install
Download the archive for your platform from
Releases and put
memorycard on your PATH, or build it with Go:
sh
go install github.com/labdrian-ai/memorycard/cmd/memorycard@latest
Then pull the embedding model into a local ollama.
Without it memorycard still works, with keyword search only.
sh
ollama pull bge-m3
## Try it
sh
memorycard save --title "Auth model" --body "Signed tokens, 15 min expiry"
memorycard search "how do sessions expire"
## Connect your agent
memorycard serves its tools over stdio with memorycard mcp.
Claude Code:
sh
claude mcp add --scope user memorycard -- memorycard mcp
Codex (~/.codex/config.toml):
toml
[mcpservers.memorycard]
command = "memorycard"
args = ["mcp"]
OpenCode (opencode.json):
json
"mcp": {
"memorycard": { "type": "local", "command": ["memorycard", "mcp"] }
MCP tools: memsave, memsearch, memget, memupdate, memcontext,
memsession. Diagnostics (stats, embed, import, version) live in the
CLI.
Agents use memory best when told when to save and search. A line like this in
your agent instructions (CLAUDE.md, AGENTS.md) is enough to start:
> Search memorycard before starting work that may have been done before. After
> a decision, a bug fix or a non-obvious discovery, save it with memsave.
## Configuration
| Variable | Meaning |
| MEMORYCARDDB | database path |
| MEMORYCARDPROJECT | project name; if unset it is resolved as: a .memorycard file (first line) in the directory or above, the git origin remote name, the git root name, the directory name. Every agent started inside the same repository, worktrees included, shares one project |
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/en/s/labdrian-ai-memorycard/)
Source
github · https://github.com/labdrian-ai/memorycard
Browse by field
Open source
added
today

More like this

All 1,671 →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index