Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Graph-structured MCP memory server. 37.2% LongMemEval. Auto dedup, themes, decay, synthesis.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
Authorization必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
ターミナルでこれを実行します
claude mcp add --transport http open-brain 'https://{supabase_project_ref}.supabase.co/functions/v1/open-brain-mcp/mcp' --header 'Authorization: Bearer {api_key}'動かす前に、空欄の値を入力してください。
アドレスには、あなたしか知らない {…} の部分(アカウントなど)があるので、コピーして書き換えてください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"open-brain": {
"url": "https://{supabase_project_ref}.supabase.co/functions/v1/open-brain-mcp/mcp",
"headers": {
"Authorization": "Bearer {api_key}"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
アドレスには、あなたしか知らない {…} の部分(アカウントなど)があるので、コピーして書き換えてください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"open-brain": {
"type": "http",
"url": "https://{supabase_project_ref}.supabase.co/functions/v1/open-brain-mcp/mcp",
"headers": {
"Authorization": "Bearer {api_key}"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
このアドレスはリクエストの header にキーが必要ですが、コネクタを追加するメニューでは設定できません。代わりにClaude Code、Cursor、VS Codeを使ってください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
Authorization HTTP headerこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
このサーバーのツール一覧はまだ読み取っていません。エンドポイントは順番にチェックしています。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Bobby-cell-commits で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
アドレスにあなた自身のアカウント情報が必要なため、代わりにチェックできません
アドレスにあなた自身のアカウント情報が必要なため、代わりにチェックできません
まだチェックしていません。エンドポイントをチェックするときにツール一覧を読み取ります
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
GitHubリポジトリの最終更新は–、最新バージョン(1.1.0)がレジストリに届いたのは7 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URLでつながるので、リモートMCPサーバーに対応したアプリ(開発者モードのChatGPTなど)でも使えます。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Graph-structured MCP memory. [37.2% on LongMemEval baseline](BENCHMARK.md) — a benchmark most memory systems don't publish.
A self-hostable memory server for MCP clients (Claude, ChatGPT, any assistant that speaks MCP). Thoughts flow in from Telegram, pipelines, or direct capture, and land in a Newman-IDF weighted entity graph — not a flat document store. An automated Dream cycle runs in the background: deduplicating near-duplicates, tracking theme drift, synthesizing insights across clusters, and archiving stale content. 17 MCP tools. PostgreSQL + pgvector. You own your data.
flowchart LR
TG[Telegram Message] --> TGBot[telegram-bot\nEdge Function] MCP[AI Client\nClaude/ChatGPT] --> MCPServer[open-brain-mcp\nEdge Function] Pipeline[RSS/HF Papers/\nEmergent Mind] --> RunPipeline[run-pipeline\nEdge Function] TGBot --> OR1[OpenRouter\nEmbedding + Metadata] MCPServer --> OR2[OpenRouter\nEmbedding + Search] RunPipeline --> OR3[OpenRouter\nTriage + Embed] OR1 --> DB[(Postgres\n+ pgvector)] OR2 --> DB OR3 --> DB MCPServer --> DB TGBot --> TGReply[Telegram Reply\nwith Metadata]
When you send a message to the Telegram bot, the telegram-bot Edge Function picks it up via webhook. It sends the message to OpenRouter in parallel for two things: generating a vector embedding (a numerical representation of meaning) and extracting metadata like topics, people mentioned, action items, theme, quality score, and named entities. The thought is checked for semantic duplicates, stored in your database with auto-linked connections to related thoughts, and the bot replies with a summary of what it captured.
The run-pipeline Edge Function automatically ingests ideas from RSS feeds (AI newsletters), Hugging Face daily papers, and Emergent Mind (trending arXiv papers). Each item is triaged for relevance, embedded, deduplicated, and stored. Runs on a schedule via GitHub Actions (Supabase deployment) or a built-in cron container (Docker deployment).
Any AI client connected via MCP (Model Context Protocol) can search your thoughts by meaning using semantic search, browse by filters (type, topic, person, time), get aggregate statistics, or request a weekly review of themes. The open-brain-mcp Edge Function handles these requests, authenticated with your personal access key.
Every thought is automatically linked to related thoughts via vector similarity. Connections above 0.80 similarity are classified by an LLM into typed relationships (extends, contradicts, is-evidence-for, supersedes). Named entities (people, tools, projects, organizations) are extracted and resolved into a shared entity graph. Co-occurrence edges track which thoughts are retrieved together over time, strengthening connections based on actual usage patterns.
Everything lives in Postgres with pgvector for fast similarity search. Thoughts are stored with their embeddings (1536-dimensional vectors), metadata, typed connections, and entity references. You can deploy on Supabase (managed hosting) or self-host with Docker Compose.
Choose how you want to run Open Brain:
| Supabase (hosted) | Docker Compose (self-hosted) | |
|---|---|---|
| Setup | Link project + run scripts | cp .env.example .env + ./start.sh |
| Infrastructure | Managed by Supabase | Runs on your machine/server |
| Scheduling | GitHub Actions | Built-in cron container |
| Cost | Supabase free tier + OpenRouter | Just OpenRouter |
| Guide | Continue below | Docker guide |
https://abcdef.supabase.co) and the service role key (a long string found under Settings > API). npm install -g supabase
git clone https://github.com/YOUR_USERNAME/open_brain.git
cd open_brain
cd supabase
supabase link --project-ref YOUR_PROJECT_REF cd ..
Tip: Your project ref is the subdomain in your Supabase URL. If your URL is
https://abcdef.supabase.co, your project ref isabcdef.
./scripts/bootstrap.sh
Bootstrap walks you through setting up your environment. It prompts for each secret (Supabase URL, service role key, OpenRouter API key, Telegram tokens, etc.), generates a cryptographic MCP access key automatically, and writes everything to .env.local. If you already have a .env.local, it will show your existing values and let you update specific ones.
./scripts/deploy.sh
Deploy applies the database schema (creates the thoughts table with vector search indexes), uploads your secrets to Supabase, and deploys all Edge Functions. It shows a step-by-step checklist as each operation completes. At the end, it prints your MCP connection URL and a ready-to-paste Claude Code command.
./scripts/validate.sh
Validate runs 8 checks against your live deployment to confirm everything works: database access, RPC functions, Edge Function reachability, authentication, thought capture, semantic search, and thought listing. It prints a checklist with pass/fail for each check and a final summary.
Create a bot via @BotFather on Telegram, then run the setup script:
./scripts/setup-telegram.sh YOUR_BOT_TOKEN
The script verifies your token, registers the webhook, sets up command autocomplete, and prints the env vars and secrets to configure. Follow the printed instructions to complete setup.
Once deployed, connect your AI client to start using Open Brain. You need two values:
https://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcp (Supabase) or http://localhost:80/functions/v1/open-brain-mcp (Docker).env.local or Docker .env)Tip: The deploy script (Supabase) or start script (Docker) prints the exact connection command with your values filled in.
claude mcp add --transport http --header "x-brain-key: YOUR_MCP_KEY" open-brain https://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcp
This registers Open Brain as an MCP server that Claude Code can use in any conversation. Replace YOUR_MCP_KEY and YOUR_REF with your actual values.
Add this to a .mcp.json file in your project root to share the connection with your team:
{
"mcpServers": { "open-brain": { "type": "http", "url": "https://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcp", "headers": { "x-brain-key": "${MCP_ACCESS_KEY}" } } } }
Note: The
${MCP_ACCESS_KEY}syntax uses environment variable expansion so your key stays out of version control. Set theMCP_ACCESS_KEYenvironment variable on each machine that uses this config.
Claude Desktop does not support remote MCP servers via configuration files. Instead:
https://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcpx-brain-key authentication header with your MCP access keyhttps://YOUR_REF.supabase.co/functions/v1/open-brain-mcp/mcpx-brain-key authentication header with your MCP access keySend any message to your bot and Open Brain automatically processes it:
You: Just had a great meeting with Sarah about the Q3 product roadmap.
She wants to prioritize the mobile app redesign.
Bot: Captured! Type: meeting_note Theme: personal Topics: q3-roadmap, mobile-app-redesign Quality: 0.7 People: Sarah Action items: Prioritize mobile app redesign Why: Records a product strategy decision with clear ownership Related: "Product planning session notes..." (82% similar)
Every message is embedded as a vector, enriched with extracted metadata, checked for duplicates, auto-linked to related thoughts, and entities are resolved into a knowledge graph.
Ask any connected AI client to search your brain:
You: Search my brain for anything about product roadmap discussions
Claude: I found 3 relevant thoughts:
Semantic search finds thoughts by meaning -- even if you used different words. Asking about "product planning" will find thoughts about "roadmap discussions" because the meanings are similar.
Get an AI-generated summary of your recent thinking:
You: Give me a weekly review of my recent thoughts
Claude: Here's your weekly review: Themes: Product planning, team meetings, technical architecture Open loops: Mobile redesign decision pending, API migration timeline Connections: Sarah mentioned in 3 meetings this week, all about mobile
The weekly review analyzes the past 7 days of thoughts and synthesizes themes, open loops, connections between ideas, and gaps in your thinking.
| Tool | Description |
|---|---|
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 |
See docs/cookbook.md for deta
冒頭だけを表示しています。続きはリポジトリで読めます