lilbee-mcp

lilbee-mcp is a skill for Claude Code from tobocop2/lilbee. It costs 80 tokens per session (2,033 once invoked), scanned A, original, MIT.

A local search service for a project's indexed code, documents, PDFs, and web pages. It uses retrieval-augmented generation (RAG), which finds relevant stored passages for an answer, and includes file-and-line citations.

In plain words
What is it for?
It helps search a local knowledge base, answer questions with citations, ingest content, and manage retrieval settings through MCP, a tool interface for AI agents.
Why use it?
It makes answers about your own files easier to verify while keeping the indexed data on your machine.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the lilbee plugin — 2 skills, 1 agent shipped together

Good fit It helps search a local knowledge base, answer questions with citations, ingest content, and manage retrieval settings through MCP, a tool interface for AI agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tobocop2/lilbee/lilbee-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tobocop2/lilbee --skill lilbee-mcp
Clone the repo
git clone --depth 1 https://github.com/tobocop2/lilbee

Made for: Claude Code.

Or install lilbee, the plugin that ships this one along with the rest of its 2 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lilbee-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/tobocop2/lilbee/lilbee-mcp/github.svg)](https://agentmods.dev/skills/tobocop2/lilbee/lilbee-mcp)
Your own site
<a href="https://agentmods.dev/skills/tobocop2/lilbee/lilbee-mcp"><img src="https://agentmods.dev/badge/skills/tobocop2/lilbee/lilbee-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lilbee-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/tobocop2/lilbee/lilbee-mcp"><img src="https://agentmods.dev/badge/skills/tobocop2/lilbee/lilbee-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.02033
Opus 5.5 $0.00032 $0.00813
Sonnet 5.5 $0.00016 $0.00407
Haiku 4.5 $0.00008 $0.00203

Measured 2d ago against content hash 726a7f64240e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

lilbee-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/lilbee/skills/lilbee-mcp/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

lilbee

lilbee is a local retrieval engine. It indexes the user's files into a .lilbee/ store. The data stays on the user's machine. Only the text you quote leaves it. By default, search may ask the chat model for query variants (it skips very short queries), so it can be slow while that model is busy.

When to use it

Reach for lilbee first when the user asks where something is, how something in their own code or documents works, or what a document says. Web-fetch and file-read tools cannot see the index. Do not use lilbee as a web search or as a code editor.

How to reach it

Pick one path and stay on it.

  • MCP. If your tool list has tools from the lilbee MCP server, call them. The host adds its own prefix to the tool name, so look for a tool whose name contains lilbee and ends in the tool name, such as search (for example lilbee_search, mcp__lilbee__search or mcp__plugin_lilbee_lilbee__search). The table below uses the lilbee_ form.
  • CLI. Otherwise run lilbee --json <command> in a shell. Each command prints one JSON object per line. An error exits non-zero with {"error": "..."}. If lilbee is not on the PATH, tell the user to install it. Do not guess another path.
Step MCP CLI
Check the library lilbee_status lilbee --json status
Search lilbee_search lilbee --json search "query" --top-k 12
Add content lilbee_add lilbee --json add <path or URL>...
Re-index after edits lilbee_sync lilbee --json sync
Remove content lilbee_remove lilbee --json remove <name, folder or glob>
List sources lilbee_list_documents lilbee --json status --list-sources

The MCP server sends the description of every tool. Run lilbee --json <command> --help for CLI options. These tools also exist, and each description says what it does:

  • Crawl and create. lilbee_crawl starts a non-blocking crawl and returns a task_id. Poll lilbee_crawl_status, or stop it with lilbee_crawl_cancel. lilbee_init creates a .lilbee/ in a directory and switches the session to it.
  • Models. lilbee_model_list, lilbee_model_show, lilbee_catalog_browse, lilbee_model_pull (long) and lilbee_model_rm. Check the compat field from lilbee_catalog_browse before a pull.
  • Datasets. lilbee_export_dataset writes a per-page dataset with no embedding. lilbee_import_dataset re-embeds every page (long).
  • Sessions. lilbee_sessions_list, lilbee_session_get, lilbee_session_create, lilbee_session_fork, lilbee_session_add_message, lilbee_session_set_summary, lilbee_session_rename and lilbee_session_delete. They cover your own sessions only. Ask before you take over a session id the user gives you (claim=true on lilbee_session_add_message). They appear only when mcp_sessions_enabled is on.
  • Memory. lilbee_memory_remember, lilbee_memory_recall, lilbee_memory_list and lilbee_memory_forget keep durable notes. They appear only when memory_enabled is on.
  • Profiles. lilbee_profile_list, lilbee_profile_show, lilbee_profile_apply, lilbee_profile_manage, lilbee_analyze and lilbee_analyze_dismiss read and change the project's profile. They appear only when mcp_profiles_enabled is on. Open the settings reference before you use them.
  • Server presets. lilbee_preset_list, lilbee_preset_add, lilbee_preset_edit and lilbee_preset_remove store OpenAI-compatible servers. They appear only when mcp_presets_enabled is on. Open the settings reference before you use them.
  • Engines. lilbee_engine_list, lilbee_engine_remove, lilbee_engine_roles, lilbee_engine_use, lilbee_engine_prefer and lilbee_engine_install read and set the engine of each role, and install an engine that is not bundled. They appear only when mcp_engines_enabled is on. Open the settings reference before you use them.

Read the full file on GitHub · 136 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +8 lines 726a7f64240e
  2. 12d ago Changed · -200 lines · -15 tokens per session eceed74a30d3
  3. 24d ago First seen · 328 lines · 95 tokens per session scan A 92bddb8e9d3b

Subscribe to this mod's changes

lilbee-mcp is a skill published in the GitHub repository tobocop2/lilbee (73 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 2,033 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

lilbee-mcp compared with skills from other repositories

lilbee-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lilbee-mcptobocop2/lilbeeSkill73todayMITA80Claude Code
rag-qdrantdavila7/claude-code-templatesSkill34ktodayMITA45Claude Code, Codex
rag-index-decisionslyonzin/knowledge-ragSkill3062d agoMITA72Claude Code, Codex
rag-code-reviewlyonzin/knowledge-ragSkill3062d agoMITA83Claude Code, Codex
rag-check-firstlyonzin/knowledge-ragSkill3062d agoMITA68Claude Code, Codex
rag-cite-sourceslyonzin/knowledge-ragSkill3062d agoMITA84Claude Code, Codex
rag-onboard-contextlyonzin/knowledge-ragSkill3062d agoMITA67Claude Code, Codex