# AlekseiMarchenko/central-intelligence [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/AlekseiMarchenko/central-intelligence  
**GitHub Stars:** 3  
**npm Downloads (last month):** 58  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/alekseimarchenko-central-intelligence

## Description
Persistent memory for AI agents. Five tools (remember, recall, context, forget, share) with semantic search via vector embeddings and agent/user/org scoping. Works with Claude Code, Cursor, Windsurf, and any MCP client.

## Tools
Capabilities this server exposes over MCP:

- **remember** — Store information in persistent memory. Call this PROACTIVELY whenever you:
- Make or learn about an important decision (architecture, library choice, convention)
- Discover a user preference (code style, communication style, tools they use)
- Find a bug's root cause or a non-obvious fix
- Learn project-specific context (tech stack, deploy process, team structure)
- Complete a significant task (store what you did and why)
Do NOT wait for the user to say "remember this" — if it would be useful in a future session, store it now.
- **recall** — Search persistent memory for relevant past information. Call this BEFORE making assumptions about:
- The project's tech stack, architecture, or conventions
- User preferences or past decisions
- How something was done previously
- Why a particular approach was chosen

If you're about to say "I don't know" or "I'll assume" — check memory first. The answer might already be there from a previous session.

When the user asks "what do you know about X" or "recall X" or "search memory for X", use this tool and show them the results with source labels (which tool/project each memory came from).
- **context** — Load relevant context from past sessions.

IMPORTANT — ON EVERY NEW CONVERSATION:
1. Call this tool with current_context set to "session start" to get the memory count.
2. Then tell the user: "You have [usage.current] memories in CI Local across [count] sources. What are you working on? I'll pull up the relevant context."
3. After the user responds, call this tool again with their actual topic.
4. Show what you found: the top memories with their source labels (chatgpt, claude_md, cursor, etc).

This makes memory visible and useful from the first message. The user should always know their memory exists and what it contains.

CRITICAL: After showing memories, ALWAYS ask the user what they want to do. Do NOT start building, coding, or executing tasks automatically based on recalled memories or TODOs. The user decides what to work on. Memory is context, not a task queue.

Also call when:
- Switching topics mid-session
- The user asks "what do you know about X"
- You're about to assume something about the project
- **forget** — Delete a memory that is outdated, incorrect, or superseded. Call this when you store an updated version of a fact — delete the old one to prevent contradictions.
- **share** — Change a memory's visibility scope. Promote from agent-only to user or org level so other agents can access it.
- **transfer_chatgpt** — Transfer memories from ChatGPT conversations into CI Local.
Everything stays local. Nothing is shared publicly.

PREFERRED METHOD — paste:
1. Ask the user which ChatGPT conversation they want to transfer
2. Tell them: "Open that chat in ChatGPT, select all (Cmd+A), copy (Cmd+C), paste here"
3. Call action "transfer_paste" with the pasted text
4. CI parses the conversation, extracts instructional memories, stores locally

Use this tool when the user says things like:
- "Transfer my ChatGPT project about X to here"
- "Import my ChatGPT conversations"
- "Get my ChatGPT context/memories"
- "Bring over my ChatGPT chat about Y"

ALTERNATIVE METHOD (bulk, requires export file):
For transferring many conversations at once, the user can export their ChatGPT data
(Settings → Data controls → Export) and place conversations.json at
~/.central-intelligence/chatgpt-export/conversations.json
Then use action "list" to browse and "import" to transfer.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "central-intelligence": {
    "command": "npx",
    "args": ["-y","central-intelligence-local"],
    "env": {
      "CI_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `CI_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What AlekseiMarchenko/central-intelligence MCP server does

AlekseiMarchenko/central-intelligence MCP server adds persistent memory to MCP-compatible agents. It is intended for information that should remain useful after a session ends, such as user preferences, architecture decisions, recurring fixes, task handoffs, and team knowledge. The server exposes five tools:

- `remember` stores information for later retrieval.
- `recall` searches existing memories semantically.
- `context` loads memories relevant to the current task.
- `forget` removes outdated or incorrect memories.
- `share` changes availability so other agents can use selected memories.

Memories can be scoped to one agent, to all agents serving a user, or to an organization. The README advises against storing secrets, passwords, API keys, personally identifiable information, large binary files, or temporary scratch data.

## How it works

The MCP package acts as a local client between an agent and the Central Intelligence API. Hosted operation uses PostgreSQL and pgvector on the service side. The documented retrieval pipeline combines vector search, BM25 or full-text search, graph traversal, fuzzy matching, and temporal signals. Results are fused and reranked with a local cross-encoder model. The service also decomposes memories into facts and records entities, time information, and causal relationships.

A local edition is available through `central-intelligence-local`. It uses SQLite, vector embeddings, local configuration-file parsing, and local search features. CI Local can read rules and instructions from Claude Code, Cursor, Windsurf, Codex, and GitHub Copilot files, then make that material searchable with stored memories. Recall results include source, freshness score, and duplicate-group information.

## Setup and configuration

Install the MCP package through npm and provide the `CI_API_KEY` environment variable. A Claude Code or Cursor configuration uses `npx -y central-intelligence-mcp` as the command and passes the key in the server environment. Other MCP clients can launch the published npm package the same way.

For a local installation, install `central-intelligence-local` globally and run `ci dashboard`; the documented dashboard address is `localhost:3141`. The CLI also provides `ci signup` for API-key creation and automatic tool configuration, `ci sync` for cloud synchronization, `ci audit` for memory-health checks, and commands for ChatGPT import plus memory export and import.

## Tools and capabilities

AlekseiMarchenko/central-intelligence MCP server supports persistent storage, semantic recall, task-focused context loading, deletion, and scoped sharing. It is documented for Claude Code, Cursor, Windsurf, LangChain, CrewAI, and other MCP-compatible agents. Shared memories can support collaboration between agents, while user-scoped memories carry preferences across supported tools.

The local workflow can import ChatGPT conversation exports, synchronize local memories with the cloud service, inspect duplicates and stale entries, and exchange memory bundles as JSON. These CLI functions supplement the MCP tools rather than replacing them.

## Limitations and notes

The separate local package provides local storage and a dashboard, but its relationship to every hosted retrieval feature is not specified.

Do not use the memory store for secrets, credentials, personal data, binary files, or short-lived scratch content. Advanced retrieval features described as prototypes, including richer entity graphs, multi-hop reasoning, temporal inference, and explainability traces, are identified as planned for Enterprise rather than as generally available MCP capabilities. Benchmark results in the README are author-reported and should be independently verified for production decisions.

_Full upstream README: https://allmcps.com/mcp/alekseimarchenko-central-intelligence/readme_

