MCPcopy
hub / github.com/NateBJones-Projects/OB1

github.com/NateBJones-Projects/OB1 @main sqlite

repository ↗ · DeepWiki ↗
1,938 symbols 4,986 edges 291 files 235 documented · 12%
README

Open Brain

Open Brain

The infrastructure layer for your thinking. One database, one AI gateway, one chat channel. Any AI you use can plug in. No middleware, no SaaS chains, no Zapier.

This isn't a notes app. It's a database with vector search and an open protocol — built so that every AI tool you use shares the same persistent memory of you. Claude, ChatGPT, Cursor, Claude Code, whatever ships next month. One brain. All of them.

Open Brain was created by Nate B. Jones. Follow the Substack for updates, discussion, and the companion prompt pack. Join the Discord for real-time help and community.

Getting Started

Never built an Open Brain? Start here:

  1. Setup Guide — Build the full system (database, AI gateway, Slack capture, MCP server) in about 45 minutes. No coding experience needed. Or watch the video walkthrough (~27 min).
  2. AI-Assisted Setup — Prefer building with Cursor, Claude Code, or another AI coding tool? Point it at this repo and go. Same system, different workflow.
  3. Companion Prompts — Five prompts that help you migrate your memories, discover use cases, and build the capture habit.
  4. Then pick Extension 1 and start building.

If you hit a wall: We built a FAQ that covers the most common questions and gotchas. And if you need real-time help, we created dedicated AI assistants that know this system inside and out: a Claude Skill, a ChatGPT Custom GPT, and a Gemini GEM. Use whichever one matches the AI tool you already use.

Recent Contributions

The 20 most recent merged PRs. This list is generated from GitHub and refreshes daily. Last updated: 2026-05-22.

Contribution What changed Creator
Provenance chains — derivation tracking Provenance chains — derivation tracking. @alanshurafa
Open Brain Dashboard Pro — Next.js 16 + iron-session Open Brain Dashboard Pro — Next.js 16 + iron-session. @alanshurafa
Atomizer — generic + Gmail re-atomization toolkit Atomizer — generic + Gmail re-atomization toolkit. @alanshurafa
Brain smoke test — install verification harness Brain smoke test — install verification harness. @alanshurafa
CRM improvements: crm_ prefix, FTS search, meeting prep, stale detection CRM improvements: crm_ prefix, FTS search, meeting prep, stale detection. @pintomatic
Edge function cost optimization — 73% invocation reduction Edge function cost optimization — 73% invocation reduction. @JustinTSmith
Obsidian-vault-import: --source-label to override metadata.source Obsidian-vault-import: --source-label to override metadata.source. @dhanjit
Preserve full frontmatter in obsidian-vault-import metadata Preserves full frontmatter in obsidian-vault-import metadata. @dhanjit
Load .env into wiki-compiler child processes Loads .env into wiki-compiler child processes. @mlava
Enable standalone output for Docker builds Enables standalone output for Docker builds. @Mavrick-F
Fix outdated primitives section in README Fixes outdated primitives section in README. @jjshanks
Document Edge Function redeploy step in OpenRouter rotation FAQ Documents Edge Function redeploy step in OpenRouter rotation FAQ. @Silverhawk-bit
Return JSON-RPC error envelopes on auth failure Returns JSON-RPC error envelopes on auth failure. @txcfi-scott
Markdownlint sweep for existing recipe/schema docs Markdownlint sweep for existing recipe/schema docs. @alanshurafa
Improve ChatGPT MCP compatibility Improves ChatGPT MCP compatibility. @justfinethanku
Add wiki compiler orchestration recipe Adds wiki compiler orchestration recipe. @justfinethanku
Wiki synthesis + autobiography pipeline Wiki synthesis + autobiography pipeline. @alanshurafa
Entity wiki pages from knowledge graph Entity wiki pages from knowledge graph. @alanshurafa
Typed reasoning edges + Opus/Haiku classifier Typed reasoning edges + Opus/Haiku classifier. @alanshurafa
Entity extraction worker Entity extraction worker. @alanshurafa

Extensions — The Learning Path

