Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Persistent memory for AI assistants with semantic search and knowledge graph relationships.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。
ターミナルでこれを実行します
claude mcp add octobrain -- npx -y @muvon/octobrain mcpプロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"octobrain": {
"command": "npx",
"args": [
"-y",
"@muvon/octobrain",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"octobrain": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@muvon/octobrain",
"mcp"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント muvon で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.15.1)がレジストリに届いたのは3 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.js, MCPBも必要です。
同じカテゴリには: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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Persistent memory for AI assistants — store insights, decisions, and knowledge that survives across conversations.
_MCP Registry: mcp-name: io.github.Muvon/octobrain_
Octobrain gives your AI assistant a long-term memory. Store code insights, architecture decisions, bug fixes, and knowledge — then retrieve them with semantic search in future sessions. Works as a CLI tool or as an MCP server for integration with Claude Desktop and other AI tools.
AI assistants start every conversation with zero context. You explain your project, your preferences, your decisions — every single time. Octobrain breaks that cycle:
# Install from crates.io
cargo install octobrain
octobrain memory memorize --title "API Design Pattern" \ --content "Use REST for CRUD, GraphQL for complex queries" \ --memory-type architecture --tags "api,design"
octobrain memory remember "how should I design APIs"
octobrain mcp
cargo install octobrain
# Clone and build
git clone https://github.com/muvon/octobrain.git cd octobrain cargo build --release
./target/release/octobrain --help
docker pull ghcr.io/muvon/octobrain:latest
brew install muvon/tap/octobrain
Octobrain supports multiple embedding providers:
| Flag | Description | API Key Required |
|---|---|---|
fastembed | Local embeddings via FastEmbed | No |
huggingface | Local embeddings via HuggingFace | No |
| (default) | Both fastembed + huggingface | No |
| (no features) | API-based: Voyage, OpenAI, Google, Jina | Yes |
# Build with local embeddings (default, no API keys needed)
cargo build --release
cargo build --no-default-features --release
For API-based embeddings, set the appropriate environment variable:
VOYAGE_API_KEY for Voyage AIOPENAI_API_KEY for OpenAIGOOGLE_API_KEY for GoogleJINA_API_KEY for JinaStore and retrieve insights, decisions, and context:
All memory subcommands accept global flags:
--scope — Override project scope (default: auto-detected from Git remote)--role — Filter by role (e.g. "developer", "reviewer")# Store a memory
octobrain memory memorize --title "API Design" \ --content "Use REST for CRUD, GraphQL for complex queries" \ --memory-type architecture --tags "api,design"
octobrain memory remember "api design patterns"
octobrain memory remember "authentication" "security" "jwt"
octobrain memory get
octobrain memory recent --limit 20
octobrain memory by-type architecture --limit 10
octobrain memory by-tags "api,security"
octobrain memory for-files "src/main.rs,src/lib.rs"
octobrain memory update --title "New Title" --add-tags "new-tag"
octobrain memory forget --memory-id
octobrain memory current-commit
octobrain memory stats
octobrain memory cleanup
octobrain memory maintenance
octobrain memory clear-all --yes
Close a goal and fold all its contributing memories into a consolidated summary:
# Consolidate a goal (Achieves-link sources → Consolidated state, importance dampened)
octobrain memory consolidate --summary "Final summary"
octobrain memory sleep-consolidate --threshold 0.85 --min-size 3
Connect related memories for context-rich retrieval:
# Create a relationship between memories
octobrain memory relate \ --relationship-type "depends_on" \ --description "Source requires target to function"
octobrain memory relationships
octobrain memory related
octobrain memory auto-link
octobrain memory graph --depth 2
Index and search web content, docs, and files:
# Index a URL
octobrain knowledge index https://docs.rs/tokio/latest/tokio/
octobrain knowledge index ./docs/architecture.md
octobrain knowledge search "how to handle async tasks"
octobrain knowledge search "spawn blocking" --source https://docs.rs/tokio/
octobrain knowledge read https://docs.rs/tokio/latest/tokio/
octobrain knowledge match "spawn_blocking|block_in_place"
octobrain knowledge store "meeting-notes" --content "Discussion points..."
octobrain knowledge list --limit 20
octobrain knowledge stats
octobrain knowledge delete https://example.com/docs
octobrain knowledge delete-stored "meeting-notes"
Import and sync git-backed knowledge bundles scoped to your projects:
# Import a remote git repo as a knowledge box
octobrain box import https://github.com/org/docs-repo.git
octobrain box import https://github.com/org/docs-repo.git --global
knowledge sync after editing .box/)octobrain box sync
octobrain box list
octobrain box remove github.com/org/docs-repo
Run as an MCP server for integration with Claude Desktop and other AI tools:
# Start with stdio transport (for Claude Desktop)
octobrain mcp
octobrain mcp --bind 0.0.0.0:12345
Available MCP Tools:
| Tool | Description |
|---|---|
memorize | Store memories with metadata; optional related_to for inline relationships |
remember | Semantic search with filters; returns 1-hop graph neighbors |
forget | Delete memories (requires confirmation) |
knowledge | Unified tool: search, store, delete, read, match, sync via command field; sync re-indexes knowledge boxes after .box/ edits |
See MCP Integration for Claude Desktop setup.
Retrieval quality of octobrain's knowledge system on standard BEIR datasets — nDCG@10, fully local, no LLM judge, using the harness's default embedder bge-small-en-v1.5 (384-dim, 33M params). Each corpus passage is indexed through octobrain's real retrieval path and scored against the official qrels (metrics reproduce pytrec_eval).
| Dataset | octobrain vector | octobrain hybrid | BM25¹ | bge-small-en-v1.5² |
|---|---|---|---|---|
| SciFact (5.2K docs, 300 q) | 0.722 | 0.742 | 0.665 | 0.713 |
| NFCorpus (3.6K docs, 323 q) | 0.341 | 0.363 | 0.325 | 0.343 |
¹ Canonical BM25 from the BEIR paper (Anserini/Lucene, k1=0.9 b=0.4). ² From the bge-small-en-v1.5 model card (MTEB).
Scope: this measures the ranking layer (embedding + BM25 fusion + reranking). BEIR passages are pre-chunked, so octobrain's chunking strategy is not exercised here.
⚠️ Reranker status: The cross-encoder reranker is currently a no-op with fastembed models (byte-identical results to hybrid-only). Rerank is excluded from the numbers above pending investigation. See
benches/README.mdfor details.
Reproduce (downloads the datasets, builds a release binary, runs fully offline):
cd benches && bash scripts/run_retrieval.sh
Configuration is stored in ~/.local/share/octobrain/config.toml. The template written on first run defines every option with sensible defaults, but loading is strict — a field you delete by hand causes startup to fail rather than falling back to a default.
Override the config location with OCTOBRAIN_CONFIG_PATH=/path/to/config.toml.
| Section | Option | Default | Description |
|---|---|---|---|
[embedding] | model | fastembed:Qdrant/all-MiniLM-L6-v2-onnx | Embedding model (provider:model format). Default is a local fastembed model — no API key, runs on CPU. |
[search] | similarity_threshold | 0.3 | Minimum relevance (0.0-1.0) |
[search.hybrid] | enabled | true | Enable BM25 + vector fusion |
| [search.reranker] | enabled | `
冒頭だけを表示しています。続きはリポジトリで読めます