Brain
MCP server by rizom-ai Verified · npm:@rizom
Brain is a self-hosted AI knowledge agent that reads and writes markdown files you own. It connects to MCP clients such as Claude Desktop and Cursor and can publish a static website from the same content. It suits people who want their notes kept in local markdown instead of a hosted app.
Install Brain
Built from the published package, never by AI.
claude mcp add brain -- npx -y @rizom/brainRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"brain": {
"args": [
"-y",
"@rizom/brain"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"brain": {
"args": [
"-y",
"@rizom/brain"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"brain": {
"args": [
"-y",
"@rizom/brain"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add brain -- npx -y @rizom/brain{
"mcpServers": {
"brain": {
"args": [
"-y",
"@rizom/brain"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add brain npx -y @rizom/brainGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the brain block.
About
Brain, from the brains project, is a self-hosted AI knowledge agent that reads and writes markdown files kept in a local brain-data folder. The running brain can search and update that content, expose it to MCP clients such as Claude Desktop and Cursor, and publish a static website from the same source. A brain is made of content, a definition with capability bundles, and a runtime started with the brain command.
It is aimed at people who want to keep their knowledge in markdown rather than a hosted app, and who want a personal or site-focused assistant on their own machine or server. Setup uses recipes such as personal and professional, and plugins can customize behavior. The project is a 0.2.0 alpha and is not a hosted SaaS.
Written from the project's README and checked against it.
What you need
- Bun 1.4.0 or newer
- An OpenAI API key set in the .env file
- macOS, Linux, or Windows via WSL2
Try asking
- Search my brain-data notes for ideas about project planning
- Update the markdown page on my website with new details
- Publish my brain content as a static website
Good to know
- Version 0.2.0 alpha; APIs outside the documented 0.2 surface may change before 1.0
- Bun is the only supported runtime
- MCP_AUTH_TOKEN is for local development only and is refused in production
- Not a hosted SaaS or a stable third-party plugin platform yet
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Keep notes in local markdown files
- Connect notes to Claude Desktop or Cursor
- Publish a static website from notes
Alternatives to Brain
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Brain: common questions
Is Brain a hosted service?
No. The source says brains is not a hosted SaaS. You run the brain on your own machine or server.
Can I connect Brain to Claude Desktop or Cursor?
Yes. The source says you can point Claude Desktop, Cursor, or other MCP clients at a local stdio brain or at its HTTP MCP endpoint.
Is Brain stable enough for production use?
The source describes it as a 0.2.0 alpha. It works today, but APIs outside the documented 0.2 candidate surface may still change before 1.0.
How do I install Brain?
In Claude Code run claude mcp add brain -- npx -y @rizom/brain. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Brain the official server?
Brain is published by npm:@rizom from its verified domain in the official MCP Registry.
Is Brain free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Brain safe to use?
It scores 89 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Brain?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Brain work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