Build these in order. Each one teaches new concepts through something you'll actually use. By the end, your agent manages your household, your schedule, your meals, your professional network, and your career — all interconnected.

# Extension What You Build Difficulty
1 Household Knowledge Base Home facts your agent can recall instantly Beginner
2 Home Maintenance Tracker Scheduling and history for home upkeep Beginner
3 Family Calendar Multi-person schedule coordination Intermediate
4 Meal Planning Recipes, meal plans, shared grocery lists Intermediate
5 Professional CRM Contact tracking wired into your thoughts Intermediate
6 Job Hunt Pipeline Application tracking and interview pipeline Advanced

Extensions compound. Your CRM knows about thoughts you've captured. Your meal planner checks who's home this week. Your job hunt contacts automatically become professional network contacts. This is what happens when your agent can see across your whole system.

Primitives: Concepts That Compound

Some concepts show up in multiple extensions. Learn them once, apply them everywhere.

Primitive What It Teaches Used By
Deploy an Edge Function Deploying any extension as a Supabase Edge Function All extensions
Remote MCP Connection Connecting to Claude Desktop, ChatGPT, Claude Code, Cursor, and other clients All extensions
Common Troubleshooting Solutions for connection, deployment, and database issues All extensions
Row Level Security PostgreSQL policies for multi-user data isolation Extensions 4, 5, 6
Shared MCP Server Giving others scoped access to parts of your brain Extension 4

Community Contributions

Beyond the curated learning path, the community builds and shares real tools that real people use. Every contribution below was reviewed, approved, and merged by the maintainer team. Look for the Community Contribution badge in each README.

/recipes — Import Your Data

Pull your digital life into Open Brain. Each recipe handles a specific data source — parsing, deduplication, embedding, and ingestion included.

Recipe What It Does Contributor
ChatGPT Import Parse ChatGPT data exports, filter trivial conversations, summarize via LLM @matthallett1
Perplexity Import Import Perplexity AI search history and memory entries @demarant
Obsidian Vault Import Parse and import Obsidian vault notes with full metadata @snapsynapse
X/Twitter Import Import tweets, DMs, and Grok chats from X data exports @alanshurafa
Instagram Import Import DMs, comments, and captions from Instagram exports @alanshurafa
Google Activity Import Import Google Search, Gmail, Maps, YouTube, Chrome history from Takeout @alanshurafa
Grok (xAI) Import Import Grok conversation exports with MongoDB-style date handling @alanshurafa
Journals/Blogger Import Import Atom XML blog archives from Blogger/Journals @alanshurafa
Email History Import Pull your Gmail archive into searchable thoughts @matthallett1

/recipes — Tools & Workflows

Standalone capabilities that make your Open Brain smarter.

Recipe What It Does Contributor
Auto-Capture Protocol Stores ACT NOW items and session summaries in Open Brain at session close using the reusable Auto-Capture skill @jaredirish
Panning for Gold Mine brain dumps and voice transcripts for actionable ideas — battle-tested across 13+ sessions @jaredirish
Aiception (formerly Claudeception) Self-improving system that creates new skills from work sessions — skills that create other skills @jaredirish
Schema-Aware Routing LLM-powered routing that distributes unstructured text across multiple database tables @claydunker-yalc
Fingerprint Dedup Backfill Backfill content fingerprints and safely remove duplicate thoughts @alanshurafa
Source Filtering Filter thoughts by source and backfill missing metadata for early imports @matthallett1
Life Engine Self-improving personal assistant — calendar, habits, health, proactive briefings via Telegram or Discord @justfinethanku
Life Engine Video Add-on that renders Life Engine briefings as short animated videos with voiceover @justfinethanku
Daily Digest Automated daily summary of recent thoughts delivered via email or Slack OB1 Team
Bring Your Own Context Portable context workflow that packages extraction prompts, profile generation, and remote MCP deployment into one entrypoint @jonathanedwards
Work Operating Model Activation Conversation-first workflow that turns tacit work patterns into structured Open Brain records and agent-ready operating files @jonathanedwards
World Model Diagnostic Activation Ship-now activation path for a 20-minute world-model readiness diagnostic that compounds through core Open Brain capture @jonathanedwards
Research-to-Decision Workflow Composition recipe that chains canonical skills into operator and investor research, synthesis, meeting, and memo workflows @NateBJones
OpenClaw Agent Memory for OB1 Canonical recipe for using OB1 Agent Memory as the governed continuity layer for OpenClaw workflows OB1 Team
OpenClaw Code Review Memory Flagship workflow for compounding repo-specific review lessons, maintainer corrections, and false positives OB1 Team
OpenClaw TaskFlow Work Log Durable handoff recipe for long-running OpenClaw TaskFlows across agents, models, and channels OB1 Team

