Brainstem
Provides tools for reading and writing plain Markdown files with structured frontmatter, serving as the underlying format for the knowledge base.
Allows interaction with an Obsidian-compatible vault of Markdown files, providing tools for searching, reading, writing, and managing knowledge pages with YAML frontmatter and cross-references.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Brainstemsearch wiki for latest meeting notes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Brainstem
Local-first knowledge backend for AI agents.
Connect any MCP host — Claude Code, Cursor, or your own agent harness — to a personal knowledge engine: an Obsidian-compatible wiki with indexed retrieval, token-budgeted memory recall, and secure ingestion. Your agents get quality context; you keep your knowledge on your machine.
┌────────────┐ MCP (stdio/sse) ┌───────────────────────────────┐
│ Your agent │ ◄─────────────────► │ Brainstem │
│ (Claude │ 27 tools │ · search + read + write wiki │
│ Code, │ (12 read-only) │ · memory tree recall (BM25 + │
│ Cursor…) │ │ vectors, token-budgeted) │
└────────────┘ │ · code graph over your repos │
│ · vault = plain Markdown │
└───────────────────────────────┘Install
# Run without installing (recommended)
uvx brainstem-mcp init
# Or install
pip install brainstem-mcp
brainstem initbrainstem init creates a vault at ~/.brainstem/vault (override with
--root) and prints the exact one-liner to connect your agent:
claude mcp add brainstem -- uvx brainstem-mcp mcp --root ~/.brainstem/vaultThat's it. No API key is required to serve, search, and read — your agent brings its own model.
Related MCP server: memory-mcp
Docker
docker build -t brainstem .
docker run -i -v ~/.brainstem/vault:/vault brainstem # stdio
docker run -p 8765:8765 -v ~/.brainstem/vault:/vault brainstem \
mcp --root /vault --transport sse # sseWhat your agent can do
Search & read —
search_wiki_index,read_wiki_file, cross-references, orphan detection over a plain-Markdown Obsidian-compatible vault.Remember & recall — a hierarchical memory tree with BM25 + vector search and token-budgeted
memory_tree_recall, built for agent context windows.Write knowledge — structured pages with YAML frontmatter, index upkeep, supersession instead of duplication.
Understand code — ingest a repository and query its architecture (
ask_repo, code-graph overview/impact) as part of your agent's context.
Read-only profile
Expose only the 12 safe read tools (no writes, no publishing):
brainstem mcp --readonlySecurity posture
Brainstem treats everything it ingests as untrusted input: ingested content cannot trigger writes or publishing on its own, and outbound actions are draft-only by design. The vault is plain Markdown on your disk — no cloud, no telemetry, single-tenant by architecture.
Brainstem vs. OpenWiki
OpenWiki generates documentation that agents read as files. Brainstem is a live backend: your agent queries an indexed knowledge base through MCP tools at run time — retrieval, memory, and ingestion as part of the harness, not a batch-generated artifact.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceLocal-first knowledge base MCP server. Lets AI agents (Claude Code, Cursor, etc.) read and write your personal knowledge base through 20 MCP tools. Zero cloud dependency — all files stay on your machine.Last updated1,758657MIT
- AlicenseAqualityBmaintenanceA local-first MCP server that exposes personal notes and files as unified semantic context for AI agents via vector search and file monitoring.Last updated6MIT
- AlicenseAqualityBmaintenanceMCP server that exposes a local Obsidian vault as persistent, searchable memory for AI agents, with hybrid retrieval, reranker, and PDF support.Last updated342,37128MIT
- AlicenseAqualityAmaintenanceLocal-first agentic knowledge layer over Obsidian notes, enabling MCP-aware agents to search, retrieve, and compile knowledge with provenance and task contracts.Last updated3792MIT
Related MCP Connectors
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DarkCodePE/brainstem'
If you have feedback or need assistance with the MCP directory API, please join our Discord server