Claudex is a web application and MCP server for browsing, searching, and analyzing Claude Code conversation histories stored under `~/.claude/projects` or a custom project root. It also provides persistent memory for Claude Code across sessions through 10 MCP tools and 3 prompts.
From the registry: Persistent memory + FTS5 search MCP server for Claude Code conversation history.

$ npm install -g @kunwarshah/claudexhttps://www.npmjs.com/package/@kunwarshah/claudexPlease install the `claudex` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js 18+ and npm** — Node.js 18 or newer and npm are required to run Claudex and its MCP server.
- **Install Claude Code and ensure conversation history exists** — Claudex reads Claude Code conversation history from the Claude projects directory. The README states Claude Code should be installed with conversation history in ~/.claude/projects.
- **Install Claudex package** — Install the Claudex npm package globally so the claudex-mcp executable is available on your system. The README also mentions npx for the web app, but the MCP setup command uses the installed claudex-mcp binary directly. Run: `npm install -g @kunwarshah/claudex` (https://www.npmjs.com/package/@kunwarshah/claudex)
Canonical MCP server config (stdio transport):
- command: `claudex-mcp`
- args: []
- optional environment variables:
- `PROJECT_ROOT`: Path to the Claude Code projects directory to scan. Defaults to ~/.claude/projects. (example: `<path-to-your-claude-projects>`)
- `PORT`: Server port used by Claudex. Documented in the README, but not clearly required for the stdio MCP server itself. (example: `<port>`)
Note: README's one-command MCP setup is: claude mcp add --transport stdio claudex -- claudex-mcp. The MCP server uses stdio transport. The README does not show any MCP-specific arguments. PROJECT_ROOT is the main documented environment variable relevant to locating Claude Code data.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.PROJECT_ROOTrequiredPath to the Claude Code projects directory to scanPORTrequiredServer port for the web app and APIMCP server for searching Airweave collections with natural language queries.