AI Skill Hub 推荐使用:开源MCP工具:Cairn 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Cairn是一个开源的MCP工具,内置了MCP服务器,用于管理笔记和项目。它使用TypeScript编写,提供了一个强大的MCP服务,方便开发者管理笔记和项目。
开源MCP工具:Cairn 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Cairn是一个开源的MCP工具,内置了MCP服务器,用于管理笔记和项目。它使用TypeScript编写,提供了一个强大的MCP服务,方便开发者管理笔记和项目。
开源MCP工具:Cairn 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/ddutchie/cairn
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp---cairn": {
"command": "npx",
"args": ["-y", "cairn"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具:Cairn 执行以下任务... Claude: [自动调用 开源MCP工具:Cairn MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp___cairn": {
"command": "npx",
"args": ["-y", "cairn"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="public/icon.png" alt="Cairn" width="180" /> </p>
A calm, local-first workspace for notes, project tracking, and visual idea mapping — with an AI assistant and MCP server built in.
<p align="center"> <a href="https://ddutchie.github.io/cairn-site/index.html"><img src="https://img.shields.io/badge/Website-Live-blue" alt="Website"></a> <a href="https://ddutchie.github.io/cairn-site/docs"><img src="https://img.shields.io/badge/Docs-Read-green" alt="Docs"></a> <a href="https://github.com/ddutchie/cairn/releases"><img src="https://img.shields.io/github/v/release/ddutchie/cairn?label=Releases" alt="Releases"></a> <a href="https://github.com/ddutchie/cairn/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a> <a href="https://github.com/ddutchie/cairn/issues"><img src="https://img.shields.io/github/issues/ddutchie/cairn" alt="Open Issues"></a> <a href="https://github.com/ddutchie/cairn/discussions"><img src="https://img.shields.io/badge/Discussions-Ask%20or%20share-blueviolet" alt="GitHub Discussions"></a> <a href="https://deepwiki.com/ddutchie/cairn/"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a> </p>
<p align="center"> <img src="public/hero.png" alt="Cairn screenshot" width="100%" /> </p>
Cairn is a desktop app (Electron + Next.js) that combines markdown notes with a kanban board. It is fully compatible with Obsidian vaults, allowing you to point a workspace directly to any existing Obsidian folder. Notes are saved as plain .md files directly in your vault; project and task data lives in a local SQLite database alongside them. No accounts, no cloud, no backend. An embedded AI assistant and a standalone MCP server let AI agents read and write your workspace directly.
⌘K or ⌘⇧F)⌘/)⌘4): ideas, note/task refs, groups, URLs, AI summaries — connected with labelled edgeswindow.cairn.query() data bridge; inline "Fix with AI" on runtime errors; editable via built-in CodeMirror overlay⌘5) with board and notes integration: moves tasks, writes session notes, captures discovered work; supports subagents for deep sub-tasks; Plan Mode writes a PRD note before coding; automatic retry on transient API errors; LLM-based context compaction for long sessions; context usage ring; works with any OpenAI-compatible endpoint⌘5) for running external AI coding agents (Claude Code, OpenCode, Aider, or any CLI) connected to project tasks; file tree, multi-file CodeMirror 6 editor, xterm.js terminal, and git diff viewer⌘6)⌘7)![[image.png]]), uploads files to custom attachment folders, resolves local media via sequential-fallback protocol, and merges YAML frontmatter non-destructively.md files, project data in SQLite; no network requiredgit clone https://github.com/ddutchie/cairn
cd cairn
npm install
npm run rebuild # build better-sqlite3 native binaries for Electron + system Node
npm run compile # compile Electron main process + bundle MCP server
npm run dev # start Cairn (Next.js + Electron)
npm run build:mac # macOS DMG (arm64 + x64)
npm run build:win # Windows NSIS installer (x64 + arm64)
npm run build:linux # Linux AppImage (x64 + arm64)
npm run build:all # All three platforms
Output goes to dist-app/.
Note: Re-runnpm run rebuildafter any Electron version bump. It builds native binaries for three ABIs (Electron, Node 22/MCP, system Node/vitest) and bundles the MCP server into a self-contained binary viascripts/build-mcp-binary.js.
Configure the AI endpoint in Settings → AI & Chat (no restart needed):
| Setting | Default | Notes |
|---|---|---|
| Base URL | https://api.openai.com | Any OpenAI-compatible endpoint |
| Model | gpt-4o-mini | Any model name the endpoint accepts |
| API Key | _(blank)_ | Not required for local endpoints |
Quick presets — one click to switch between OpenAI, Ollama (localhost:11434), and LM Studio (localhost:1234). Local servers don't need an API key.
A small ring in the agent pane header shows how full the model's context window is after each step. Configure the limit for your model in Settings → AI & Chat → Context window (presets: 8k / 32k / 128k / 200k).
When usage reaches 80% the agent automatically summarises older context with a background LLM call — the status bar shows "Compacting context…" while this is in flight. Type /compact in the chat input to trigger compaction on demand at any time. If a transient API error occurs, the status bar shows a countdown ("Transient error — retrying (1/3) in 8s…") and the agent retries automatically.
<details> <summary>View screenshots</summary>
![]() |
![]() |
![]() |
![]() |
![]() |
|
</details>
Cairn是一个开源的MCP工具,内置MCP服务器,方便开发者管理笔记和项目。它使用TypeScript编写,提供了一个强大的MCP服务,方便开发者管理笔记和项目。虽然它的star数较少,但它的代码质量和功能完善,值得关注。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,开源MCP工具:Cairn 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | cairn |
| 原始描述 | 开源MCP工具:Cairn is an AI notes and project management tool with a built in MCP server。⭐11 · TypeScript |
| Topics | mcptypescript |
| GitHub | https://github.com/ddutchie/cairn |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-23 · 更新时间:2026-05-23 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端