Skip to main content
MCP server CX Codex

memex · dioniipereyraa — Claude Code MCP server: search and setup

memex indexes Claude.ai conversations alongside local Claude Code sessions for MCP search. Use it to bring earlier discussion context into a coding session.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add memex -- uvx memex-chats
Open on GitHub

What memex does

The server indexes Claude.ai chat history and local Claude Code and terminal sessions. An agent can search those records for earlier context, such as finding a discussion that led to the task it is handling. Data is stored in SQLite, with text and vector search working together.

On macOS or Linux, install with curl -LsSf https://raw.githubusercontent.com/dioniipereyraa/memex/main/scripts/install-pypi.sh | sh; Windows users can run the PowerShell command in the FAQ. Then install the Chrome extension, enter the token printed by the installer, and start the Claude.ai history import. The fastembed model downloads on first indexing, and no API key is needed. Python 3.12 or newer is required.

What it helps with

  • retrieve Claude.ai discussion context from Claude Code
  • find a past terminal session about an error
  • search local Claude Code session history
  • connect Claude.ai chats with a repository

Example prompts for the agent

  • Find the Claude.ai conversation about this task and recap the decision we made.
  • Search earlier Claude Code sessions for a fix to an error like this one.
  • Look for Claude.ai chats associated with this repository.

How to install memex

Platform CLI

claude mcp add memex -- uvx memex-chats

uvx runs the command named after the package; if the README names another one, use uvx --from memex-chats <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about memex

How do I install memex in Claude Code?

Run claude mcp add memex -- uvx memex-chats. For initial setup, also run the installer for your system, install the Chrome extension, and import your Claude.ai history.

What does memex do?

It indexes Claude.ai chats and local Claude Code and terminal sessions so an agent can search them through MCP.

Does memex require an API key?

No. The fastembed model downloads when indexing begins, so an API key is not needed.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

memex by other authors comes first.

memex iamtouchskyer memex stores an agent’s findings in linked Markdown cards and brings related context into later sessions. It suits workflows that span multiple tasks. CX Codex +1 ★ 144repo stars memex STiFLeR7 memex keeps an agent’s repository context aligned with code changes. It helps when edits, branches, or linked worktrees move in parallel. CX Codex +1 ★ 12repo stars REA morluto Analyzes binaries, Electron bundles, and JavaScript runtimes directly from your agent. It inspects compiled apps without source code to recreate specific features. CX Codex +1 ★ 392,262repo stars GitHub official github Wires your AI agent into GitHub: read code, open issues and pull requests, watch Actions runs. Saves a trip to the browser. CX Codex +1 ★ 33,989repo stars Netdata netdata Hands your AI agent live monitoring data: metrics, logs, alerts and anomaly detection. Useful when you need to know what a server is doing without opening the dashboard. CX Codex +1 ★ 81,163repo stars browser-use browser-use Give an agent browser tasks such as finding information, extracting page data, and filling forms. Connect it when those actions need to happen on the web. CX Codex +1 ★ 119,231repo stars Codebase Memory DeusData A local MCP server that maps your repo's code, docs and infrastructure into a graph. Gives the agent structural context without re-reading files. CX Codex +1 ★ 47,577repo stars mcp-server HeyPuter Connects your AI agent to Puter for files, websites and workers. Useful when the project already lives in Puter's cloud. CX Codex +1 ★ 43,902repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor