Libragen
Supports building RAG libraries directly from Git repositories, enabling AI to search and retrieve documentation from version-controlled sources.
Enables building searchable RAG libraries from GitHub repositories, allowing AI assistants to ground responses in repository documentation and code.
Mentioned as an example repository that can be built into a searchable RAG library for AI assistants to query React documentation.
Uses SQLite as the storage backend for portable RAG libraries, with embedded vectors, full-text search indexes, and metadata in single-file databases.
Mentioned as an example library that can be included in collections and used programmatically with TypeScript/JavaScript projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Libragensearch our company docs for API rate limiting policies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Personal Research Assistant MCP
Packages
Package | Description |
Build and query libraries from the command line | |
Connect AI assistants to your libraries via MCP | |
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-cookbook2. Connect your AI
npx -y install-mcp @libragen/mcpRestart 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 pageAuto-build libraries in CI — Use the GitHub Action to generate
.libragenfiles on every push
License
MIT — see LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to search and query PDF documents through a local RAG system with vector embeddings. Provides semantic document search capabilities while keeping all data stored locally without external dependencies.Last updated
- Flicense-qualityDmaintenanceEnables semantic search and conversational querying across a personal research library of PDFs, DOCX, and other documents using a vector database. It provides tools for document summarization, finding related papers, and high-accuracy retrieval for AI clients like Claude Desktop.Last updated
- Alicense-qualityDmaintenanceEnables AI coding assistants to search and retrieve information from a locally ingested knowledge base using hybrid search, grounded in user-curated documentation.Last updated17MIT
- Alicense-qualityAmaintenanceEnables local semantic search over documents (PDFs, code, etc.) using local embedding models, allowing AI agents and users to find information by meaning without API keys or cloud services.Last updated3MIT
Related MCP Connectors
Search your knowledge bases from any AI assistant using hybrid RAG.
A personal RAG database you build from chat, so AI creates work that sounds like you.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/libragen/libragen'
If you have feedback or need assistance with the MCP directory API, please join our Discord server