100% Local & Private
Code never leaves your machine. All embeddings and search happen locally with no external API calls.
Give AI deep understanding of your codebase through semantic search. 100% local, 100% private.
1. Install Lien:
npm install -g @liendev/lien2. Configure your AI assistant:
.cursor/mcp.json in your project rootclaude_desktop_config.json in your config folder{
"mcpServers": {
"lien": {
"command": "lien",
"args": ["serve"]
}
}
}Location:
~/Library/Application Support/Claude/%APPDATA%\Claude\~/.config/Claude/{
"mcpServers": {
"lien": {
"command": "lien",
"args": ["serve", "--root", "/path/to/your/project"]
}
}
}Replace /path/to/your/project with your actual project path.
3. Restart your AI assistant and start asking questions about your codebase!
That's itβno configuration files needed. Lien auto-detects your project structure and indexes on first use.
Note: Cursor's per-project
.cursor/mcp.jsonapproach is recommended for automatic project switching. Claude Code requires global configuration with explicit--rootpaths. See Getting Started for details.
~/.lien/indices/Lien is built with privacy as a core principle:
Lien is licensed under AGPL-3.0 and free forever for local use. The license ensures:
Questions about licensing? Contact alf@lien.dev
Lien /ljΙΜ/ β French for "link"
Linking semantic code understanding with AI tools, one query at a time.