Memex MCP server
io.github.pragneshbagary/memex·v0.1.9·3 starsPersistent session memory for Claude Code. Local SQLite, no LLMs, no network.
3 stars47 downloads/wk
Reviews
Write oneNobody has reviewed Memex yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Memex tools (6, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
mem_deletewrite actionDelete a memory entry by its id.
mem_listList recent memory entries, optionally filtered by tag.
mem_loadLoad relevant memory entries for a new session.
mem_saveSave a memory entry about work just completed.
mem_searchFull-text search across all memory entries.
mem_updatewrite actionUpdate an existing memory entry. Only the fields you supply are changed.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan5 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 54 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Memex compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 802 Databases servers
- Tools
- 6
- the typical Databases server has 8
- Tools that change things
- 33%
- typical: 10%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 65% of 602 Databases servers
- Downloads a week
- 47
- more than 33% of 328 Databases servers with a package
What its tools let an agent do: 4 read · 2 change
Install Memex in Claude Code, Cursor or VS Code
claude mcp add memex -- uvx mcp-memex
What the publisher says
From the Memex repository's README, as published. We do not edit it. Read it on GitHub
memex
Every Claude Code session starts without knowing what you built last time - which files you changed, what decisions you made, what broke. You re-explain. Claude re-reads. You start over.
memex keeps a structured log of every session. Claude reads it at the start of the next one.
No cloud. No LLM extraction. No cost per save. Just local SQLite and one command to install.
Install
# with uv
uvx mcp-memex install
# with pip
pip install mcp-memex
memex installRestart Claude Code. That's it.
What gets saved
Each entry has structure - not a blob of text:
mem_save(
task="Replaced JWT auth with session cookies",
files=["src/auth.py", "src/middleware.py"],
decisions=["Session cookies over JWT - simpler, no token refresh needed"],
warnings=["Redis required - app won't start without REDIS_URL set"],
tags=["auth", "sessions"]
)Claude calls memsave when it finishes something meaningful. You can also just tell it: "save what we just did."*
What Claude sees at session start
=== memex: session context (db: my_project.db) ===
--- Recent (2) ---
[1] #4 - 2026-06-14T10:32
Task : Replaced JWT auth with session cookies
Files : src/auth.py, src/middleware.py
Decision : Session cookies over JWT - simpler, no token refresh needed
Warning : Redis required - app won't start without REDIS_URL set
Tags : auth, sessions
[2] #3 - 2026-06-13T15:10
Task : Added rate limiting to /api/login
Files : src/middleware.py
Warning : Rate limiter is in-memory per process - resets on restart
Tags : auth, rate-limitingClaude calls mem_load automatically at the start of every session. It returns the most recent entries plus any entries that match what you're working on - by keyword and by file path.
Browse from the terminal
You don't need to be inside Claude to look at your history:
memex status # entry count, DB size, top tags
memex list # recent entries for this project
memex list --tag auth # filter by tag
memex list --since 7d # entries from the last 7 days
memex list --since 2026-06-01 --until 2026-06-15 # date range
memex search "rate limit" # full-text search
memex version # print installed versionExport to markdown
Turn your history into portable, human-browsable notes - one .md file per entry, with [[wikilinks]] connecting related entries and files, plus tags as #hashtags. Works in Obsidian or any tool that understands [[links]]:
memex export ./my-project-notes/Entries that share a tag or a touched file are cross-linked under a Related section, so you can navigate your project history as a graph.
Six MCP tools
Why not just CLAUDE.md?
CLAUDE.md is for static project documentation - architecture, conventions, how to run tests. It doesn't change much and it isn't session-aware.
memex captures what's changing session to session: what you built yesterday, the decision you made this morning, the warning you discovered an hour ago. It's the difference between "here's the project" and "here's what happened last time."
memex install writes Claude's instructions into .claude/CLAUDE.local.md - a file Claude Code loads automatically without touching your project's own CLAUDE.md.
Memory is scoped per project
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Memex: common questions
- Is Memex MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Memex safety report
- How do I install Memex?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Memex need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Memex maintained?
- The last commit was 93 days ago (2026-08-03). The latest release is v0.1.9.
- What can I use instead of Memex?
- Servers from other publishers that do the same job: Myc MCP server, open-memex MCP server and SAME - Stateless Agent Memory Engine MCP server.
- How does Memex compare with other Databases MCP servers?
- safety score 88/100 (higher than 75% of 802 Databases servers); tools 6 (the typical Databases server has 8); tools that change things 33% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Memex
Same job from other publishers: the closest match first, then the best rated.
- MycTask queue, decisions and memory for coding agents. Local SQLite, no network. Requires Bun.not reviewedEstablishedC
- open-memexLocal-first memory for AI coding agents — Markdown + SQLite FTS5, shared across editors via MCP.not reviewedGrowingB
- SAME - Stateless Agent Memory EnginePersistent memory for AI coding agents. Local-first SQLite + vector search. 17 MCP tools.not reviewedGrowingB
- hmem — Humanlike Memory for AI AgentsPersistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.not reviewedGrowingA
- LoreConvoLocal-first persistent session memory for Claude Code and other agents. SQLite + FTS5, no cloud.not reviewedGrowingB