# Open Brain [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/Bobby-cell-commits/open-brain-server  
**GitHub Stars:** 8  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/open-brain

## Description
Personal knowledge graph with 16 MCP tools. Auto-links, deduplicates, tracks themes, synthesizes.

## Tools
Capabilities this server exposes over MCP:

- **search_thoughts** — Semantic search with optional graph expansion (1-hop traversal)
- **list_thoughts** — Browse thoughts filtered by type, topic, person, theme, quality, time
- **thought_stats** — Aggregate statistics: counts, type/theme breakdown, top topics/people
- **capture_thought** — Save a new thought from any AI client (with auto-embedding)
- **get_connections** — Graph traversal from a thought (typed links: extends, contradicts, etc.)
- **list_entities** — Browse extracted entities (people, tools, projects, orgs) by frequency
- **weekly_review** — AI-generated summary of themes, open loops, and next steps
- **analyze** — Graph analysis: hubs, density, sources, co-occurrence, themes
- **dedup_review** — Duplicate candidates with similarity zone histogram
- **refresh_salience** — Recompute all salience scores
- **update_thought** — Rewrite content (re-embeds, re-extracts metadata)
- **delete_thought** — Permanent delete (cascades connections)
- **serendipity_digest** — Resurface forgotten high-quality thoughts
- **pipeline** — Pipeline monitoring: health status, run history, merge audit
- **review_stale** — Review and act on stale thought candidates
- **migration_guide** — Instructions for importing memories from other platforms

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "open-brain": {
    "url": "https://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcp"
  }
}
```

## Documentation

## What Open Brain MCP server does

Open Brain MCP server stores personal knowledge as structured thoughts in PostgreSQL with pgvector. Each captured thought can receive an embedding, extracted metadata, named entities, salience information, and links to related thoughts. The resulting graph supports both meaning-based retrieval and structured browsing.

The server exposes tools for capturing, updating, deleting, searching, and listing thoughts. It can also return statistics, browse extracted entities, traverse typed connections, identify duplicate candidates, review stale items, and generate weekly summaries. Additional tools inspect graph structure, monitor pipeline activity, resurface older high-quality thoughts, and provide migration guidance.

## How it works

Thoughts may arrive through direct MCP capture, a Telegram bot, or ingestion pipelines for RSS feeds, Hugging Face daily papers, and Emergent Mind content. During processing, OpenRouter supplies embeddings and metadata extraction. Related thoughts are connected through vector similarity; sufficiently similar pairs can receive typed relationships such as extending, contradicting, providing evidence for, or superseding another thought.

Entity extraction builds shared references for people, tools, projects, and organizations. Co-occurrence data records which thoughts are retrieved together, while background processing can deduplicate near-matches, track theme changes, synthesize clusters, and archive stale content.

MCP clients query the deployed Edge Function over an authenticated HTTP endpoint. Search can optionally expand one graph hop, while listing tools apply filters such as type, topic, person, theme, quality, and time.

## Setup and configuration

Two deployment paths are documented. Supabase deployment uses a hosted Postgres project, the Supabase CLI, Edge Functions, and GitHub Actions for scheduled pipeline runs. Docker Compose runs the stack on a local machine or server and includes a cron container for scheduling.

Supabase setup requires a project URL, service role key, Supabase CLI, and an OpenRouter API key. A Telegram bot is optional. The repository provides bootstrap, deploy, validate, and Telegram setup scripts. Deployment creates the schema and vector indexes, configures secrets, publishes the functions, and prints the MCP endpoint and access instructions.

Clients need the deployed MCP URL and the generated access key. The documented authentication header is `x-brain-key`; Claude Code can also read `MCP_ACCESS_KEY` through a project configuration file.

## Tools and capabilities

The listed MCP tools cover:

- Semantic thought search with optional one-hop graph expansion
- Filtered thought browsing and aggregate statistics
- Thought capture, editing, and permanent deletion
- Connection traversal and entity browsing
- Weekly reviews, serendipity digests, and stale-item review
- Graph analysis, duplicate review, salience refresh, and pipeline monitoring
- Migration instructions for importing memories from other platforms

## Limitations and notes

The system depends on PostgreSQL with pgvector and uses OpenRouter for embeddings and metadata-related processing. Telegram capture and content pipelines are optional paths rather than requirements for MCP access. The documented client setup covers Claude Desktop, Claude Code, and ChatGPT; ChatGPT access requires a plan with Developer Mode and connectors. The repository describes the data as self-hosted or Supabase-hosted, with the operator responsible for deployment and access-key handling.

_Full upstream README: https://allmcps.com/mcp/open-brain/readme_

