
booklib
by booklib-ai·★ 28·Score 44
BookLib is an MCP server that detects AI knowledge gaps in projects and injects context at runtime to fix outdated code patterns.
Overview
BookLib is a context engineering tool that solves the problem of AI assistants using outdated knowledge from training data. It automatically detects post-training APIs and library versions that your project uses but the AI doesn't know about, then injects correct documentation and patterns at runtime via MCP. The tool works with Claude, Cursor, Copilot, and 10+ other AI coding assistants, ensuring generated code matches your team's current decisions and best practices.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose BookLib when your team uses multiple AI coding assistants and needs to ensure consistent code patterns across libraries released after AI training cutoffs.
When NOT to choose this
Don't choose BookLib if your project doesn't use post-training dependencies or if you prefer a simple, single-tool solution without MCP integration.
Tools this server exposes
12 tools extracted from the READMEbooklib_gapsFind post-training dependencies in your codebase
booklib_resolve_gapsAuto-fix knowledge gaps using Context7 and GitHub
booklib_analyzeShow affected files and post-training APIs in your project
booklib_searchSearch through skills and knowledge base
booklib_captureSave team decisions or insights to the knowledge base
booklib_check_importsFlag unknown APIs in a specific file
booklib_check_decisionsCheck code against captured team rules
booklib_connectIndex external documentation sources
booklib_sourcesList connected documentation sources
booklib_indexRebuild the search index
booklib_doctorRun health check for skills and configuration
booklib_initInitialize booklib with guided setup for your stack
Note: Tools were extracted from CLI reference section. The README shows booklib as a CLI tool that operates through MCP hooks, but doesn't explicitly list MCP tool names. The tool names are based on CLI commands but represent functionality expose
Comparable tools
Installation
Install BookLib globally:
npm install -g @booklib/coreInitialize the tool:
booklib initFor Claude Desktop integration, BookLib automatically configures MCP during initialization. The generated configuration can be found in your Claude Desktop config directory under the booklib section.
FAQ
- What AI tools does BookLib support?
- BookLib supports Claude Code, Cursor, Copilot, Gemini CLI, Codex, Windsurf, Roo Code, Goose, Zed, Continue, OpenHands, Junie, OpenCode, and Letta through MCP, plus 14 tools via instruction-file support.
- How does BookLib detect knowledge gaps?
- It scans your dependencies across 10 package ecosystems (npm, PyPI, Maven, etc.), checks publish dates against model training cutoffs, and cross-references with your source code to find affected APIs.
Compare booklib with
Last updated · Auto-generated from public README + GitHub signals.