
claudex
by kunwar-shah·★ 88·综合分 47
Claudex 是一个 MCP 服务器,为 Claude Code 对话历史提供持久内存和 FTS5 搜索功能,配有 Web 界面。
概述
Claudex 是一个全栈 Web 应用,专为开发者、QA 工程师和研究人员设计,用于检查、搜索和分析 Claude Code 对话历史。它作为一个 MCP 服务器,提供 10 个工具,让 Claude Code 能够跨会话保持持久记忆,存储编码知识、架构决策和错误模式等。该应用包含企业级的 SQLite FTS5 全文搜索功能,支持所有 Claude Code 版本的通用模板,并提供全面的分析仪表板。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要分析搜索 Claude Code 对话历史,同时希望为 Claude Code 提供跨会话的持久化内存时,选择 Claudex。
什么时候不要选它
如果您使用的是不与 Claude Code 集成的其他 AI 助手,或者您需要一个不需要 MCP 集成的对话分析解决方案,请不要选择 Claudex。
此 server 暴露的工具
从 README 抽取出 10 个工具search_messagessearch_messages(query, limit, project, session, role, before, after)Search through conversation messages using FTS5 full-text search
get_sessionget_session(project, session)Retrieve a complete conversation session by project and session ID
list_projectslist_projects()List all available Claude Code projects
list_sessionslist_sessions(project, limit)List conversation sessions for a specific project
store_memorystore_memory(key, content, priority, confidence, ttl)Store structured coding knowledge with priority, confidence and expiration
retrieve_memoryretrieve_memory(query, limit)Retrieve stored structured coding knowledge
update_memoryupdate_memory(key, content, priority, confidence, ttl)Update existing structured memory entry
delete_memorydelete_memory(key)Remove a structured memory entry
get_contextget_context(project, session, detail_level)Get project context with configurable detail level
build_search_indexbuild_search_index()Rebuild the FTS5 search index for all conversations
可对比工具
安装
安装
选项 1:npm(推荐)
# 全局安装
npm install -g @kunwarshah/claudex
# 然后运行:
claudex将 MCP 服务器添加到 Claude Code
claude mcp add --transport stdio claudex -- claudex-mcp选项 2:从源码安装
git clone https://github.com/kunwar-shah/claudex.git
cd claudex
npm run check:fix
npm run dev在浏览器中打开 http://localhost:3000。
FAQ
- Claudex 扫描哪些文件位置?
- 默认情况下,Claudex 自动扫描 ~/.claude/projects 目录,但您可以使用 --project-root 标志配置自定义路径。
- 支持哪些 Claude Code 版本?
- Claudex 支持所有 Claude Code 版本(V1.x、V2-mixed、V2.0+)的通用模板检测和解析。
claudex 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。