IL

ivenkoolab/loci

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

101 stars 1 forks 品質 90 トレンド 35MIT

散らばったメモやドキュメントにクエリ可能な第二の脳 - ハイブリッド検索(ベクター+BM25)、セクションレベルの引用、そしてAIエージェントが使えるMCPサーバー。~300行、LangChainなし。

概要

二千年前、演説者たちは演説を宮殿の部屋に保管し、その中を歩いて記憶していました。ロキはすべての記憶宮殿の背後にある方法です。知識を場所に置き、道を歩いて思い出すのです。 ローカルファイル→見出し認識チャンク→埋め込み→ハイブリッド検索(ベクター+BM25)→LLM回答とセクションレベルの引用を組み合わせて提供します。インデックスは完全にあなたのマシン上に存在します。埋め込みやチャットコールのみが、OpenAI互換API(Zhipu / DeepSeek / Kimi / OpenAIなど)に送信されます。 (9万星プラットフォームと軽量ツールの墓場を研究したことから — 競合環境調査を参照):もう一つチャットアプリを作るな。作れ。Claude Desktop、Cursor、Cline、または任意のMCPホストがこのプロジェクトのUIとなり、無料で。

概要(AI 翻訳)

英語 ·简体中文 ·繁體中文 ·日本語 ·한국어

散らばったメモ、プロジェクトドキュメント、エージェントの記憶を、端末、ブラウザ、MCPクライアントから検索や質問ができるナレッジベースに変えましょう。

lociはベクトル検索とBM25を組み合わせ、file > sectionの引用付きで回答を返します。ファイルとインデックスはマシンに残ります。埋め込みやチャットリクエストは設定したプロバイダーに送られます。ローカルエンドポイントはワークフロー全体をオフラインに保つことができます。

クイックスタート ·ウェブコンソール ·MCPの設定 ·使用ガイド ·中文说明

架空のデモデータを含む実際のコンソールUI。個人の知識ベース、アカウント、APIキーは接続されていません。カウントはあくまで示唆的です。

ダークテーマプレビュー

あなたにできること

必要 ロキがどう役立つか
メモに埋もれた決定を見つける タグ、パス、日付フィルターを使ったディレクトリ間のハイブリッド検索
質問をして証拠を確認する 回答は出典のセクションを引用;任意の主張ごとの検証
AIツール間のコンテキストを運ぶ MCPツールは1つのインスタンスを共有します。耐久性のあるメモリはMarkdownファイル
各コーディングエージェントが何を覚えているか確認 ハーネスディスカバリ、ファイル閲覧、ツールごとの統計およびダイジェストノート

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

English · 简体中文 · 繁體中文 · 日本語 · 한국어

Turn scattered notes, project docs and agent memories into a knowledge base you can search and ask questions about — as an MCP server, from your terminal, or in the browser.

loci combines vector search with BM25 and returns answers with file > section citations. Your files and index stay on your machine. Embedding and chat requests go to the providers you configure; local endpoints can keep the entire workflow offline.

MCP is the point. Mount loci-mcp in Claude Desktop, Cursor, Cline or any other MCP host and your assistant gets the whole knowledge base as tools. The console and a desktop shell are alternate front-ends to the same index — you never need them.

Quick start · MCP setup · Web console · Usage guide · 中文说明

Actual console UI with fictional demo data. No personal knowledge base, account or API key is connected; counts are illustrative.

What you can do

Need How loci helps
Find a decision buried in your notes Hybrid search across directories, with tag, path and date filters
Ask a question and check the evidence Answers cite source sections; optional claim-by-claim verification
Carry context between AI tools MCP tools share one instance; durable memories are Markdown files
See what each coding agent remembers Harness discovery, file browsing, per-tool stats and digest notes
Manage the knowledge base visually Built-in Web console for search, Q&A, memories, indexing and audit
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "loci": { "command": "loci-mcp", "env": { "LOCI_HOME": "/absolute/path/to/your/loci-instance" } } } }