Mmcp.market

Th Memory MCP server

by worakorn-prince·io.github.worakorn-prince/th-memory-mcp·v2.0.0

Local long-term memory MCP server (SQLite) for AI coding agents — OpenCode, Claude Code, Cursor

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

3 stars451 downloads/wk

Reviews

Write one

Nobody has reviewed Th Memory yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Th Memory tools (11, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • consolidate

    Cluster similar memories via embedding similarity and optionally create derived/consolidated memories linked via 'derived_from'. Use during periodic consolidation.

  • export_memory

    Export 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.

  • forgetwrite action

    Delete 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).

  • get_context

    Assemble 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.

  • get_profile

    Get the distilled user profile: profile sections, top preferences by confidence (max 15), and the 5 most recent lessons.

  • get_recent_interactions

    List recently captured raw interactions (newest first) as [id] ts [kind] content lines. Optionally filter by kind. Use for auditing history or before distilling memory.

  • memory_stats

    Summarize memory usage: interaction counts by kind, preference/lesson totals, DB file size, oldest/newest interaction timestamps, and profile sections.

  • recall

    Search preferences + lessons via full-text index, plus recent matching interactions. Use before starting a new task.

  • remember

    Save 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().

  • save_lesson

    Record a lesson learned from a correction: what situation, what mistake, what is the correct way. Call immediately after the user corrects your work.

  • search_history

    Search past user prompts (kind='prompt') by keyword. Returns timestamped snippets truncated to 200 chars each.

Public scan report

scanner v0.1.9 · 2026-09-20 · same rubric, same numbers if you re-run it

no findings
  • Code scan39 source files scanned25/25
  • Live reliabilityno gateway calls yet and no remote to proben/a
  • Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 6 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

Install directly

Runs npx -y th-memory-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add th-memory-mcp -- npx -y th-memory-mcp
Add to Cursor

Th Memory: common questions

Is Th Memory MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Th Memory safety report
How do I install Th Memory?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Th Memory need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Th Memory maintained?
The last commit was 6 days ago (2026-09-14). The latest release is v2.0.0.
What can I use instead of Th Memory?
Servers from other publishers that do the same job: Myc MCP server, skillmem MCP server and Leteo MCP server. Compare all Th Memory alternatives.

Alternatives to Th Memory

Same job from other publishers: the closest match first, then the best rated.

All Th Memory alternatives →
  • Myc
    Task queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun.
    C
  • skillmem
    Skill memory for coding agents: learn, recall, reinforce, decay. Local SQLite, no API key.
    A
  • Leteo
    Persistent memory for AI coding agents: one Rust binary, one local SQLite database.
    A
  • Palace
    Local-first memory for coding agents — MCP server, single SQLite file, local embeddings
    A
  • Remem
    Local-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.
    B

More from worakorn-prince