{"name":"io.github.worakorn-prince/th-memory-mcp","slug":"worakorn-prince-th-memory-mcp","title":null,"description":"Local long-term memory MCP server (SQLite) for AI coding agents — OpenCode, Claude Code, Cursor","url":"https://mcp.market/server/worakorn-prince-th-memory-mcp","rating":null,"grade":"A","score":92,"certified":false,"status":"active","category":"data","tags":["data"],"presence":{"score":35,"stars":3,"forks":1,"downloads_week":866,"last_push_at":"2026-10-28T12:57:13.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/worakorn-prince/th-memory-mcp","website":null,"version":"2.4.1","remotes":[],"packages":[{"registryType":"npm","identifier":"th-memory-mcp","version":"2.4.1","transport":{"type":"stdio"}}],"tools":[{"name":"consolidate","description":"Cluster similar memories via embedding similarity and optionally create derived/consolidated memories linked via 'derived_from'. Use during periodic consolidation.","write_action":false,"price_micros":0,"input_schema":null},{"name":"export_memory","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"extract_memories","description":"Scan recent captured interactions for memory-intent phrases and propose memory candidates (deterministic, no LLM). Dry-run by default; pass apply=true to create them (source=captured).","write_action":false,"price_micros":0,"input_schema":null},{"name":"forget","description":"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).","write_action":true,"price_micros":0,"input_schema":null},{"name":"get_context","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_profile","description":"Get 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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"get_recent_interactions","description":"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.","write_action":false,"price_micros":0,"input_schema":null},{"name":"import_memory","description":"Import memories from a JSON array or a .json file inside data/exports/. Validates type, dedupes against existing memories, and never overwrites active memory blindly. Dry-run by default; pass apply=true to insert.","write_action":false,"price_micros":0,"input_schema":null},{"name":"link_memory","description":"Create a typed relationship between two memories in the graph (supports/contradicts/supersedes/derived_from/related_to/caused_by/depends_on).","write_action":true,"price_micros":0,"input_schema":null},{"name":"memory_stats","description":"Summarize memory usage: interaction counts by kind, preference/lesson totals, DB file size, oldest/newest interaction timestamps, and profile sections.","write_action":false,"price_micros":0,"input_schema":null},{"name":"merge_memory","description":"Merge a duplicate/near-duplicate memory into a canonical one. The source becomes superseded and provenance is recorded in metadata.merged_from.","write_action":false,"price_micros":0,"input_schema":null},{"name":"recall","description":"Search preferences + lessons via full-text index, plus recent matching interactions. Use before starting a new task.","write_action":false,"price_micros":0,"input_schema":null},{"name":"remember","description":"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().","write_action":false,"price_micros":0,"input_schema":null},{"name":"save_lesson","description":"Record a lesson learned from a correction: what situation, what mistake, what is the correct way. Call immediately after the user corrects your work.","write_action":false,"price_micros":0,"input_schema":null},{"name":"search_history","description":"Search past user prompts (kind='prompt') by keyword. Returns timestamped snippets truncated to 200 chars each.","write_action":false,"price_micros":0,"input_schema":null},{"name":"update_memory","description":"Update mutable fields (summary/importance/confidence/valid_from/valid_until/metadata) in place. If content changes, a superseding memory is created by default (set supersede=false to edit in place).","write_action":true,"price_micros":0,"input_schema":null}],"scan":{"score":92,"grade":"A","scanned_at":"2026-10-30T06:01:35.400Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-10-30T06:01:35.328Z","components":{"code":{"score":25,"max":25,"notes":["71 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":12,"max":15,"notes":["local package, no credentials required"]},"maintenance":{"score":15,"max":15,"notes":["last push 2 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"th-memory-mcp","version":"2.4.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":3,"publishedAt":"2026-10-28T13:00:23.264Z","repositoryUrl":"git+https://github.com/worakorn-prince/th-memory-mcp.git","weeklyDownloads":866}],"repo":{"found":true,"owner":"worakorn-prince","repo":"th-memory-mcp","archived":false,"pushedAt":"2026-10-28T12:57:13Z","stars":3,"forks":1,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/67865582?v=4","ownerCreatedAt":"2020-07-05T13:36:27Z","license":"MIT"},"icon":{"url":"https://avatars.githubusercontent.com/u/67865582?v=4&s=128","source":"registry"},"presence":{"stars":3,"forks":1,"downloadsWeek":866,"license":"MIT","lastPushAt":"2026-10-28T12:57:13.000Z","score":35}}}},"grade_history":[],"reviews":[]}