74
/ 100
1 month ago
glama

brainlayer

Local-first persistent memory layer for AI agents. Provides hybrid search (FTS5 keyword + vector embeddings) over 223K+ knowledge chunks via MCP. Tools: brain_search, brain_store, brain_entity, brain_subscribe. Features pub/sub with stable agent identity, delivery tracking, and Claude --channels integration. SQLite + BrainBar Swift daemon on Unix socket.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 7 credentials: GOOGLE_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, SUPABASE_SERVICE_KEY, HF_TOKEN, XAI_API_KEY, GROK_API_KEY, DEEPSEEK_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configBRAINBAR_SOCKET_PATH
configCLAUDE_PLUGIN_ROOT
configBRAINLAYER_PLUGIN_QUEUE
configCLAUDE_PLUGIN_DATA
configBRAINLAYER_DB~/.local/share/brainlayer/brainlayer.db Database file path
configBRAINLAYER_HOOKS_DISABLED
configCLAUDE_NON_INTERACTIVE
configBRAINLAYER_HOOKS_LIGHT
🔐 secretGOOGLE_API_KEY
🔐 secretGOOGLE_GENERATIVE_AI_API_KEY
configSUPABASE_URL
🔐 secretSUPABASE_SERVICE_KEY
🔐 secretHF_TOKEN
configBRAINLAYER_DRAIN_EMBED
configBRAINLAYER_P0_COUNTER_DIR
🔐 secretXAI_API_KEY
🔐 secretGROK_API_KEY
🔐 secretDEEPSEEK_API_KEY
configBRAINLAYER_BACKUP_STAGING_DIR
configBRAINLAYER_BACKUP_DRIVE_PATH
configBRAINLAYER_JUDGE_BACKEND
configBRAINLAYER_DRAIN_BUSY_TIMEOUT_MS
configBRAINLAYER_DRAIN_CHECKPOINT_BUSY_TIMEOUT_MS
configBRAINLAYER_AUTO_SUPERSEDE
configBRAINLAYER_GEMINI_REALTIME_MODEL
configBRAINLAYER_ENRICH_DAILY_USD_CAP
configBRAINLAYER_ENRICH_COST_DIR
configBRAINLAYER_AUTO_ENRICH
configBRAINLAYER_ENRICH_RATE5.0 Requests per second (5.0 = 300 RPM, AI Pro supports 500+)
configBRAINLAYER_BATCH_RATE
configBRAINLAYER_ENRICH_CONCURRENCY
configBRAINLAYER_MAX_COMMIT_BATCH
configBRAINLAYER_MAX_COMMIT_INTERVAL_MS
configBRAINLAYER_WRITE_QUEUE_MAXSIZE
configBRAINLAYER_ENRICH_BURST
configBRAINLAYER_ENRICH_IDLE_POLL_SECONDS
configBRAINLAYER_ARBITRATED
configBRAINLAYER_ENRICHMENT_QUEUE_WRITES
configBRAINLAYER_ENRICH_POST_WRITE_YIELD_MS
configGOOGLE_CLOUD_REGION
configBRAINLAYER_GEMINI_SERVICE_TIER
configBRAINLAYER_GEMINI_EXTRACTION_MODEL
configPHOENIX_BASE_URL
configBRAINLAYER_REPOS
configBRAINLAYER_JSONL_BACKUP_STAGING_DIR
configBRAINLAYER_JSONL_BACKUP_STATE_PATH
configBRAINLAYER_JSONL_BACKUP_LOG_PATH
configBRAINLAYER_JSONL_BACKUP_DRIVE_FOLDER
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/etanhey-brainlayer-0ovah3)](https://m8ven.ai/mcp/etanhey-brainlayer-0ovah3)
commit: fb79628483f182c4eb5e425d9592ef0e6e1983c6
code hash: 313a31283b1fef547ba0da8abb272b4479ac6c8527493a2c2119a6af72f500c1
verified: 6/16/2026, 12:02:16 PM
view raw JSON →