# Membase

> Membase is an MCP server for knowledge and memory. Long-term memory that every AI you use can read: add facts, search and read your profile. It runs as a hosted remote server, so there is nothing to install locally.

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

## About

Membase's pitch is one memory behind every model. You add facts, documents, web pages and chat exports from Claude or ChatGPT, keep projects apart, and search or question what is stored. Claude Code, Cursor, Codex and ChatGPT then read the same store through the SDK or MCP, so switching tools does not mean starting over. The hosted MCP endpoint is at api.app.membase.com.

The repository holds Python and TypeScript clients, a membase command line and the MCP server. Memory can live in your Membase account or locally under ~/.membase, where it needs an OpenAI key. The README reports 93.1% on LoCoMo, 92.6% on LongMemEval_S and 92.2% on DMR using fewer tokens than full history; those are the vendor's own figures.

A removal without confirmation raises an error, and a key may be limited to specific memories.

## Features

- **Cross-AI memory:** One store read by Claude Code, Cursor, Codex and ChatGPT.
- **Add anything:** Facts, documents, web pages and chat exports.
- **Profile facts:** Stores who the user is.
- **Local mode:** Run memory on your machine.
- **SDKs and CLI:** Python, TypeScript and a membase command.
- **Scoped keys:** A key reaches only the memories it is granted.

## Good for

- Keep project decisions across different AI tools
- Import a Claude or ChatGPT export into one memory
- Give coding agents shared context
- Ask questions of stored notes

## 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. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

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

### How do I install the SDK?

pip install unibaseio-membase for hosted use, or npm install @unibaseio/membase for TypeScript.

### Can Membase run locally?

Yes, with the [local] extra on Python 3.12 or 3.13, which needs an OpenAI key.

### Are the accuracy figures independent?

They are the README's own: 93.1% on LoCoMo, 92.6% on LongMemEval_S and 92.2% on DMR.

### 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 Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.

## Where this comes from

- Description: written from the project's README and the project's website.
- Status: checked automatically by AIPoweredBot on 24 November 2026.
- Install steps: from the official MCP Registry entry.

## 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.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Source Library](https://ai-powered.com/mcp/source-library): Source Library is an open-source MCP server for knowledge and memory.
- [NeuroDock Cognitive Graph](https://ai-powered.com/mcp/neurodock-cognitive-graph): NeuroDock Cognitive Graph is an open-source MCP server for knowledge and memory.
- [Second Brain](https://ai-powered.com/mcp/second-brain-2): Second Brain is a freemium MCP server for knowledge and memory.

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