ai-localbase
Self-hosted RAG knowledge base with an embedded MCP server for agents
Install
See the repository for setupWhat it does
AI LocalBase is a local-first retrieval-augmented generation system for turning your own documents into a searchable question-answering knowledge base. It is aimed at individuals and small teams who want a self-hosted alternative, and at anyone experimenting with retrieval strategies or wiring a knowledge backend into external agents.
You create knowledge bases and upload TXT, Markdown, PDF, xlsx, and csv files, which are split, embedded, and stored in Qdrant. Chat answers pull retrieved passages into context, and conversations are persisted in local SQLite. Models come from Ollama or any OpenAI-compatible endpoint, configured from a Settings page.
The recommended install is Docker Compose, bringing up frontend, backend, and Qdrant together; default ports are 4173, 8080, and 6333. Authentication should be enabled for self-hosting, and Qdrant binds to localhost by default.
The built-in MCP server is disabled by default and must be turned on. It speaks HTTP JSON-RPC without SSE or session IDs, so clients must accept JSON responses, and it uses API keys scoped with mcp permissions. The application is single-instance: SQLite state and in-memory jobs are not safe to share across replicas. Embedding dimension must match the configured Qdrant vector size.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 389
- Last push
- Sep 17, 2026
- License
- MIT
- Archived
- No
Other Ollama MCP servers
Compare serversFAQ
- What license does ai-localbase use?
- MIT
- Does ai-localbase run locally or remotely?
- It runs locally.
- Is ai-localbase an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/ai-localbase"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.