
Logbook Mcp
io.github.cocaxcode由 GitHub 帳號 cocaxcode 發布v0.8.11更新於 Oct 24, 2026
Developer logbook MCP server. Notes, TODOs, standups, decisions, debug sessions, reminders.
概覽
本機開發者日誌 MCP 伺服器,讓助理依 git 專案記錄筆記、待辦、決策、除錯紀錄、站立會議與提醒,並可全文檢索。
- 可以做什麼
- 新增筆記,管理待辦(新增、列出、完成、編輯、刪除、批次操作)
- 記錄結構化條目:站立會議、架構決策與除錯工作階段
- 全文搜尋筆記與待辦,檢視活動日誌與跨專案時間軸
- 管理主題、列出標籤、檢視待處理提醒,產生每週或每月回顧
- 透過 git grep 掃描程式碼中的 TODO、FIXME、HACK、BUG 註解並追蹤其消失
- 管理儲存:初始化 Obsidian 儲存庫、遷移資料、檢視狀態
- 適用情境
- 適合希望助理跨工作階段保留依專案劃分的決策、待辦與提醒紀錄,並在數月後仍能回想當時原因的情境。面向在 git 儲存庫中工作、希望資料全部留在本機(可選擇以 markdown 寫入 Obsidian 儲存庫)的開發者。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行,需要 Node.js 與 npx。依賴 git 儲存庫自動辨識目前專案。儲存可透過命令列參數、LOGBOOK_STORAGE、LOGBOOK_DIR、LOGBOOK_WORKSPACE 環境變數或設定檔設定。Obsidian 模式需指定儲存庫目錄路徑。不需帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Logbook Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@cocaxcode/logbook-mcp
Your developer logbook, always one sentence away.
Notes · TODOs · Reminders · Code scanning · Full-text search · Native CLI · Obsidian-only
[npm version] [npm downloads] [License] [Node] [5 + 5 deprecated]
⚠️ v2.0 breaking change: SQLite eliminado. v2 sólo soporta backend Obsidian. Datos en
~/.logbook/logbook.db(v1) no se migran automáticamente — quedan intactos en disco. Si necesitas acceso a ellos, mantente en@cocaxcode/[email protected]. Tools 10→5 (con shims deprecated). Ver CHANGELOG.md para detalles.
Overview · Usage · Installation · Features · Tool Reference · Storage · Architecture
Quick Overview
logbook-mcp is an MCP server that turns your AI assistant into a persistent developer logbook. Capture decisions, track TODOs, set reminders, scan code TODOs, and search everything with full-text search — without leaving your editor.
It auto-detects your git project, stores everything locally, and works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Codex CLI, or Gemini CLI. All data stays on your machine — nothing is synced, nothing is tracked, nothing leaves your disk. Notes are scoped per-project automatically, but you can search globally across all your projects at any time.
Two storage modes: SQLite (default, zero config) or Obsidian (markdown files with frontmatter, visible in your Obsidian vault with Graph View, Dataview, Tasks, and Calendar). Switching from SQLite to Obsidian auto-migrates your data on startup.
Just Talk to It
No commands to memorize. Just say what you need.
Capture notes
Track TODOs
Set reminders
Search anything
Installation
Claude Code (recommended)
With Obsidian mode:
Claude Desktop
Add to your claude_desktop_config.json:
With Obsidian mode:
Config file locations
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Cursor, Windsurf, VS Code, Codex CLI, Gemini CLI
Cursor — add to .cursor/mcp.json:
Windsurf — add to .windsurf/mcp.json:
VS Code — add to .vscode/mcp.json:
Codex CLI:
Gemini CLI — add to .gemini/settings.json:
Configuration
logbook-mcp supports three ways to configure storage, with this priority order:
- CLI args (highest priority):
--storage obsidian --dir "/path" --workspace "name" - Environment variables:
LOGBOOK_STORAGE,LOGBOOK_DIR,LOGBOOK_WORKSPACE - Config file:
~/.logbook/config.json(auto-created on first run)
Switching from SQLite to Obsidian
Just change the config and restart. If autoMigrate is true (default), your existing SQLite data is automatically migrated to Obsidian on the next startup. No manual steps needed.
You can also check the current status with logbook_setup action:status.
Features
7 built-in topics
Every note, TODO, and reminder is categorized automatically by your AI, or you can specify a topic explicitly.
Custom topics can be created at any time — just say "create a topic called security".
Custom topics with type, folder, and dashboard
Topics can define their own behavior (kind), Obsidian folder, and whether they appear in the project dashboard (index.md):
- kind:
note(default) — each entry is an individual.mdfile - kind:
todo— entries are checkboxes in a consolidated.mdfile - show_in_index:
true(default) — adds a Dataview section and quick link toindex.md - show_in_index:
false— topic exists but is hidden from the dashboard
Without a folder, entries go to the default notes/ or todos/ directory. The dashboard (index.md) is auto-regenerated when a topic with show_in_index: true and folder is created.
Code TODO scanning
Your TODO, FIXME, HACK, and BUG comments are detected via git grep and shown alongside manual TODOs:
When a code TODO disappears from source (because you fixed it), logbook detects it automatically and marks it as resolved.
Reminders
Both one-time and recurring patterns are supported:
Recurring reminders auto-acknowledge after being shown once per day. One-time reminders that were missed show as overdue.
Tip: logbook-mcp exposes an MCP Resource (
logbook://reminders) that clients can load on session start. In Claude Code and Claude Desktop, reminders appear automatically without asking. In other clients, just say "any reminders?".
Full-text search (FTS5)
Search across all notes and TODOs instantly, powered by SQLite FTS5. Filter by topic, type, project, or search globally across all projects.
Batch operations
Smart project detection
logbook-mcp auto-detects which git project you're in via git rev-parse. No config needed — it scopes queries to the current project by default, with a global option to see everything.
Tool Reference
logbook_note — Add a note
logbook_todo — Full TODO management
action: add — Create TODOs
action: list — List TODOs grouped by topic
action: done — Mark as done / undo
action: edit — Edit a TODO
action: rm — Delete TODOs
logbook_entry — Structured entries
action: standup — Daily standup
action: decision — Architecture Decision Record (ADR)
action: debug — Debug session
action: list — List entries by type
action: edit / action: delete — Modify or remove entries by ID
logbook_query — Search and activity
action: search — Full-text search
action: log — Activity for a period
action: timeline — Cross-project timeline
logbook_setup — Admin tools
action: status — Show current configuration and migration state
action: init — Initialize Obsidian vault (dashboard, templates, inbox)
action: migrate — Manually migrate SQLite data to Obsidian (requires obsidian mode)
Storage
SQLite mode (default)
All data lives in a single SQLite database at ~/.logbook/logbook.db. Zero config.
- WAL mode for concurrent reads
- FTS5 virtual tables for instant full-text search
- Triggers keep search indexes in sync automatically
- Code TODO snapshots — tracks which code TODOs existed, detects when they disappear
Obsidian mode
Writes markdown files with YAML frontmatter directly to your Obsidian vault.
Configure via CLI args (recommended), config file, or env vars:
Files are organized by workspace, project, and type:
Each file has YAML frontmatter that Obsidian plugins can query:
Recommended Obsidian plugins: Dataview (SQL-like queries), Calendar (date view), Tasks (checkbox management), Graph View (built-in, shows connections via [[wikilinks]]).
Auto-migration: When switching from SQLite to Obsidian, existing data is migrated automatically on startup (if autoMigrate: true). You can also run logbook_setup action:migrate manually.
Tip: Combine with Self-hosted LiveSync + CouchDB on your VPS to sync your vault across PC, Android, and iOS for free.
Architecture
Stack: TypeScript · MCP SDK · better-sqlite3 · Zod · tsup
來源:README.md,提交 5926443
工具
0版本歷史
1- v0.8.11最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分