MyBrAIn

v1.0.0Knowledge & Memorystable

myBrAIn is an MCP (Model Context Protocol) server designed to provide persistent and contextual memory to language models (like Google Antigravity). It acts as a 'second brain' for your development environment, allowing the AI to remember project rul

mybrainmcpai-integration
Share:
32
Stars
0
Downloads
0
Weekly
0/5

What is MyBrAIn?

MyBrAIn is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mybrain is an mcp (model context protocol) server designed to provide persistent and contextual memory to language models (like google antigravity). it acts as a 'second brain' for your development en...

myBrAIn is an MCP (Model Context Protocol) server designed to provide persistent and contextual memory to language models (like Google Antigravity). It acts as a 'second brain' for your development environment, allowing the AI to remember project rul

This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • myBrAIn is an MCP (Model Context Protocol) server designed t

Use Cases

Provide persistent, contextual memory to AI assistants across development sessions.
Remember project rules and context between interactions for improved continuity.
lilium360

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mybrain

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use MyBrAIn

myBrAIn is an MCP server that provides AI coding assistants with a persistent, contextual memory layer — acting as a second brain that survives across sessions and projects. It allows the AI to store architectural rules, recall relevant project context, and critique code against previously saved guidelines so that it never loses track of decisions made earlier in the development lifecycle. Teams use it to enforce consistency, remember project-specific conventions, and reduce the need to re-explain context on every new conversation.

Prerequisites

  • Python 3.10+ (for local setup) or Docker and Docker Compose (for recommended containerized setup)
  • Git to clone the repository
  • An MCP-compatible client such as Claude Desktop, Cursor, or VS Code with MCP support
  • Streamlit (installed automatically via requirements.txt) for the optional admin dashboard
1

Clone the repository

Clone myBrAIn from GitHub to your local machine.

git clone https://github.com/lilium360/myBrAIn.git
cd myBrAIn
2

Configure the environment

Copy the example environment file to create your own .env. Edit it to set your data directory and any other options defined in core/config.py.

cp .env.example .env
3

Start with Docker (recommended)

The Docker Compose setup launches both the MCP server and the Streamlit admin dashboard automatically.

docker compose up -d
4

Or install locally with Python

If you prefer not to use Docker, create a virtual environment and install dependencies directly.

python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt
# Start the admin dashboard separately:
streamlit run admin.py
5

Configure your MCP client

Add myBrAIn to your MCP client config. For Docker, point to the running container; for local Python, use the absolute path to the venv Python binary.

{
  "mcpServers": {
    "mybrain": {
      "command": "python",
      "args": ["/absolute/path/to/myBrAIn/main.py"],
      "env": {
        "MYBRAIN_DATA_DIR": "/absolute/path/to/myBrAIn/data"
      }
    }
  }
}
6

Initialize a workbase and store context

Once connected, link your project directory to the memory system and start storing insights about your architecture and rules.

MyBrAIn Examples

Client configuration

Claude Desktop configuration for myBrAIn running locally with Python.

{
  "mcpServers": {
    "mybrain": {
      "command": "/absolute/path/to/myBrAIn/venv/bin/python",
      "args": ["/absolute/path/to/myBrAIn/main.py"],
      "env": {
        "MYBRAIN_DATA_DIR": "/absolute/path/to/myBrAIn/data"
      }
    }
  }
}

Prompts to try

Example prompts that exercise myBrAIn's memory and critique tools.

- "Initialize a workbase for my project at /home/user/myapp"
- "Store an insight: all API endpoints must return JSON and use snake_case field names"
- "Recall context about our authentication strategy"
- "Critique this new AuthController code against the stored architectural guidelines"
- "Audit the codebase at /home/user/myapp for architectural drift from our stored rules"

Troubleshooting MyBrAIn

The MCP server fails to start because Python cannot find the required modules

Make sure you activated the virtual environment before running and that 'pip install -r requirements.txt' completed without errors. Use the absolute path to the venv Python binary in your MCP client config.

Stored insights are not persisting between sessions

Confirm that MYBRAIN_DATA_DIR points to a writable directory that is not cleaned between runs. When using Docker, ensure the data volume is correctly mounted in docker-compose.yml.

Frequently Asked Questions about MyBrAIn

What is MyBrAIn?

MyBrAIn is a Model Context Protocol (MCP) server that mybrain is an mcp (model context protocol) server designed to provide persistent and contextual memory to language models (like google antigravity). it acts as a 'second brain' for your development environment, allowing the ai to remember project rul It connects AI assistants to external tools and data sources through a standardized interface.

How do I install MyBrAIn?

Follow the installation instructions on the MyBrAIn GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with MyBrAIn?

MyBrAIn works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is MyBrAIn free to use?

Yes, MyBrAIn is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Knowledge & Memory MCP Servers

Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mybrain": { "command": "npx", "args": ["-y", "mybrain"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use MyBrAIn?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides