Th Memory MCP
Local SQLite memory for MCP clients, with preference recall, lesson tracking, hybrid retrieval, and memory-graph management.
Install Th Memory MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"th-memory-mcp": {
"command": "npx",
"args": [
"-y",
"th-memory-mcp"
],
"env": {
"MEMORY_DB_PATH": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.
Overview
Use cases
- Remember user preferences across OpenCode sessions
- Recall corrections and lessons before starting a task
- Assemble token-budgeted context from related memories
- Consolidate duplicate memories and preserve provenance
- Export or import local memory records as JSON
Key features
- Local SQLite storage over MCP stdio
- Preference confidence scoring and structured lessons
- FTS5 and lexical fuzzy hybrid retrieval
- Memory graph relationships and provenance tracking
- OpenCode auto-capture plugin
- JSON import and export under data/exports/
Tools16
What Th Memory MCP lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 16 tools this server returned when we ran it.
Observed 2026-10-28 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 6d ago via OSV.dev · th-memory-mcp (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Th Memory MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Th Memory MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/th-memory-mcp)<a href="https://allmcps.com/mcp/th-memory-mcp"><img src="https://allmcps.com/api/badge/th-memory-mcp?style=directory" alt="Th Memory MCP on AllMCPs" /></a>