
Cortex
Local-first memory and document search for Claude Code and Cursor, backed by a local SQLite index.
- GitHub stars
- 3
- tools
- 14
- transport
- STDIO
- last updated
- Nov 21, 2026
What it does
- Searches the knowledge base with
cortex_search,cortex_context, andcortex_code_search, which matches functions and classes by exact name - Reads and writes agent memory through
cortex_memory_write,cortex_memory_batch, andcortex_memory_search; deletion is limited tocortex_memory_deleteandcortex_memory_delete_batch - Runs locally as a single binary with no cloud or Docker, and the Pro license is verified offline via Ed25519 signatures
- Designed for developers who want notes, docs, and code searchable from their AI coding assistant without sending data off the machine
Tools
14 toolsPublic tool metadata for what this MCP can expose to an agent.
cortex_search混合检索知识库,返回带路径与标题的结果
混合检索知识库,返回带路径与标题的结果
No parameter schema in public metadata yet.
cortex_context构建 RAG 上下文(适合直接塞进 prompt)
构建 RAG 上下文(适合直接塞进 prompt)
No parameter schema in public metadata yet.
cortex_suggest查询补全建议
查询补全建议
No parameter schema in public metadata yet.
cortex_memory_write写入一条记忆
写入一条记忆
No parameter schema in public metadata yet.
cortex_memory_batch批量写入记忆
批量写入记忆
No parameter schema in public metadata yet.
cortex_memory_search检索记忆
检索记忆
No parameter schema in public metadata yet.
cortex_memory_delete删除指定记忆
删除指定记忆
No parameter schema in public metadata yet.
cortex_memory_delete_batch批量删除记忆
批量删除记忆
No parameter schema in public metadata yet.
cortex_code_search按函数/类名精确检索代码符号(Go 用官方 AST)
按函数/类名精确检索代码符号(Go 用官方 AST)
No parameter schema in public metadata yet.
cortex_stats知识库统计
知识库统计
No parameter schema in public metadata yet.
cortex_health健康检查
健康检查
No parameter schema in public metadata yet.
cortex_map知识库主题地图
知识库主题地图
No parameter schema in public metadata yet.
cortex_plan基于知识库内容生成执行计划
基于知识库内容生成执行计划
No parameter schema in public metadata yet.
cortex_project_context项目级上下文聚合
项目级上下文聚合
No parameter schema in public metadata yet.
Readme
Cortex Logo
Cortex
让 Claude Code / Cursor 记住你的所有笔记、文档和代码。
单文件安装,不用 Docker,不用数据库,5 分钟接上。
Details
- Repository
- github.com/lh123aa/cortex
- Website
- cortex.qataroasis.cc
- Categories
- Memory & Context, Docs & Knowledge Bases, Developer Tools
- Package
https://github.com/lh123aa/cortex/releases/download/v4.0.2/cortex-local-memory-4.0.2.mcpb- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Cortex
More Memory & Context
Compartmentmaxfreedompollard472 starsEncrypted offline agent memory store: vector and keyword recall, no network or API key required.
M3 Memoryskynetcmd31 starsPersistent, local memory for AI assistants, with keyword and semantic search across sessions and clients.
Ori Memoryaayoawoyemi337 starsPersistent agent memory over a local markdown vault: identity, knowledge graph, and search.
Utekecodecoradev291 starsLong-term memory for AI agents: hybrid vector and keyword recall, stored locally or via cloud.
Memorixavids2942 starsLocal-first project memory with search, git-derived facts, and a bounded task context tool.
Cludesebbsssss23 starsPortable agent memory with hybrid recall, decay, and export, stored locally or hosted.