Libragen
Create private, local RAG libraries that work offline—no API keys, no cloud services. Share them as single files your whole team can use.
libragen
(pronounced "LIB-ruh-jen")
Ground your AI in real documentation—not stale training data
Documentation • Getting Started • CLI • MCP Server • Discussions
Create private, local RAG libraries from any documentation. Libraries are single SQLite files you can share with your team—no cloud, no API keys.
Why libragen?
- Stop hallucinations — Give AI agents authoritative docs to cite instead of guessing
- Always current — Rebuild when docs change; your AI gets the latest APIs
- Private & local — Everything runs on your machine, nothing leaves your network
- Shareable — Single
.libragenfiles work anywhere
Packages
| Package | Description |
|---|---|
@libragen/cli | Build and query libraries from the command line |
@libragen/mcp | Connect AI assistants to your libraries via MCP |
@libragen/core | Programmatic API for embedding, search, and library management |
Quick Start
1. Build a library
# From local docs
npx @libragen/cli build ./your-private-docs --name company-docs
# From a git repository
npx @libragen/cli build https://github.com/anthropics/anthropic-cookbook --name anthropic-cookbook
2. Connect your AI
npx -y install-mcp @libragen/mcp
Restart your AI tool (Claude Desktop, VS Code, Cursor, etc.). Libraries in your global directory are now searchable.
3. Ask questions
"How do I implement tool use with Claude's API?"
"What's our internal policy on deploying to production?"
"Show me examples of streaming responses from the Anthropic cookbook"
Your AI retrieves relevant documentation and responds with accurate, cited answers—not hallucinated guesses from 2-year-old training data.
What else can you do?
- Chat with your Obsidian vault — Tutorial →
- Make your company's internal docs searchable — Runbooks, wikis, policies—all queryable by AI
- Create a shared library for your team — One
.libragenfile, everyone's on the same page - Auto-build libraries in CI — Use the GitHub Action to generate
.libragenfiles on every push
License
MIT — see LICENSE for details.
İlgili Sunucular
O'Reilly Learning Platform
Search and manage content on the O'Reilly Learning Platform.
SerpApi
Retrieve parsed search engine results using the SerpApi API.
bbox-mcp-server
Bounding box coordinate conversion, EPSG projections, H3 indexing, Overpass OSM queries, and shareable map links
Mastra Docs Server
Provides AI assistants with direct access to Mastra.ai's complete knowledge base.
Pokemon TCG Card Search MCP
Search and display Pokemon Trading Card Game cards using the Pokemon TCG API.
Brave Search
An MCP server for the Brave Search API, providing both web and local search capabilities.
Splunk
An MCP server for Splunk to search, analyze, and visualize machine-generated data from your Splunk instance.
Gemini Grounding Remote
Fetches user data and event information from the Connpass platform using the Connpass and Gemini APIs.
MCP Tavily
Advanced web search and content extraction using the Tavily API.
招投标大数据服务
Provides comprehensive bidding and tender information query services, including statistics, searches, and planned project queries.