Cairn
Local-first file-organization tools for your AI agent: tag, query, and digest a folder. No cloud.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
cairn-mcp-serverclaude mcp add cairn -e 'CAIRN_WORKSPACE=<CAIRN_WORKSPACE>' -- uvx cairn-mcp-server==0.2.0
{
"mcpServers": {
"cairn": {
"command": "uvx",
"args": [
"cairn-mcp-server==0.2.0"
],
"env": {
"CAIRN_WORKSPACE": "<CAIRN_WORKSPACE>"
}
}
}
}
Environment variables
CAIRN_WORKSPACEPath to the folder Cairn operates on. If unset, defaults to the current working directory. You can also pass --workspace on the command line instead.
Frequently asked questions
What is Cairn?
Local-first file-organization tools for your AI agent: tag, query, and digest a folder. No cloud.
How do I install Cairn?
It runs on your machine. In Claude Code: claude mcp add cairn -e 'CAIRN_WORKSPACE=<CAIRN_WORKSPACE>' -- uvx cairn-mcp-server==0.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Cairn need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is Cairn open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Cairn?
It is published by luckyjackluo. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.