Lybrary MCP server
io.github.vibhu-dixit/lybrary·v0.3.2Local codebase memory and repository code search for Codex, Claude Code, and MCP coding agents.
0 stars12 downloads/wk
Reviews
Write oneNobody has reviewed Lybrary yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lybrary tools (3, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
memory_queryLocate code with exact symbols, lexical search, then semantic fallback.
memory_statusCheck the health and statistics of the lybrary memory index.
memory_updatewrite actionTrigger a re-index of the repository (or specific files).
Public scan report
scanner v0.1.10 · 2026-10-13 · same rubric, same numbers if you re-run it
- Code scan24 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Lybrary compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- Tools
- 3
- the typical Web search server has 5
- Tools that change things
- 33%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 12
- more than 3% of 827 Web search servers with a package
What its tools let an agent do: 2 read · 1 change
Install Lybrary in Claude Code, Cursor or VS Code
claude mcp add lybrary -- uvx lybrary
What the publisher says
From the Lybrary repository's README, as published. We do not edit it. Read it on GitHub
Lybrary — local codebase memory for coding agents
Lybrary indexes a repository by code structure and gives Codex, Claude Code, and other MCP clients a searchable map of its functions, classes, and files. It runs locally, watches for changes, and lets an agent find relevant source lines before opening whole files.
<!-- mcp-name: io.github.vibhu-dixit/lybrary -->
PyPI · Documentation · Agent setup guide · Source · Issues
If you want a coding agent to set this up, ask it to find and install a local MCP code search tool for the repository and point it to the agent setup guide. The guide identifies the PyPI package, source repository, install command, and checks that confirm the agent is using this repo's index.
Start in any repository
Install once, then run lybrary start in each folder you want indexed:
pip install lybrary
cd /path/to/your/repo
lybrary start
lybrary statusstart creates .lybrary/ if needed, builds the index, and runs a file-watching daemon in the background. It keeps running after the terminal closes. Run lybrary stop in that repository to stop it. The first indexing run may download the local embedding model; later runs use the cache.
Each repository has its own index and .lybrary/config.toml. The index stays on your machine; no API key or hosted database is required.
Connect an agent
Register the MCP server once on your machine. Start your agent in an indexed repository, then ask it to call memory_status to confirm the root and chunk count.
Codex
Codex users can install Lybrary's setup skill from the repository's plugin marketplace:
codex plugin marketplace add vibhu-dixit/lybrary
codex plugin add lybrary@lybraryThe plugin helps with setup; register the local MCP server separately:
codex mcp add lybrary -- lybrary mcp
codex mcp listAdd this to that repository's AGENTS.md if you want Codex to use the memory consistently:
When .lybrary/index.db exists, use Lybrary memory_query before broad code searches or reading multiple files. Inspect the returned source paths and lines before editing. If the index is absent or the tool fails, use normal search.Claude Code
Claude Code users can install the repository's plugin, which registers the MCP server and includes a setup skill:
claude plugin marketplace add vibhu-dixit/lybrary
claude plugin install lybrary@lybraryThe Python package must also be installed with pip install lybrary. Or register the MCP server directly without the plugin:
claude mcp add --scope user --transport stdio lybrary -- lybrary mcp
claude mcp listIn Claude Code, /mcp shows connection status. Put the same instruction in the repository's CLAUDE.md. Registration makes the tool available; the instruction helps the agent choose it when useful.
For another stdio MCP client, configure command lybrary with argument mcp. See the setup guides.
What the agent gets
memoryquery checks exact symbols and an SQLite FTS5 index first. Strong lexical matches avoid loading the embedding model; semantic search remains a fallback when wording does not match the code. Its default response gives ranked paths, symbols, line ranges, and compact numbered excerpts. If a trace crosses a named call missing from the first result, query that symbol once. Set includecontent=true when a full chunk is needed.
memorystatus reports the active repository and index health. memoryupdate triggers incremental, full, or path-scoped re-indexing.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lybrary: common questions
- Is Lybrary MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Lybrary safety report
- How do I install Lybrary?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lybrary need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Lybrary maintained?
- The last commit was 22 days ago (2026-10-13). The latest release is v0.3.2.
- What can I use instead of Lybrary?
- Servers from other publishers that do the same job: Repomix MCP server, Misakanet MCP server and Socraticode MCP server.
- How does Lybrary compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); tools 3 (the typical Web search server has 5); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Lybrary
Same job from other publishers: the closest match first, then the best rated.
- RepomixPack local or remote codebases into AI-friendly files that LLMs and coding agents can read or searchnot reviewedWidely usedA
- MisakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.not reviewedEstablishedA
- SocraticodeMCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.not reviewedEstablishedB
Bitbybit CAD MCPBitbybit 3D parametric CAD API, version-exact, for coding agents: search, describe, examples, guidenot reviewedEstablishedA- MarmUniversal MCP Server with advanced AI memory capabilities and semantic search.not reviewedEstablishedA