/skills — Agent Skills

Plain-text skill packs you can drop into Claude Code, Codex, or other AI clients that support reusable prompts/rules. These are the canonical reusable building

Extension points exported contracts — how you extend this code

BudgetTracker (Interface)
Tracks LLM call count against MAX_LLM_CALLS_PER_REQUEST and wall-clock * budget against EDGE_FUNCTION_BUDGET_MS. Wave 2
integrations/smart-ingest/index.ts
Connection (Interface)
(no doc)
dashboards/open-brain-dashboard-pro/components/ConnectionsPanel.tsx
Locals (Interface)
(no doc)
dashboards/open-brain-dashboard/src/app.d.ts
ExtensionNavEntry (Interface)
(no doc)
dashboards/open-brain-dashboard-next/extensions.config.ts
SyncLog (Interface)
(no doc)
recipes/email-history-import/pull-gmail.ts
Args (Interface)
(no doc)
recipes/source-filtering/backfill-metadata.ts
Thought (Interface)
(no doc)
recipes/vercel-neon-telegram/src/lib/types.ts
Thought (Interface)
(no doc)
recipes/editorial-policy/auditor/index.ts

Core symbols most depended-on inside this repo

asString
called by 42
integrations/enhanced-mcp/_shared/helpers.ts
thought
called by 38
docs/walkthroughs/ob1-agent-dashboard/seed-data.mjs
json
called by 29
integrations/smart-ingest/index.ts
toolFailure
called by 29
integrations/enhanced-mcp/index.ts
resolve
called by 28
dashboards/open-brain-dashboard-pro/app/duplicates/page.tsx
updateState
called by 27
integrations/chrome-capture-extension/background/gemini-sync.js
toolSuccess
called by 26
integrations/enhanced-mcp/index.ts
asString
called by 25
integrations/consolidation-workers/_shared/helpers.ts

Shape

Function 1,650
Method 154
Interface 96
Class 38

Languages

TypeScript84%
Python16%

Modules by API surface

integrations/hermes-agent-memory/plugin/tests/test_ob1_provider.py116 symbols
integrations/hermes-agent-memory/plugin/__init__.py51 symbols
recipes/gmail-smart-pull/scripts/pull-gmail.mjs44 symbols
recipes/email-history-import/pull-gmail.ts42 symbols
integrations/smart-ingest/index.ts38 symbols
integrations/chrome-capture-extension/background/service-worker.js37 symbols
integrations/enhanced-mcp/_shared/helpers.ts36 symbols
integrations/smart-ingest/_shared/helpers.ts34 symbols
integrations/entity-extraction-worker/_shared/helpers.ts32 symbols
integrations/consolidation-workers/_shared/helpers.ts32 symbols
integrations/chrome-capture-extension/background/gemini-sync.js31 symbols
recipes/thought-enrichment/enrich-thoughts.mjs30 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@ai-sdk/openai1.3.0 · 1×
@dnd-kit/core6.3.1 · 1×
@dnd-kit/sortable10.0.0 · 1×
@dnd-kit/utilities3.2.2 · 1×
@eslint/js9.39.1 · 1×
@hono/mcp0.1.5 · 1×
@hono/node-server1.19.11 · 1×
@modelcontextprotocol/sdk1.12.1 · 1×
@opennextjs/cloudflare1.19.4 · 1×
@remotion/cli4.0.456 · 1×
@remotion/renderer4.0.456 · 1×

For agents

$ claude mcp add OB1 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact