
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@evan-moon/memex
Advanced tools
Local-first second brain with semantic search. MCP server for Claude Desktop and Claude Code.
Local-first second brain with semantic search. Stores notes as Markdown files and indexes them with a local ML model — no cloud, no API keys.
Works as an MCP server for Claude Code and Claude Desktop, and as a standalone CLI.
paraphrase-multilingual-MiniLM-L12-v2 (Korean + English, runs fully offline).md files in your vault directorysqlite-vec stored at ~/.memex/memex.dbnpm install -g @evan-moon/memex
On first run the embedding model (~120MB) is downloaded once to ~/.memex/models/.
# Add notes
memex add # interactive prompt
memex add --title "Note title" --content "..."
memex add --title "Note title" --file ./note.md
memex add --title "Note title" --content "..." --folder "projects/memex"
# Browse
memex list # recent 10 notes
memex list --limit 20
memex show <id>
# Search
memex search "semantic search query" # multilingual
memex search "지식 관리" --limit 10
# Edit / delete
memex edit <id>
memex delete <id>
memex delete --yes <id> # skip confirmation
# Index external directories
memex source add ~/Documents/My\ Notes # register a directory
memex source list
memex source remove ~/Documents/My\ Notes
memex index # scan vault + all sources
memex index --force # re-index everything
# Config
memex config show
memex config set vault-path ~/Documents/Second\ Brain
# MCP
memex mcp install # register with Claude Code
memex mcp path # print MCP binary path
memex mcp install
Or manually:
claude mcp add memex -- node "$(memex mcp path)"
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"memex": {
"command": "node",
"args": ["<path from `memex mcp path`>"]
}
}
}
| Tool | Description |
|---|---|
save_note | Save a note (title + markdown content + optional folder) |
search_notes | Semantic search across all notes |
list_notes | List recent notes |
get_note | Get full content of a note by ID |
update_note | Update title or content of an existing note |
delete_note | Delete a note by ID |
The MCP server includes built-in instructions that tell Claude to search before answering and save proactively at the end of conversations — no extra CLAUDE.md setup needed.
Config is stored at ~/.memex/config.json.
| Key | Default | Description |
|---|---|---|
vault_path | ~/Documents/Second Brain | Directory where .md files are saved |
sources | [] | Additional directories to index (e.g. existing Obsidian vaults) |
aliases | {} | Search alias map, e.g. { "js": ["javascript", "자바스크립트"] } |
memex config set vault-path ~/my-vault
~/.memex/
config.json — vault path, sources, and aliases
memex.db — SQLite DB (notes + sqlite-vec embeddings)
models/ — cached embedding model
<vault>/
*.md — notes (Obsidian-compatible)
Monorepo packages:
| Package | Role |
|---|---|
@memex/db | SQLite schema, drizzle queries, sqlite-vec integration |
@memex/embed | Local embedder via @huggingface/transformers |
@memex/utils | Config, path helpers, shared utilities |
@memex/mcp | MCP server (bundled into CLI dist) |
Memex is the memory layer of the Herald ambient voice assistant stack. When connected, Herald can:
Herald + Memex + Firma — ambient voice, persistent memory, and financial intelligence in one personal AI stack.
MIT
FAQs
Local-first second brain with semantic search. MCP server for Claude Desktop and Claude Code.
The npm package @evan-moon/memex receives a total of 22 weekly downloads. As such, @evan-moon/memex popularity was classified as not popular.
We found that @evan-moon/memex demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.