lilbee MCP工具 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.2 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
lilbee MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
lilbee MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/tobocop2/lilbee
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"lilbee-mcp--": {
"command": "npx",
"args": ["-y", "lilbee"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 lilbee MCP工具 执行以下任务... Claude: [自动调用 lilbee MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"lilbee_mcp__": {
"command": "npx",
"args": ["-y", "lilbee"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://lilbee.sh/"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tobocop2/lilbee/main/docs/lilbee-logo-dark.svg"> <img alt="lilbee" src="https://raw.githubusercontent.com/tobocop2/lilbee/main/docs/lilbee-logo-light.svg" width="340"> </picture> </a> </p>
<p align="center"><strong>Run and manage local AI models, and search everything you own with them, all in one program.</strong></p>
<p align="center"><a href="https://lilbee.sh/">Project site</a> · <a href="https://lilbee.sh/tutorial">Tutorial reels</a> · <a href="https://pypi.org/project/lilbee/">PyPI</a> · <a href="https://obsidian.lilbee.sh/">Obsidian plugin</a> · <a href="https://lilbee.sh/api/">REST API</a></p>
<p align="center"> <a href="https://github.com/tobocop2/lilbee/releases"><img src="https://img.shields.io/github/v/release/tobocop2/lilbee?include_prereleases&label=release&logo=github&logoColor=white" alt="Latest release"></a> <a href="https://pypi.org/project/lilbee/"><img src="https://img.shields.io/pypi/v/lilbee?include_prereleases&label=PyPI&logo=pypi&logoColor=white" alt="lilbee on PyPI"></a> <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white" alt="Python 3.11+"></a> <img src="https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-lightgrey" alt="Platforms"> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-2C3E50" alt="License: MIT"></a> <a href="https://community.obsidian.md/plugins/lilbee"><img src="https://img.shields.io/badge/Obsidian-Community%20plugin-7c3aed?logo=obsidian&logoColor=white" alt="Obsidian community plugin"></a> <a href="https://glama.ai/mcp/servers/tobocop2/lilbee"><img src="https://glama.ai/mcp/servers/tobocop2/lilbee/badges/score.svg" alt="Glama MCP server score"></a> </p>
<p align="center"> <a href="https://github.com/tobocop2/lilbee/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/tobocop2/lilbee/ci.yml?branch=main&label=CI&logo=githubactions&logoColor=white" alt="CI"></a> <a href="https://lilbee.sh/coverage/"><img src="https://img.shields.io/badge/coverage-100%25-2EA043" alt="Coverage"></a> <a href="https://mypy-lang.org/"><img src="https://img.shields.io/badge/typed-mypy-2A6DB2" alt="Typed"></a> <a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"></a> <a href="https://pepy.tech/project/lilbee"><img src="https://img.shields.io/pepy/dt/lilbee?label=downloads&logo=python&logoColor=white&color=3776AB" alt="PyPI downloads"></a> <a href="https://github.com/tobocop2/lilbee/releases"><img src="https://img.shields.io/github/downloads/tobocop2/lilbee/total?label=release%20downloads&logo=github&logoColor=white&color=2C3E50" alt="GitHub release downloads"></a> </p>
<p align="center"> <a href="https://pypi.org/project/lilbee/"><img src="https://img.shields.io/badge/PyPI-pip%20%7C%20uv-3775A9?logo=pypi&logoColor=white" alt="Install from PyPI"></a> <a href="https://github.com/tobocop2/homebrew-lilbee"><img src="https://img.shields.io/badge/Homebrew-tap-FBB040?logo=homebrew&logoColor=white" alt="Homebrew tap"></a> <a href="https://aur.archlinux.org/packages/lilbee"><img src="https://img.shields.io/aur/version/lilbee?logo=archlinux&logoColor=white&label=AUR" alt="lilbee on the AUR"></a> <a href="https://github.com/tobocop2/lilbee/pkgs/container/lilbee"><img src="https://img.shields.io/badge/Docker-ghcr.io-2496ED?logo=docker&logoColor=white" alt="Docker image on GHCR"></a> </p>
<p align="center"> <a href="https://github.com/tobocop2/lilbee#install"><img src="https://img.shields.io/badge/Nix-flake-5277C3?logo=nixos&logoColor=white" alt="Nix flake"></a> <a href="https://tobocop2.github.io/flatpak-lilbee/"><img src="https://img.shields.io/badge/Flatpak-repo-4A90D9?logo=flatpak&logoColor=white" alt="Flatpak repo"></a> <a href="https://github.com/tobocop2/lilbee/releases/latest"><img src="https://img.shields.io/badge/Snap-sideload-82BEA0?logo=snapcraft&logoColor=white" alt="Snap package"></a> <a href="https://github.com/tobocop2/lilbee#install"><img src="https://img.shields.io/badge/Scoop-bucket-555555?logo=windows&logoColor=white" alt="Scoop bucket"></a> </p>
A batteries-included local search engine you can talk to: it runs the AI models, indexes your files and code, crawls the web, and plugs into your coding agent, so there's nothing else to install or set up. Ask in plain English; every answer cites the file and line.

It's all one program: no separate model server, vector database, or container to stand up. lilbee runs the models and keeps the index itself. Reach it as a terminal app, CLI, Model Context Protocol server, HTTP API, or Python library. Close it and it's gone, or run it as a service to keep it warm. Everything runs on your computer; it uses a cloud model only when you pick one.
Models are no different: lilbee has its own model manager and multi-GPU fleet, built on llama.cpp, so one executable does everything (browse Hugging Face, download a model, give it a role, run it on Metal / Vulkan / CUDA). Battle-tested managers are always supported too. If you already use Ollama or LM Studio, point lilbee at your existing setup and skip its native model support if you prefer.
Tutorial reel: every demo on this page (and the extras) as a real video player at lilbee.sh/tutorial.
## ⚠️ Beta software lilbee is in active beta development. Every release on PyPI is a pre-release; you must use--pre(or uv's--prerelease=allow) when installing. Interfaces, command names, and on-disk formats may shift between betas. Feedback, bug reports, and issues are very welcome; that's the whole point of the beta. Latest pre-release (always): lilbee on PyPI →
---
---
lilbee, and a first-run wizard pulls a model and drops you straight into chat.Standalone mode runs entirely on your machine. No cloud required. Minimum: Apple Silicon Mac, or a 64-bit Intel/AMD CPU from 2013+ (older CPUs: On older CPUs), or an ARMv8 Linux box; 8 GB RAM, 2 GB disk.
<details> <summary>Full platform and resource breakdown</summary>
| Platform | Minimum | Recommended |
|---|---|---|
| **macOS arm64** | Apple Silicon (M1 or newer), macOS 11+ | M-series Pro / Max / Ultra |
| **Linux x86_64** | 64-bit Intel/AMD from 2013+ ([x86-64-v3](https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels)) | Modern Intel/AMD CPU + an NVIDIA, AMD, or Intel Arc GPU |
| **Windows x86_64** | 64-bit Intel/AMD from 2013+ (x86-64-v3), Windows 10/11 | Modern desktop / workstation CPU + GPU |
| **Linux ARM64** | ARMv8 NEON-capable (Raspberry Pi 4+, AWS Graviton, Ampere Altra) | Modern ARM server with 16+ GB RAM |
| Resource | Minimum | Recommended |
|---|---|---|
| **RAM** | 8 GB | 16 to 32 GB to keep several local models warm at once (chat + embed + rerank + vision); actual footprint scales with the sizes and quantizations you pick |
| **GPU / Accelerator** | none required (CPU-only works) | Apple Silicon (Metal) · NVIDIA / AMD / Intel Arc (Vulkan) · NVIDIA + CUDA toolkit (opt-in CUDA wheels, see [Install](#install)) |
| **Disk** | 2 GB | 10+ GB for multiple models |
</details>
The Linux x86_64 wheel and binary link the Vulkan loader at runtime. Most desktop distros (Ubuntu 22.04+, Pop!\_OS, Mint) ship libvulkan1; bare Arch / Fedora / Alpine images don't, and lilbee self-check fails with cannot open shared object file: libvulkan.so.1. Install it once: sudo pacman -S vulkan-icd-loader (Arch / Manjaro), sudo dnf install vulkan-loader (Fedora, RHEL), or sudo apt-get install libvulkan1 (Debian, Ubuntu).
If you've already got an MCP-aware coding agent running, it can do the setup: browse the catalog, pull picks, assign them to the embedding / reranker / vision roles, and tune retrieval. No TUI, no config file, no restart. Agents already understand search engines, so the right knobs are obvious to them. See the lilbee-mcp skill for the workflow and example prompts.
Two routes, and the difference matters:
pip or uv (Python 3.11 to 3.14). Uses the Python and tooling you already have, picks the fastest CPU code path for your machine at runtime, and upgrades like any other package. Recommended if you have Python.llama.cpp, and the optional extras) and a small cold-start cost the first time it self-extracts. Recommended if you'd rather not deal with Python.Have an NVIDIA GPU? Both routes have a CUDA build that's faster than the default Vulkan path. Skip to On NVIDIA hardware.
No external services either way; lilbee downloads and runs models locally. Optional, for scanned-PDF / image OCR: Tesseract (brew install tesseract / apt install tesseract-ocr) or a GGUF vision model.
| How | Command | Notes |
|---|---|---|
| **pip** | pip install --pre lilbee | Recommended. The default wheel runs on any x86_64 CPU with AVX2 (2013+; older CPUs: [On older CPUs](#on-older-cpus-pre-avx2)) and uses your GPU via Vulkan / Metal automatically. Intel Mac: add --extra-index-url https://lilbee.sh/cpu/ ([browse wheels](https://lilbee.sh/cpu/lilbee/)). |
| **uv** | uv tool install --prerelease=allow lilbee | Same wheel as pip; fetches a Python for you if you need one. |
| **Homebrew** | brew tap tobocop2/lilbee && brew install lilbee | macOS arm64 / Linux x86_64. Bundled build; clears the macOS quarantine flag for you. |
| **AUR** | paru -S lilbee | Arch Linux. Wraps the Linux x86_64 binary; works with yay / pacaur / any helper. |
| **Docker** | docker run --rm -v lilbee-data:/home/lilbee/data ghcr.io/tobocop2/lilbee:latest --help | GHCR image, tagged by version and latest. Data lives at /home/lilbee/data. Mount a volume there. |
| **Nix** | nix run github:tobocop2/lilbee | NixOS, nix-darwin, or any host with nix. On Linux the flake bundles glibc, libgomp, and vulkan-loader so it runs on bare NixOS. |
| **Flatpak** | flatpak remote-add --if-not-exists lilbee https://tobocop2.github.io/flatpak-lilbee/lilbee.flatpakrepo && flatpak install lilbee io.github.tobocop2.lilbee | Linux x86_64, any distro with flatpak. Needs the [Flathub remote](https://flathub.org/setup) for the runtime. Run with flatpak run io.github.tobocop2.lilbee (worth an alias); flatpak update picks up new releases. Data lives under ~/.var/app/io.github.tobocop2.lilbee/. |
| **Snap** | curl -LO https://github.com/tobocop2/lilbee/releases/latest/download/lilbee-linux-x86_64.snap && sudo snap install ./lilbee-linux-x86_64.snap --dangerous --classic | Linux x86_64. Sideloaded, so snapd flags it --dangerous (it just means unsigned) and it won't auto-update; rerun the same command to upgrade. |
| **Scoop** | scoop bucket add lilbee https://github.com/tobocop2/lilbee && scoop install lilbee | Windows x86_64. Installs the CUDA build on machines with a recent NVIDIA driver, otherwise the CPU build. scoop update lilbee upgrades. |
| **Standalone binary** | [download for your platform →](https://github.com/tobocop2/lilbee/releases/latest) | One file, own Python runtime, no pip needed. Linux needs glibc 2.28+; the macOS / Windows builds are unsigned (xattr -d com.apple.quarantine ./lilbee-macos-arm64 if Gatekeeper blocks it). |
| **From source** | git clone https://github.com/tobocop2/lilbee && cd lilbee && uv sync && uv run lilbee | For hacking on it. Needs git and uv. |
Two recommended ways to use lilbee, depending on whether you're the one driving:
lilbee for the full-screen terminal app. A welcome wizard picks a chat and embedding model, then you index files, search, and chat without leaving the TUI. The Settings screen exposes every retrieval knob (search depth, distance threshold, reranker, chunking) so you can tune lilbee to your library shape.lilbee_search / lilbee_add and gets back cited snippets it can quote. Agents can also fine-tune lilbee on the fly via lilbee_settings_set. Drop in the lilbee-mcp skill and the agent reads the full surface: every tool, every retrieval knob, and when to widen for prose vs narrow for code. See Agent integration.Defaults are sane for chatting with code, documentation, crawled sites, and long PDFs. Every retrieval setting is writable from the TUI Settings screen, the /set slash command, MCP lilbee_settings_set, or config.toml. When answers feel thin or noisy, the usual knobs are top_k, max_distance, or diversity_max_per_source.
CLI, the HTTP API, env vars, and config.toml are there for scripting, headless runs, and custom integrations. See the usage guide.
These only matter for a pip or uv install: add the name in brackets, e.g. pip install --pre 'lilbee[crawler,litellm]' (combine multiple, and --extra-index-url still works for CUDA). The standalone binary and the Homebrew / AUR / Nix / Docker / Flatpak / Snap builds already include all three. lilbee works without them either way.
| Extra | What it adds |
|---|---|
[crawler] | Index websites alongside your files: crawl a docs site or wiki to markdown, then search it offline. |
[litellm] | Bridge to hosted model providers for chat, vision, or embeddings while other roles stay local. The TUI flags when a hosted role is active. |
[graph] | Concept-graph search: extracts the ideas in your documents and uses how they relate to surface matches plain keyword search misses. No extra model calls. |
See the full guide on optional extras for configuration.
For tools that talk to lilbee's HTTP REST API (the Obsidian plugin, custom GUIs, anything hitting /api/*), your OS launcher can keep the HTTP server warm so requests skip the cold-start.
<details> <summary>Daemon setup per platform</summary>
This is the only lilbee surface that benefits from a daemon. The TUI, lilbee chat, the MCP server, and the rest of the CLI load on demand and exit when you close them. No always-on process to babysit.
Pull a chat and embedding model first; all recipes pin the server to 127.0.0.1:42697.
| Platform | Command |
|---|---|
| **macOS (Homebrew)** | brew services start lilbee |
| **Linux (Arch / AUR)** | systemctl --user enable --now lilbee (add loginctl enable-linger $USER on headless servers) |
| **NixOS** | Import lilbee.nixosModules.lilbee, set services.lilbee.enable = true; |
</details>
Once configured, lilbee plugs into whatever agent you use, over MCP. Feed it your project's docs, your dependency source, your API docs, your design notes; the agent stops making up function names and instead reads the actual code, cites file and line, and says it doesn't know when the answer isn't in your library.
Your files, the search index, and the embeddings stay on your computer. The agent calls lilbee_search and gets back cited snippets. The demo below is lilbee talking to lilbee: an agent indexes lilbee's own source, then answers questions about how lilbee works with file:line citations.

Local-model opencode support is coming in #267, with tool-calling working across many GGUF families.
The demo shows a small local model (Qwen) given a specific instruction: when its first search comes back thin, widen lilbee's search settings and search again. The second pass returns the full function bodies with file:line citations. A more capable model would do the same from a higher-level prompt like "improve your search results." Read the lilbee-mcp skill to teach your own model the pattern.

Drop the lilbee-mcp skill into .opencode/skills/ or .claude/skills/, register lilbee as an MCP server, and any MCP-aware coding agent can search your library, swap models, and tune retrieval. The skill is the single entry point: it documents every tool, the workflows the agent should follow, and points to drop-in AGENTS.md and worker-subagent starters under examples/agent-integration/.
The demos below use opencode with a cloud model. lilbee stays local; only the queries and the returned chunks go to the cloud model. Local-model opencode integration is on the way across many GGUF families: see Opencode integration (coming) above.
Live-indexing example: opencode (cloud model) indexes a Godot 4 pathfinding subset (~3s), then lilbee_search-es for AStarGrid2D and answers method-by-method against your local files.

It scales up. Pre-index Godot 4's full class reference (810 XMLs, 3449 chunks) and the same opencode + cloud setup writes a procedural level generator, every API call backed by a godot-classes/<Class>.xml:line citation; the side-by-side benchmark measured 4 hallucinated APIs without lilbee, 0 with.

lilbee 是一个开箱即用的本地数据与代码搜索引擎,旨在让你可以直接通过对话的方式与本地文档和代码库进行交互。它不仅是一个搜索工具,更是一个集成了检索与对话能力的智能助手,能够理解你的意图并基于本地上下文提供精准回答。
lilbee 提供全方位的交互体验,支持 TUI、CLI、MCP server、REST API 以及 Python library,通过简单的 `pip install` 即可完成部署,无需额外配置守护进程、推理服务器或向量数据库。其核心亮点在于回答会精准引用源代码行,点击即可跳转;同时支持索引包括 PDF、Office 文档、电子书及 150 多种语言的源代码在内的各类文本数据。
lilbee 采用 Standalone 模式,完全在本地运行,无需云端连接。硬件最低要求为 Apple Silicon Mac、2013 年以后的 64 位 Intel/AMD CPU 或 ARMv8 Linux 设备,配备 8 GB RAM 及 2 GB 磁盘空间。在 Linux 环境下,x86_64 版本需确保系统已安装 `libvulkan1`(如 Ubuntu 22.04+),否则在 Arch、Fedora 或 Alpine 等精简镜像中可能会因缺少 Vulkan loader 而导致 `lilbee self-check` 失败。
安装方式分为两条路径:1. Python 环境安装:使用 `pip` 或 `uv` 安装(支持 Python 3.11 至 3.14),这种方式体积更小,且能根据机器硬件自动选择最优的 CPU 执行路径,适合已有 Python 环境的开发者。2. 独立捆绑包安装:提供 Standalone binary、Homebrew、AUR、Nix 或 Docker 构建版本,无需安装任何依赖,开箱即用。此外,如果你正在使用支持 MCP 的 Agent,可以直接通过 Agent 完成自动化配置。
根据你的使用场景,lilbee 提供两种启动方式:如果你希望进行沉浸式交互,可以直接运行 `lilbee` 进入全屏终端应用(TUI),通过向导选择聊天与 Embedding 模型,并对文件进行索引;随后你可以在 TUI 中进行搜索与对话。TUI 内置了详尽的 Settings 界面,允许你精细调节搜索深度、距离阈值、Reranker 及分块(Chunking)策略,以适配不同规模的本地库。
对于通过 `pip` 或 `uv` 安装的用户,可以通过可选扩展进行增强,例如使用 `pip install --pre 'lilbee[crawler,litellm]'` 来添加爬虫或 LiteLLM 支持。而使用 Standalone binary 或 Docker 等构建版本时,所有功能已预装完毕。此外,若需通过 HTTP REST API(如 Obsidian 插件或自定义 GUI)调用 lilbee,建议通过 OS 启动器将其作为服务运行,以保持 HTTP server 处于热启动状态,避免冷启动延迟。
lilbee 正在积极集成 Opencode 支持,未来将实现对多种 GGUF 格式本地模型的 Tool-calling 支持。通过集成 `lilbee-mcp` skill,你可以将 lilbee 注册为 MCP server 并放入 `.opencode/skills/` 或 `.claude/skills/` 目录中。这样,任何支持 MCP 的编程 Agent(如 Claude)都能直接调用 lilbee 进行库搜索、模型切换及检索参数调优,实现智能化的本地知识检索工作流。
创新��MCP集成方案,结合本地搜索与AI对话。功能完整但生态成熟度有限,适合技术用户探索。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,lilbee MCP工具 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | lilbee |
| 原始描述 | 开源MCP工具:Terminal-first local search and AI chat over your documents, code, and crawled w。⭐18 · Python |
| Topics | 本地搜索文档对话网页爬虫向量嵌入终端工具 |
| GitHub | https://github.com/tobocop2/lilbee |
| License | NOASSERTION |
| 语言 | Python |
收录时间:2026-05-16 · 更新时间:2026-05-22 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端