Agent Recall vs Th Memory MCP

A side-by-side look at the Agent Recall and Th Memory MCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Agent Recall logoAgent RecallKnowledge & Memory · Local subprocess (stdio)Correction-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.71GreatAuth: no auth requiredTh Memory MCP logoTh Memory MCPKnowledge & Memory · Local subprocess (stdio)Adaptive Memory MCP server - SQLite-backed memory for OpenCode64GoodAuth: no auth required

Verdict: choose Agent Recall for knowledge & memory work as a local process; choose Th Memory MCP for knowledge & memory as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Agent Recall logoChoose Agent Recall when

  • You need dedicated capabilities in the Knowledge & Memory domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like session_start, session_end, remember.
Explore Agent Recall

Th Memory MCP logoChoose Th Memory MCP when

  • You need dedicated capabilities in the Knowledge & Memory domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You have the keys it needs: MEMORY_DB_PATH.
  • You want tools like remember, recall, get_profile.
Explore Th Memory MCP

Feature & specification comparison

Rows where the two servers differ are marked.

SpecAgent Recall logoAgent RecallTh Memory MCP logoTh Memory MCP
CategoryKnowledge & MemoryKnowledge & Memory
Quality signal71/100 · Great64/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNo auth requiredNo auth required
PricingFreeFree
Required env varsNone listedMEMORY_DB_PATH
Verified ownerCommunity listingCommunity listing
GitHub stars3733
Directory activity 8 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
Tools516

Tools & capabilities

Agent Recall tools 5

  • session_start[ENTRY — call FIRST, before acting] Use when the user asks to start, load, continue, resume, or open memory for a project. Set mode='lite' for a ≤500-token briefing (good for fresh conversations where the agent will pull memory on demand via recall()).
  • session_end[ON SAVE/EXIT — YOU must call this; nothing auto-saves] Use when the user asks to save, checkpoint, summarize, end, retain, or persist the current session. Optionally pass close_phase / open_phase to update the project pipeline narrative spine in the same call.
  • remember[MID-SESSION WRITE — single fact/decision; saying it is not saving it] Use when the user asks to remember, store, note, or save a specific decision, fact, or insight.
  • recall[RETRIEVE — use freely, any time] Use when the user asks to recall, search, find, or look up previous memory, context, or decisions.
  • check[MID-SESSION — safe any time; for alignment, before risky decisions] Use when the user asks to validate understanding, verify alignment, or check if their interpretation matches the human's intent. Also call BEFORE a high-risk action — publish, deploy, delete, credential exposure, external send/message, or any other irreversible write — passing `action_description` (one sentence, what you're about to do). Returns matching corrections/rules/insights plus a `verdict`: `blocked` means an authoritative correction OVERRIDES the plan — read it before proceeding. To RECORD a durable human correction, pass `human_correction` as the STRUCTURED object {rule, why, applies_when} — a plain string is only STAGED for later review, never activated.

Th Memory MCP tools 16

  • rememberSave or update a user preference (category+key upsert). Re-saving the same key increases confidence by 0.1 (cap 1.0). Returns the row id for forget().
  • recallSearch preferences + lessons via full-text index, plus recent matching interactions. Use before starting a new task.
  • get_profileGet the distilled user profile: profile sections, top preferences by confidence (max 15), and the 5 most recent lessons. Optional userId/sessionId/projectId scope the auto-projected memories; without them only GLOBAL memories are included.
  • save_lessonRecord a lesson learned from a correction: what situation, what mistake, what is the correct way. Call immediately after the user corrects your work.
  • search_historySearch past user prompts (kind='prompt') by keyword. Returns timestamped snippets truncated to 200 chars each.
  • forgetDelete one memory row (preference, lesson or interaction) by id and sync the search index. Pass type when you know it (ids from remember are preference ids, from save_lesson are lesson ids).
  • memory_statsSummarize memory usage: interaction counts by kind, preference/lesson totals, DB file size, oldest/newest interaction timestamps, and profile sections.
  • get_recent_interactionsList recently captured raw interactions (newest first) as [id] ts [kind] content lines. Optionally filter by kind. Use for auditing history or before distilling memory.
  • export_memoryExport preferences, lessons, profile (and optionally raw interactions) to a JSON file under data/exports/. Only writes inside that directory. Returns the file path, size in bytes and a JSON preview.
  • get_contextAssemble relevant memories for the current task via hybrid retrieval (+ optional memory-graph expansion), with token budgeting. Use to load memory into context before a task.
  • consolidateCluster similar memories via embedding similarity and optionally create derived/consolidated memories linked via 'derived_from'. Use during periodic consolidation.
  • link_memoryCreate a typed relationship between two memories in the graph (supports/contradicts/supersedes/derived_from/related_to/caused_by/depends_on).
  • +4 more on the listing page

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Agent Recall

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "agent-recall": {
      "command": "npx",
      "args": [
        "-y",
        "agent-recall-mcp"
      ]
    }
  }
}

Th Memory MCP

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "th-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "th-memory-mcp"
      ],
      "env": {
        "MEMORY_DB_PATH": "YOUR_MEMORY_DB_PATH_HERE"
      }
    }
  }
}

Frequently asked questions

Agent Recall is categorized under Knowledge & Memory and uses a local stdio subprocess. Th Memory MCP belongs to Knowledge & Memory and uses a local stdio subprocess. Pick Agent Recall for knowledge & memory work and Th Memory MCP for knowledge & memory.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Agent Recall is listed as free. Auth: no auth required. Th Memory MCP is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add agent-recall and th-memory-mcp as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Agent Recall has a quality signal of 71/100 (Great) with 8 views, 0 installs and 373 GitHub stars. Th Memory MCP has 64/100 (Good) with 3 views, 0 installs and 3 GitHub stars.