Personal wiki and memory for AI assistants: store, search, and recall structured notes.
Connect Runs on your machine
claude mcp add brains -e WIKI_DIR=<WIKI_DIR> -e STORAGE_BACKEND=<STORAGE_BACKEND> -e GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e GOOGLE_REFRESH_TOKEN=<GOOGLE_REFRESH_TOKEN> -e DRIVE_FOLDER_ID=<DRIVE_FOLDER_ID> -e SUPABASE_URL=<SUPABASE_URL> -e SUPABASE_SERVICE_ROLE_KEY=<SUPABASE_SERVICE_ROLE_KEY> -- npx -y [email protected]
{
"mcpServers": {
"brains": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WIKI_DIR": "<WIKI_DIR>",
"STORAGE_BACKEND": "<STORAGE_BACKEND>",
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
"GOOGLE_REFRESH_TOKEN": "<GOOGLE_REFRESH_TOKEN>",
"DRIVE_FOLDER_ID": "<DRIVE_FOLDER_ID>",
"SUPABASE_URL": "<SUPABASE_URL>",
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}
{
"mcpServers": {
"brains": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WIKI_DIR": "<WIKI_DIR>",
"STORAGE_BACKEND": "<STORAGE_BACKEND>",
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
"GOOGLE_REFRESH_TOKEN": "<GOOGLE_REFRESH_TOKEN>",
"DRIVE_FOLDER_ID": "<DRIVE_FOLDER_ID>",
"SUPABASE_URL": "<SUPABASE_URL>",
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}
{
"servers": {
"brains": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"WIKI_DIR": "<WIKI_DIR>",
"STORAGE_BACKEND": "<STORAGE_BACKEND>",
"GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
"GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
"GOOGLE_REFRESH_TOKEN": "<GOOGLE_REFRESH_TOKEN>",
"DRIVE_FOLDER_ID": "<DRIVE_FOLDER_ID>",
"SUPABASE_URL": "<SUPABASE_URL>",
"SUPABASE_SERVICE_ROLE_KEY": "<SUPABASE_SERVICE_ROLE_KEY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
WIKI_DIROptional | Path to local wiki directory (used when STORAGE_BACKEND=local or omitted) |
STORAGE_BACKENDOptional | Storage backend: 'local' (default), 'supabase', or 'drive' |
GOOGLE_CLIENT_IDOptional | Google OAuth client ID (required for Google Drive backend) |
GOOGLE_CLIENT_SECRETOptional, secret | Google OAuth client secret (required for Google Drive backend) |
GOOGLE_REFRESH_TOKENOptional, secret | Google OAuth refresh token (required for Google Drive backend) |
DRIVE_FOLDER_IDOptional | Google Drive folder ID for wiki storage |
SUPABASE_URLOptional | Supabase project URL (required for Supabase backend) |
SUPABASE_SERVICE_ROLE_KEYOptional, secret | Supabase service role key (required for Supabase backend) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 20 Oct 2026 |
| Last updated | 20 Oct 2026 |
| Registry name | io.github.spacecowboyian/brains |
More search and web servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
