About Lux
Lux is an MCP server published by snowmerak in the AI category: a tool for managing a knowledge repository (.md files) and providing it to AI agents via the Model Context Protocol (MCP).
The repository has 24 stars and 4 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/snowmerak/luxThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Lux
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
Releases
README
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.
README fetched from the repository 4 days ago. The original is authoritative.