# Membase

> Membase is an MCP server for knowledge and memory. Shared long-term memory that multiple AI assistants can read and write to. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** Web, API, CLI, Self-hosted, Chrome extension
- **Website:** https://app.membase.com
- **Repository:** https://github.com/membaseai/membase
- **MCP Registry name:** ai.membase/membase
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-27

## About

Membase keeps a single memory store for facts, documents, web pages and chat exports, so that the assistants you use can draw on the same context instead of starting from zero each time you switch models or tools. Information can be added by hand, imported from Claude or ChatGPT chat exports, or pulled in through the browser extension and web app.

Developers reach the memory through Python and TypeScript clients, a command line tool, or an MCP server that hosted clients such as Claude Code, Cursor and Codex can connect to. Memories are kept separate by project, and searches, questions and deletions are available through the same interfaces. A local mode stores the memory on the user's machine instead of in the hosted account.

It suits people who work with several AI tools and want their preferences and project history carried across them, as well as developers building agents that need persistent recall.

## Features

- **Cross-assistant memory:** One memory store that Claude Code, Cursor, Codex and ChatGPT can all read through MCP or the SDK.
- **Chat history import:** Brings in Claude and ChatGPT chat exports, markdown and JSON files as memory.
- **Project separation:** Keeps memories for different projects apart and lets searches target them.
- **Search and questions:** Searches stored memories and answers natural-language questions against them.
- **Local or hosted storage:** Runs against the hosted account or a local store on the user's own machine.
- **Python, TypeScript and CLI:** Developer clients and a membase command for adding, searching and managing memory.

## Good for

- Carry your preferences and project context between different AI assistants
- Give a coding agent recall of past decisions and traces
- Import an existing ChatGPT or Claude history into a searchable memory
- Keep a private, local memory store for personal notes and documents

## Install

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

```sh
claude mcp add --transport http membase https://api.app.membase.com/mcp-http
```

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": {
    "membase": {
      "type": "http",
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

```text
https://api.app.membase.com/mcp-http
```

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": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "membase": {
      "type": "http",
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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.app.membase.com/mcp-http
```

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 membase --url https://api.app.membase.com/mcp-http
```

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

```toml
[mcp_servers.membase]
url = "https://api.app.membase.com/mcp-http"
```

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

```json
{
  "mcpServers": {
    "membase": {
      "httpUrl": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http membase https://api.app.membase.com/mcp-http

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

```json
{
  "mcpServers": {
    "membase": {
      "serverUrl": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http",
      "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": {
    "membase": {
      "type": "streamableHttp",
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "membase": {
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

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.app.membase.com/mcp-http
```

Enter a Name (for example "Membase"), 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": {
    "membase": {
      "type": "http",
      "url": "https://api.app.membase.com/mcp-http"
    }
  }
}
```

## FAQ

### Is there a license for the code?

The repository is released under the MIT license, though the optional local engine package uses its own proprietary license.

### Which AI tools can connect to Membase?

Claude Code, Cursor, Codex and ChatGPT are named as clients that read the same memory, and Gemini CLI and Cline have setup instructions.

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

Run this command in your terminal: claude mcp add --transport http membase https://api.app.membase.com/mcp-http

### What are the best alternatives to Membase?

The closest alternatives to Membase are Memwyre, UltraMemory, Memstack, MemorySync and Multitude.

## 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

- [Memwyre](https://ai-powered.com/mcp/memwyre): Memwyre is an open-source MCP server for knowledge and memory.
- [UltraMemory](https://ai-powered.com/mcp/ultramemory): UltraMemory is a freemium MCP server for ai models and llm tooling.
- [Memstack](https://ai-powered.com/mcp/memstack): Memstack is an open-source MCP server for knowledge and memory.
- [MemorySync](https://ai-powered.com/mcp/memorysync): MemorySync is a freemium MCP server for knowledge and memory.
- [Multitude](https://ai-powered.com/mcp/multitude): Multitude is a freemium MCP server for knowledge and memory.
- [Memoro](https://ai-powered.com/mcp/memoro): Memoro is a freemium MCP server for knowledge and memory.
- [Memware — Cross-Agent Long-Term Memory](https://ai-powered.com/mcp/memware-cross-agent-long-term-memory): Memware — Cross-Agent Long-Term Memory is a freemium MCP server for knowledge and memory.
- [Agentage Memory](https://ai-powered.com/mcp/agentage-memory): Agentage Memory is an MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/membase-2
