Cortex
Integrates with Obsidian vaults to provide semantic search, entity extraction, and knowledge graph capabilities for AI coding assistants.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cortexremind me about the forgetting curve design"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ง Cortex โ Proactive Memory Agent for AI Coding Assistants
Obsidian-backed knowledge graph with semantic search, entity extraction, and cross-session memory. 11 MCP tools. Works with Claude Code, Cursor, Windsurf, and any MCP-compatible editor.
What It Does
You: "How does the memory system handle forgetting?"
Cortex: ๐ก This reminds me of your previous work on:
1. decisions/memory-architecture-choice โ Ebbinghaus decay with 14-day half-life
2. daily/2026-06-19 โ You designed the three-tier memory architecture
3. moc/system-architecture โ Full system diagramSemantic search โ Find concepts across languages (EN query โ CN content)
Knowledge graph โ 928 entities, 106K relationships, auto-extracted from your notes
Proactive context โ
memory_monitorwatches conversation topics, surfaces relevant memoriesGap analysis โ Compare your learning goals against actual knowledge coverage
Cross-session โ Every session loads your memory index + recent daily logs automatically
Related MCP server: memorix
Architecture
MCP Client (Claude Code / Cursor / Windsurf)
โ stdio JSON-RPC
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Cortex MCP Server (TypeScript) โ
โ 11 tools + 1 resource โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ SQLite (sql.js) โ โ โ Knowledge graph (8 tables)
โ โ LanceDB โ โ โ Vector embeddings (384-dim)
โ โ ONNX (all-MiniLM-L6-v2) โ โ โ Local, zero API cost
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโ
โ reads & indexes
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Obsidian Vault (source of truth)โ
โ daily/ decisions/ moc/ โ
โ ๅญฆไน ่ฎกๅ/ ... โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโQuick Start
# 1. Install
cd Cortex/mcp-server
npm install --ignore-scripts
npx tsc
# 2. Configure (Claude Code)
# Copy the MCP config to your global Claude Code settings:
# ~/.claude/.mcp.json
# 3. Use
# Start a Claude Code session. The MCP server starts automatically.
# Say: "memory_ingest" to index your vault
# Say: "search for architecture decisions" to find memoriesMCP Tools
Tool | Description |
| Hybrid keyword + vector semantic search |
| Scan vault, extract entities, build index |
| System health report |
| Extract typed entities from text |
| Query the knowledge graph (multi-hop) |
| Suggest |
| Process conversation, return proactive context |
| Detect contradictions with existing memories |
| Analyze knowledge gaps vs learning goals |
| Apply decay, find archive candidates |
| Generate daily note (portable Stop hook) |
Editor Support
Editor | Setup |
Claude Code |
|
Cursor | Copy |
Windsurf | Copy |
Cline / VS Code | Copy |
Project Structure
Cortex/
โโโ mcp-server/ โ TypeScript MCP server (32 source files)
โ โโโ src/
โ โ โโโ tools/ โ 11 MCP tools
โ โ โโโ graph/ โ Knowledge graph + decay + gap detection
โ โ โโโ ingest/ โ Vault scanner, chunker, entity extractor
โ โ โโโ embeddings/ โ ONNX pipeline (all-MiniLM-L6-v2)
โ โ โโโ db/ โ SQLite + LanceDB
โ โ โโโ resources/ โ MCP resource endpoints
โ โโโ editors/ โ Config templates for other editors
โ โโโ tests/
โโโ src/
โ โโโ hooks/ โ Bash hooks (SessionStart, Stop, etc.)
โ โโโ lib/ โ Bash utilities
โ โโโ templates/ โ Vault file templates
โโโ skills/ โ Claude Code skills
โโโ commands/ โ Slash commands
โโโ docs/ โ Architecture docs
โโโ tests/ โ Hook testsLicense
MIT โ see LICENSE
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceTurns your Obsidian vault into an MCP-enabled workspace with tools for reading/writing notes, managing folders, running semantic searches, and maintaining long-term memoryโall while keeping data local to your vault.Last updated192,890149MIT
- AlicenseAqualityAmaintenanceCross-agent memory bridge for AI coding assistants. Persistent knowledge graph shared across 10 IDEs (Cursor, Windsurf, Claude Code, Codex, Copilot, Kiro, Antigravity, OpenCode, Trae, Gemini CLI) via MCP. 22 tools including team collaboration, auto-cleanup, mini-skills, session management, and workspace sync. 100% local, zero API keys required.Last updated171,639593Apache 2.0
- AlicenseAqualityBmaintenancePersistent cloud memory for AI coding assistants. 28 MCP tools for semantic search, auto-learning, task tracking, correction patterns, knowledge graphs, and session replay across Claude Code, Cursor, Windsurf, Cline, and any MCP client. Encrypted at rest. Team shared memory with author attribution.Last updated351997MIT
- Alicense-qualityAmaintenanceSyncs Obsidian notes into a temporal knowledge graph and exposes 23 MCP tools for AI assistants to read, search, and write to your vault, enabling persistent memory across conversations.Last updated60MIT
Related MCP Connectors
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Secure, user-owned long-term memory for AI agents over OAuth-protected remote MCP. Save, search, recall, update, and govern preferences, project context, decisions, and task state across ChatGPT, Claude, Copilot, IDEs, and CLIs.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/liveevilkin/Cortex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server