TL

timorunge/lore

Developer tools

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

20 stars 0 forks 品質 76 トレンド 30MIT

90以上のドキュメントフォーマットのローカルナレッジベース。 CLI検索+MCPサーバー クラウドなし、APIキーなし.

概要

ターミナルから検索したり、MCP上のエージェントに配信したりできるローカルナレッジベースです。 ローカルファイル、ウェブサイト、git repos、フィード、S3、YouTube、メール、シェルコマンド、上流MCPサーバー、90以上のフォーマット、全文検索ですべてのインデックスをインデックス化します。 外部サービス、管理インフラなし 1つのバイナリ、1つのコンフィグ、1つのストア-または必要な限り。 あなたのプロジェクトのための人ページを考えてみてください。 リリースページから直接ビルド済みのバイナリをダウンロードしてください。 Linux と macOS でビルド済みのバイナリが利用可能です。 Windows では、WSL (推奨) を使用して、または、貨物インストールのあるソースからビルド (OCR は cmake を要求し、MSVC --no-default-features --features ingest,mcp) でサポートされていません。 init がディレクトリをスキャンし、ドキュメントフォルダと README ファイルを検出し、入力済みのソースでコンフィグを生成します。 端末から、または任意のMCPクライアントから、それをレビュー、インジェスト、検索 --.

概要(AI 翻訳)

ターミナルから検索したり、サービスしたりできるローカルナレッジベース MCP上のエージェント。 ローカルファイル、ウェブサイト、 git repos、フィード、S3、YouTube、メール、シェルコマンド、上流MCP サーバー、90以上のフォーマット – および全文検索ですべてインデックス化します。 外部サービス、管理インフラなし 1つのバイナリ、1 config, 1 ストア – または必要な限り.

あなたのプロジェクトのための[[manページ - 人間とエージェントのような.

インストール

スクリプトのインストール(LinuxとmacOS):

Homebrew(macOSとLinux):

または直接ビルドされたバイナリをダウンロード リリースページ。

Windows: Linux と macOS でビルド済みのバイナリが利用可能です。 Windowsで、WSLを使用して下さい (推奨) または cargo install でソースからビルド (OCR が必要です) MSVC では cmake とサポートされていません – --no-default-features で省略します --featuresのingest、mcp)。

ソースからビルド:

オプションの機能フラグ:

| フラグ | デフォルト | 説明 | お問い合わせ | [ocr | オン | スキャンしたPDFや画像の OCR (cmakeが必要です) | | [llm | オフ | LLM 濃縮 ([lore ingest), [lore enrich] : Ollama, Anthropic, OpenAI, ベッドロック | | [[T6] | オフ | アマゾン S3 ソースサポート |

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

README

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

lore

A local knowledge base you can search from the terminal or serve to agents over MCP. lore ingests your documents – local files, websites, git repos, feeds, S3, YouTube, email, shell commands, upstream MCP servers, 90+ formats – and indexes everything with full-text search. No external services, no infrastructure to manage. One binary, one config, one store – or as many as you need.

Think man pages for your projects – for humans and agents alike.

Install

Install script (Linux and macOS):

curl -fsSL https://github.com/timorunge/lore/releases/latest/download/lore-cli-installer.sh | bash

Homebrew (macOS and Linux):

brew install timorunge/tap/lore-cli

Or download a pre-built binary directly from the releases page.

Windows: Pre-built binaries are available for Linux and macOS. On Windows, use WSL (recommended) or build from source with cargo install (OCR requires cmake and is not supported on MSVC – omit with --no-default-features --features ingest,mcp).

Build from source:

git clone https://github.com/timorunge/lore.git
cd lore
cargo install --locked --path cli

Optional feature flags:

Flag Default Description
ocr on OCR for scanned PDFs and images (requires cmake)
llm off LLM enrichment (lore ingest, lore enrich): Ollama, Anthropic, OpenAI, and Bedrock
s3 off Amazon S3 source support
mcp on Upstream MCP server ingestion (resources and tool calls)
iwork off Apple iWork documents (Keynote, Pages, Numbers)
tree-sitter off Source code parsing via tree-sitter
cargo install --locked --path cli --features llm         # with LLM enrichment
cargo install --locked --path cli --features llm,s3      # with LLM + S3 support
cargo install --locked --path cli --all-features         # all optional features
cargo install --locked --path cli --no-default-features  # minimal build (no OCR, no MCP)

# Windows (native, no OCR):
cargo install --locked --path cli --no-default-features --features ingest,mcp

Quick start

cd my-project
lore init                     # generates .lore/lore.yaml from your project
lore ingest                   # build the store
lore search "authentication"  # search from the terminal
lore serve                    # or serve to agents over MCP

lore init scans your directory, detects documentation folders and README files, and generates a config with pre-filled sources. Review it, ingest, and search – from your terminal or through any MCP client.

Try it without your own docs

If you cloned the repo, the gutenberg example works out of the box:

cd examples/gutenberg
lore ingest
lore search "love and death"
GitHub で README 全文を見る

インストール

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

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

設定

{ "mcpServers": { "my-docs": { "command": "lore", "args": ["serve"], "env": { "LORE_CONFIG": "/path/to/.lore/lore.yaml" } } } }