# brainattic

> brainattic is an MCP server for knowledge and memory. Shared, versioned team knowledge base that AI agents read and write over MCP. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Platforms:** API
- **Repository:** https://github.com/rutash/brainattic-mcp
- **MCP Registry name:** ai.brainattic/knowledge-base
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

brainattic aims at a problem of knowledge scattered across private chats: one set of Markdown documents that people and their agents use together, whichever AI client each person prefers. Sales can work in ChatGPT, analysts in Claude and developers in VS Code, all against the same versioned content.

The tools cover hybrid keyword and semantic search with cited passages, document creation and batch edit sessions, revision history with restore, and attachments. Workspaces also hold human-written rules for how agents should work, reusable skills with supporting files, projects and groups, and reminders. The README stresses that rules guide behaviour while permissions enforce access.

It is a hosted service run by Finite Software Systems Ltd from infrastructure in Sofia, Bulgaria. Sign-in is OAuth 2.1 with no API key, and on-premises deployment is offered by arrangement. This repository documents the server only.

## Features

- **Hybrid search:** Keyword and semantic search with passage retrieval and citations.
- **Versioned documents:** Every saved change is a revision that can be read or restored.
- **Rules:** Human-written instructions agents read before writing.
- **Skills:** Reusable agent procedures stored with supporting files.
- **Permissions:** Each person's agent only reaches what that person can.
- **EU hosting:** Data is processed on the operator's infrastructure in Bulgaria.

## Good for

- Keep decisions and procedures in one place for several AI clients
- Let a new teammate catch up in one conversation
- Recover an earlier version of a document
- Give agents team conventions before they edit
- Set recurring reminders for a workspace

## Install

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

```sh
claude mcp add --transport http knowledge-base https://app.brainattic.ai/api/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": {
    "knowledge-base": {
      "type": "http",
      "url": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

```text
https://app.brainattic.ai/api/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": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "type": "http",
      "url": "https://app.brainattic.ai/api/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://app.brainattic.ai/api/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 knowledge-base --url https://app.brainattic.ai/api/mcp
```

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

```toml
[mcp_servers.knowledge-base]
url = "https://app.brainattic.ai/api/mcp"
```

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "httpUrl": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http knowledge-base https://app.brainattic.ai/api/mcp

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "serverUrl": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/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": {
    "knowledge-base": {
      "type": "streamableHttp",
      "url": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/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": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "knowledge-base": {
      "url": "https://app.brainattic.ai/api/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://app.brainattic.ai/api/mcp
```

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

## FAQ

### How do I sign in?

OAuth 2.1 with automatic discovery; no API key or client secret is pasted.

### Where is data hosted?

On the operator's infrastructure in a Tier 3+ data centre in Sofia, Bulgaria.

### Does brainattic send my documents to AI models?

The README says it does not independently forward them; your AI client can receive content you request.

### Is on-premises available?

The README says it is ready to offer on-premises deployment, planned customer by customer.

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

Run this command in your terminal: claude mcp add --transport http knowledge-base https://app.brainattic.ai/api/mcp

### What are the best alternatives to brainattic?

The closest alternatives to brainattic 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.
- 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/brainattic
