# CogniCore

> CogniCore is an open-source MCP server for knowledge and memory. Shared memory for Claude, ChatGPT and coding agents so new chats start informed. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Web, self-hosted
- **Website:** https://www.cognicoree.tech
- **Repository:** https://github.com/cognicore-dev/cognicore-env
- **MCP Registry name:** io.github.cognicore-dev/cognicore-env
- **Categories:** knowledge and memory, AI models and LLM tooling
- **Listing updated:** 2026-11-15

## About

Every new chat starts blank, so decisions and context get re-explained. CogniCore saves a short brief of the goal, where things stand, open tasks, decisions with their reasons and exact values like ticket IDs, versions and paths, then loads it at the next start. In Claude Code and Codex hooks do this automatically when a session ends; other MCP clients can call cognicore_save_session and cognicore_resume_session.

Memory is local by default, kept in SQLite under ~/.cognicore/mcp, and secrets are redacted before saving. The README says it never reads tool output, file contents or the model's reasoning. Running cognicore login syncs only the redacted handoff to a hosted account so claude.ai, Claude Desktop, mobile and ChatGPT can share it. The README includes a benchmark against claude-mem, reporting about 450 tokens for the injected brief and no model calls to save a session.

Underneath is a Python library for agent memory, reflection and safety that needs no vector database or embedding server. The site says the code is open source and that data is not sold or used for training.

## Features

- **Cross-agent handoff:** Work saved in Claude Code resumes in Codex and the other way round.
- **Automatic save:** Hooks save a session when it ends, with no model calls.
- **Compact brief:** Injects about 450 tokens covering goal, status, tasks and decisions.
- **Local by default:** Stores memory in SQLite on your machine and redacts secrets.
- **Optional hosted sync:** Shares the redacted handoff with claude.ai, Desktop, mobile and ChatGPT.
- **Inspectable:** A read-only viewer lists every saved session.

## Good for

- Continue a Claude Code task in Codex without re-explaining
- Keep preferences and decisions across Claude and ChatGPT chats
- Resume a project the next morning from a short brief
- Add persistent memory to a custom Python agent

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http cognicore-env https://mcp.cognicoree.tech/mcp/stream
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.cognicoree.tech/mcp/stream
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "cognicore-env": {
      "url": "https://mcp.cognicoree.tech/mcp/stream"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "cognicore-env": {
      "type": "http",
      "url": "https://mcp.cognicoree.tech/mcp/stream"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cognicore-env": {
      "serverUrl": "https://mcp.cognicoree.tech/mcp/stream"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "cognicore-env": {
      "type": "http",
      "url": "https://mcp.cognicoree.tech/mcp/stream"
    }
  }
}
```

## Tools

- `cognicore_save_session`: Saves a session handoff for later resumption.
- `cognicore_resume_session`: Loads the latest saved handoff for a project.

## FAQ

### How do I install it?

Run pipx install "cognicore-env[mcp]" then cognicore install, and cognicore login for hosted sync.

### Where is memory stored?

Locally in ~/.cognicore/mcp unless you turn on sync.

### Is it free?

The site describes it as free and open source.

### Does it need a vector database?

No, the library needs none.

### What does it send when syncing?

Only the redacted handoff, never the transcript.

### Is CogniCore free?

Yes. CogniCore is open source, so you can use and self-host it for free.

### How do I add CogniCore to Claude Code?

Run this command in your terminal: claude mcp add --transport http cognicore-env https://mcp.cognicoree.tech/mcp/stream

### What are the best alternatives to CogniCore?

The closest alternatives to CogniCore are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and note1.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [MedXpert 图书馆连接器（通用版）](https://ai-powered.com/mcp/medxpert): MedXpert 图书馆连接器（通用版） is an open-source MCP server for knowledge and memory.
- [Context Nest](https://ai-powered.com/mcp/context-nest): Context Nest is a freemium MCP server for knowledge and memory.
- [Tulsa Ecosystem Map](https://ai-powered.com/mcp/tulsa-ecosystem-map): Tulsa Ecosystem Map is a free MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/cognicore
