New advertisers: 50% off your first month with code FIRSTMONTHSee slots
lh123aa avatar

Cortex

lh123aa/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
View on GitHub

What it does

  • Searches the knowledge base with cortex_search, cortex_context, and cortex_code_search, which matches functions and classes by exact name
  • Reads and writes agent memory through cortex_memory_write, cortex_memory_batch, and cortex_memory_search; deletion is limited to cortex_memory_delete and cortex_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 tools

Public 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 分钟接上。


View the full README on GitHub

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