# ContextDB Customer Memory

> ContextDB Customer Memory is a freemium MCP server for knowledge and memory. Persistent customer memory and pre-action checks for AI clients over MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $20 a month
- **Platforms:** API, CLI, Web, Self-hosted, VS Code
- **Website:** https://contextdb.ai/mcp
- **Repository:** https://github.com/atomsai/contextdb-mcp-plugin
- **MCP Registry name:** ai.contextdb/memory
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory), [agent memory](https://ai-powered.com/categories/agent-memory)
- **Listing updated:** 2026-11-28

## About

Gives an AI assistant a memory that survives between chats. It stores facts with a recorded source, such as what the user said directly versus what the agent inferred or a third party reported, and retrieves them later with keyword and semantic search. Working notes and named pinned blocks keep the current task in view while a conversation is in progress.

Before a consequential step, the connected client can ask for slot-scoped evidence and receive an act, ask or abstain outcome. Tentative statements can be held back until a person confirms them. The service advises on the decision, but the host application remains responsible for running the action and applying its own authorization checks.

The hosted endpoint uses OAuth 2.1 so each grant is bound to one account, project and memory partition, and it can be revoked from settings. It is aimed at teams building voice agents, support tools and coding assistants that need continuity across sessions. The service is in hosted alpha without an availability SLA.

## Features

- **Assembled turn-start context:** One call returns pinned blocks, session notes, durable facts and pending confirmations within a token budget.
- **Sourced fact memory:** Each stored fact records whether the user stated it, the agent inferred it, or a third party reported it.
- **Hybrid recall:** Keyword and semantic search with optional point-in-time filters for grounding responses.
- **Slot-scoped action checks:** Returns act, ask or abstain based on evidence stored under a specific entity and attribute.
- **Confirmation workflow:** Lists memories awaiting confirmation and records confirmation against a single memory.
- **OAuth client connection:** Clients discover OAuth metadata and receive revocable, partition-scoped tokens without a shared project key.

## Good for

- Carry a caller's confirmed preferences across voice-agent calls
- Ground support replies in sourced customer history
- Persist project decisions across coding-agent sessions and context compactions
- Block unverified third-party instructions from triggering account changes

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http memory https://api.contextdb.ai/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

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

```text
https://api.contextdb.ai/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.contextdb.ai/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add memory --url https://api.contextdb.ai/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.memory]
url = "https://api.contextdb.ai/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "memory": {
      "httpUrl": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http memory https://api.contextdb.ai/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "memory": {
      "serverUrl": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "memory": {
      "type": "streamableHttp",
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "memory": {
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.contextdb.ai/mcp
```

Enter a Name (for example "ContextDB Customer Memory"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

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

```json
{
  "mcpServers": {
    "memory": {
      "type": "http",
      "url": "https://api.contextdb.ai/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 9 tools reads data; 8 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_context` (name suggests: reads): Assemble pinned blocks, session notes, durable facts and pending confirmations in one token-budgeted block.
- `session_note`: Push rolling session notes, update named pinned blocks, or clear a session scratchpad.
- `remember`: Store one sourced memory in the caller's user partition.
- `evolve`: Apply an explicit add, update, delete or noop factual-memory operation with lineage.
- `recall`: Retrieve context for grounding a response, not for action authorization.
- `recall_for_action`: Return trusted action evidence in the named slot plus act, ask or abstain.
- `pending_confirmations`: List active memories awaiting scoped confirmation.
- `confirm`: Record authenticated project-credential context against one scoped memory.
- `forget`: Delete one memory or clear one slot.

## FAQ

### Does the MCP connector store my project API key on my laptop?

No. Marketplace and IDE clients receive revocable OAuth 2.1 tokens scoped to one project and partition, and project keys remain server-side.

### Can an MCP client read another user's memory?

No. Each OAuth grant fixes the organization, project and server-derived partition, and caller-supplied user_id values are rejected.

### Does an act result execute a business action?

No. An act result means trusted memory exists in the queried slot; the host application still authenticates, authorizes and runs the action.

### What if my project requires local-only storage?

The open-source pycontextdb Python package, licensed under Apache-2.0, can run locally on SQLite without contacting the cloud service.

### Is ContextDB Customer Memory free?

ContextDB Customer Memory has a free plan, with paid plans for more usage or features. Paid plans start at $20 a month.

### How do I add ContextDB Customer Memory to Claude Code?

Run this command in your terminal: claude mcp add --transport http memory https://api.contextdb.ai/mcp

### What are the best alternatives to ContextDB Customer Memory?

The closest alternatives to ContextDB Customer Memory are Memory, WorkingMemory, Synap Memory, Brainiall Memory and TMCRA Agent Memory.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Memory](https://ai-powered.com/mcp/memory-4): Memory is a freemium MCP server for knowledge and memory.
- [WorkingMemory](https://ai-powered.com/mcp/workingmemory): WorkingMemory is a paid MCP server for knowledge and memory.
- [Synap Memory](https://ai-powered.com/mcp/synap-memory): Synap Memory is a freemium MCP server for knowledge and memory.
- [Brainiall Memory](https://ai-powered.com/mcp/brainiall-memory): Brainiall Memory is a freemium MCP server for knowledge and memory.
- [TMCRA Agent Memory](https://ai-powered.com/mcp/tmcra-agent-memory): TMCRA Agent Memory is a freemium MCP server for knowledge and memory.
- [Recalld](https://ai-powered.com/mcp/recalld): Recalld is a freemium MCP server for knowledge and memory.
- [Gnosis Memory](https://ai-powered.com/mcp/gnosis-memory): Gnosis Memory is a freemium MCP server for knowledge and memory.
- [Configure Memory](https://ai-powered.com/mcp/configure-memory): Configure Memory is an MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/contextdb-customer-memory-2
