tdai-memory-mcp
The server provides persistent, searchable long-term memory for AI coding agents, running locally with an embedded SQLite database (no external database or API key required).
Memory Operations: Recall past memory using hybrid BM25 + vector search with pagination/token limits; capture decisions, learnings, tasks, errors, conversations, and atomic facts; search by keyword/semantic similarity with filters; forget by ID, tag, type, or date with confirmation.
Agent Handoff & ADRs: Create structured handoff packets to transfer context between sessions/agents (saving 60–85% tokens); record architecture decision records with rationale, alternatives, and consequences.
Data Management: Export/import memory as JSON (filterable, stdout support); backup database and audit log; view memory in a local web viewer at http://localhost:7331; print stats (counts, top tags, sessions, etc.).
Automation: Install agent skills and lifecycle hooks (SessionStart auto-recall, Stop handoff reminder) for Claude Code, Devin CLI, and others.
Optional LLM Pipeline: With an API key, distill raw captures into atomic facts (L1), scenarios (L2), and persona profiles (L3); otherwise, raw captures and hybrid search work in noop mode.
Security: Automatic secret redaction on captures; token caps on recall (4,000) and search (8,000); audit log of all tool calls with hashed arguments.
Team Collaboration: Sync shared team memory via a committed
.tdai-memory/memory-export.jsonfile in a repo.Programmatic Access: TypeScript SDK for direct
capture,recall,handoff,adrcalls.Configuration: Configurable via environment variables or config file; supports multiple clients (Claude Code, Cursor, Codex CLI, Devin CLI, Trae); Docker support.
Syncs project memory to a Git repository, enabling team sharing through commits, diffs, and merges.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tdai-memory-mcpwhat did we decide about the API design?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tdai-memory-mcp → remem-mcp
This package has been renamed to remem-mcp.
Migrate
npx remem-mcp setupYour existing memory.db is preserved — same SQLite file, same path (~/.local/share/remem-mcp/memory.db).
Related MCP server: tartarus-mcp
What changed
Package name:
tdai-memory-mcp→remem-mcpEnv vars:
TDAI_*→REMEM_*Everything else stays the same: same tools, same DB, same hooks
Links
New repo: github.com/tinhien11/remem-mcp
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA local-first MCP memory server that gives AI coding agents persistent memory with hybrid semantic and keyword retrieval, working fully offline.185206MIT
- AlicenseNot gradedqualityCmaintenanceA local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.51Apache 2.0
- FlicenseNot gradedqualityAmaintenanceLocal-first cross-agent memory for AI coding agents. Persistent, shared memory over MCP — what you tell one agent can be recalled by another — with all data stored in a single local SQLite file, no cloud and no API keys.
- AlicenseNot gradedqualityCmaintenancePersistent memory for AI coding agents. Enables agents to save and recall decisions, patterns, bugs, and context across sessions via an MCP server with local SQLite storage.122MIT
Related MCP Connectors
An MCP memory server. One memory your agents share — across models, devices and apps.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tinhien11/tdai-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server