# Cortex MCP server

> Provides a local knowledge base and memory system for AI agents using hybrid search and MCP to index notes, documents, and code.

- Repository: https://github.com/lh123aa/cortex
- Page: https://hostedmcp.org/servers/lh123aa/cortex
- Transport: —
- Stars: 3
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CGO_ENABLED` | no | no |  |
| `CORTEX_VERSION` | no | no |  |

## Tools (14)

- `cortex_search`
- `cortex_context`
- `cortex_suggest`
- `cortex_memory_write`
- `cortex_memory_batch`
- `cortex_memory_search`
- `cortex_memory_delete`
- `cortex_memory_delete_batch`
- `cortex_code_search`
- `cortex_stats`
- `cortex_health`
- `cortex_map`
- `cortex_plan`
- `cortex_project_context`

## FAQ

### How do I install Cortex?

You can install it with a single command using a curl script for Linux/macOS or PowerShell for Windows, which downloads the pre-compiled binary.

### Does Cortex require Docker or a separate database?

No, it is a single binary that includes SQLite and a vector index, requiring no Docker or external database setup.
