MCP server
Cairn
Log Claude Code work sessions, file edits, and tasks to your Cairn account.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.2
- Listing updated
- 5 days ago
About Cairn
Cairn is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add cairn-mcp --env CAIRN_TOKEN='<CAIRN_TOKEN>' -- uvx cairn-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"cairn-mcp": {
"command": "uvx",
"args": [
"cairn-mcp"
],
"env": {
"CAIRN_TOKEN": "<CAIRN_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"cairn-mcp": {
"command": "uvx",
"args": [
"cairn-mcp"
],
"env": {
"CAIRN_TOKEN": "<CAIRN_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"cairn-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"cairn-mcp"
],
"env": {
"CAIRN_TOKEN": "<CAIRN_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"cairn-mcp": {
"command": "uvx",
"args": [
"cairn-mcp"
],
"env": {
"CAIRN_TOKEN": "<CAIRN_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"cairn-mcp": {
"command": "uvx",
"args": [
"cairn-mcp"
],
"env": {
"CAIRN_TOKEN": "<CAIRN_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
CAIRN_TOKENYour Cairn API token, copied from the web app account menu. If unset, the server reads it from ~/.cairn_token.CAIRN_API_URLBase URL of the Cairn API. Defaults to production.
Pricing
Open source
Cairn FAQ
Is Cairn free?
Yes. Cairn is open source, so you can use and self-host it for free.
How do I add Cairn to Claude Code?
Run this command in your terminal: claude mcp add cairn-mcp --env CAIRN_TOKEN='<CAIRN_TOKEN>' -- uvx cairn-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.