ai-cortex
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., "@ai-cortexfind my notes about 'MCP setup' and list open tasks"
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.
๐ง AI-Cortex
A self-hosted, persistent long-term memory cortex for Claude, Gemini, and other LLMs. Combines the best of Notion (structured properties, databases, Kanban boards) and Obsidian (speed, privacy, local ownership, markdown, bidirectional backlinks), backed by MySQL 8.4 and local hybrid file storage.
Designed to connect natively to Claude Desktop (Claude Pro) and Gemini via the Model Context Protocol (MCP) with zero API keys.
โจ Features
โก Sub-Millisecond MySQL 8.4 Relational Engine: Pre-indexed slugs, B-Tree foreign keys with cascading updates, and
FULLTEXTsearch index.๐ Hybrid Attachment Storage: Deduplicated binary storage on disk (storage/attachments/) using SHA-256 hashes, with metadata and relations in MySQL.
๐ค Native MCP Server for Claude & Gemini:
Connects to Claude Desktop using your monthly Claude Pro subscription without paying for API tokens.
Connects to Gemini / Antigravity with zero setup friction.
In-app 1-Click Auto-Installer for
claude_desktop_config.json.
๐ Bidirectional Backlinks & Wikilinks:
Type
[[in any note to trigger instant autocompletion of existing notes."Linked Mentions" panel at the bottom of every note displaying all notes that reference it.
๐ Notion-Style Database Views:
Kanban Board: Drag or transition notes across workflow statuses.
Database Grid: Sortable, filterable table view with editable statuses.
Global Action Items: Automatically extracts and aggregates
- [ ]tasks from every note into a consolidated checklist.
๐ Daily Journaling: Jump to or create today's daily note with one keystroke (
Alt + D).๐จ Adaptive Theming: 3-way Dark / Light / System ambiance (follows the OS and reacts live to changes), 15 curated accent palettes plus a custom-colour picker. Preferences persist in
localStorage; the theme is applied before first paint to avoid any flash. Toggle modes withAlt + Tor from Settings โ Appearance.๐ฆ Obsidian Vault 1-Click Export & Import: Export all notes and attachments as a standard
.zipvault, or import existing Markdown vaults.๐งช Complete Test Suite: 11 automated unit and integration tests passing in ~300ms (
npm test).
Related MCP server: Engram
๐ Quick Start
1. Requirements
Node.js v20+ (v22 recommended)
MySQL 8.4+ (MariaDB 10.6+ also works)
2. Environment Setup
Copy .env.example to .env and configure with your MySQL or MariaDB credentials:
cp .env.example .envPORT=3001
HOST=127.0.0.1
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=ai_cortex
DB_USER=your_db_user
DB_PASS=your_db_password3. Run Migrations & Seed Demo Data
npm run migrate
npm run seed4. Run Automated Tests
npm test5. Start AI-Cortex
Development (backend + Vite dev client with hot reload):
npm run devOpen http://127.0.0.1:5173 โ the client proxies /api to the backend on port 3001.
Production (single server serving the built UI + API):
npm run build # bundles the client into ./dist
npm startOpen http://127.0.0.1:3001. The API binds to HOST (default 127.0.0.1); set HOST / ALLOWED_HOSTS to expose it on a LAN.
๐ค Connecting Claude Desktop (Zero API Keys)
Open AI-Cortex in your browser.
Click Settings in the bottom-left sidebar, then open the AI Integrations tab.
Click the "1-Click Auto Install" button (or copy the pre-filled JSON snippet into your
claude_desktop_config.json). A "1-Click Enable for Gemini" button does the same for.agents/mcp_config.jsonin this workspace.Restart Claude Desktop. You will now see the memory tools (
ai_cortex_search,ai_cortex_read_note,ai_cortex_create_note,ai_cortex_update_note,ai_cortex_get_backlinks,ai_cortex_list_recent,ai_cortex_list_tasks) available directly in Claude using your existing Claude Pro subscription!
โจ๏ธ Keyboard Shortcuts
Shortcut | Action |
| Open instant full-text search palette |
| Jump to today's Daily Journal note |
| Create a new note |
| Copy AI Context Bundle for Claude.ai / Gemini web tabs |
| Cycle theme: Dark โ Light โ System |
| Open wikilink auto-complete popup while writing |
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
- -licenseNot gradedqualityNot gradedmaintenanceProvides persistent local memory functionality for AI assistants, enabling them to store, retrieve, and search contextual information across conversations with SQLite-based full-text search. All data stays private on your machine while dramatically improving context retention and personalized assistance.3
- AlicenseNot gradedqualityDmaintenanceA persistent memory server for AI agents that stores structured notes in a local SQLite database with full-text search and graph-based relationships. It features 32 specialized tools for managing long-term context, including version history, automated TTL expiration, and complex filtering.26MIT
- AlicenseAqualityCmaintenanceEnables AI assistants to search, read, and traverse Markdown note vaults (Obsidian-compatible) with full-text search, backlinks, knowledge graphs, and a persistent memory system for cross-session context.1692MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to search, read, create, update, and remove personal markdown notes stored locally, providing persistent memory across sessions.922MIT
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Cross-session, cross-device memory for your agent: remember and recall notes. No key to start.
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/neojakey/ai-cortex'
If you have feedback or need assistance with the MCP directory API, please join our Discord server