Lux
Manage Lux Cloud database projects. Lux is a single database that replaces Redis, Pinecone, InfluxDB, and BullMQ. 2-7x faster than Redis, native vector search, time series, relational tables, queues, and realtime subscriptions in one 2mb binary. Use this MCP to create & manage cloud projects, execute 200+ Redis-compatible commands, query tables, view logs, and more. Starting at $2/mo
Installation
npx luxAsk AI about Lux
Powered by Claude Β· Grounded in docs
I know everything about Lux. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Lux
Lux is a tool for managing a knowledge repository (.md files) and providing it to AI agents via the Model Context Protocol (MCP). This project features the ability to index and search highly structured knowledge data.
Project Structure
.
βββ cmd/
β βββ indexer/ # Tool to read Markdown files and generate a search index (Bleve)
β βββ lux/ # Entry point for running the MCP server
βββ knowledge/ # Markdown-based knowledge repository (Raw data)
βββ pkg/
β βββ knowledge/ # Knowledge data modeling and Bleve search engine logic
β βββ lux/ # Lux application framework core
β βββ mcp/ # MCP server implementation and Tool definitions
βββ Taskfile.yml # Build and task automation configuration
βββ go.mod # Go module dependency definition
Key Features
- Knowledge Indexing: Analyzes Markdown files in the
knowledge/directory to create apkg/knowledge/data.bleveindex. - MCP Server: Provides a standard MCP interface so AI agents (e.g., Claude Desktop) can search and retrieve knowledge.
- Knowledge Search (Tools):
search_knowledge: Searches for a list of knowledge items based on tag matching.get_knowledge_content: Retrieves the detailed content of a specific knowledge item by its ID.get_godoc: Retrieves Go documentation for a specific package, type, or function usinggo doc.
- Embedded Index: The generated search index is embedded into the binary for easy distribution and deployment.
Getting Started
Prerequisites
- Go 1.25 or higher
- Go Task (Optional, if using
Taskfile.yml)
Installation & Build
-
Install dependencies and generate the index:
go tool task index -
Build the binary:
go tool task buildor install binary via go install to
$GOPATH/bin/lux:go tool task install
Running
Run the MCP server using the Stdio transport:
./lux.exe
Knowledge Guides
This project includes various guides for development. Refer to these when adding new modules or extending functionality:
- Project Structure: Project layering and architectural principles.
- Entry Point Guide: Guide for the
cmdlayer and using Fx. - Module Generation Guide: Guide for creating Fx modules and managing environment variables.
License
This project is licensed under the MIT License.
