logbook-mcp: an MCP server for a persistent developer logbook

logbook-mcp: an MCP server for a persistent developer logbook

logbook-mcp•bycocaxcode

An MCP server that lets AI assistants capture notes, track TODOs, set reminders, scan code TODOs, and search everything locally, using SQLite or Obsidian storage.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Manages notes, TODOs, and reminders with tools like logbook_note, logbook_todo, and logbook_reminders.
  • •Supports one-time and recurring reminders, including daily, weekdays, weekly, and monthly patterns.
  • •Scans source code for TODO, FIXME, HACK, and BUG comments and marks them resolved when they disappear.
  • •Provides full-text search across notes and TODOs with filtering by topic, type, and project.

BEST FOR

  • •Developers who want their AI assistant to keep project decisions, TODOs, and reminders in a persistent local logbook.
  • •Obsidian users who want their logbook entries written as markdown files with frontmatter into their vault.

ABOUT LOGBOOK-MCP

logbook-mcp: an MCP server for a persistent developer logbook is cataloged as an MCP server attributed to cocaxcode. An MCP server that lets AI assistants capture notes, track TODOs, set reminders, scan code TODOs, and search everything locally, using SQLite or Obsidian storage. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for logbook-mcp: an MCP server for a persistent developer logbook are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What storage backends does logbook-mcp support?

It supports SQLite, the default zero-config mode, and Obsidian mode, which writes markdown files with YAML frontmatter to an Obsidian vault.

Does logbook-mcp find TODO comments already in my source code?

Yes. It detects TODO, FIXME, HACK, and BUG comments via git grep and shows them alongside manually created TODOs.

Are my logbook entries stored locally?

Yes. All data stays on the user's machine; nothing is synced, tracked, or sent off disk.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5926443dd827 · 采集于 2026-11-13 12:41:08 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

@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/logbook-mcp@0.4. 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

"I decided to use JWT instead of sessions for scalability"
→ Saved as a decision — retrievable months from now

"The CI is failing due to a timeout in integration tests"
→ Captured as a blocker — shows up when you review activity

Track TODOs

"TODO: implement email validation"
→ Created with auto-inferred topic

"Add these: fix token refresh. update deps. add rate limiting"
→ 3 TODOs created at once, each categorized

"Mark 5 and 8 as done"
→ Both completed

"What's pending across all projects?"
→ Global view of everything, including code TODOs

Set reminders

"Remind me tomorrow to deploy"
→ One-time reminder

"Remind me every Tuesday to review PRs"
→ Recurring weekly — auto-acknowledged after each session

"Remind me on weekdays to check the CI"
→ Monday to Friday

Search anything

"Why did we choose JWT?"
→ Finds the decision note, even months later

"Search everything about auth"
→ FTS5 search across all notes and TODOs

Installation

claude mcp add --scope user logbook -- npx -y @cocaxcode/logbook-mcp@latest --mcp

With Obsidian mode:

claude mcp add --scope user logbook -- npx -y @cocaxcode/logbook-mcp@latest --mcp --storage obsidian --dir "/path/to/vault/logbook"

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "logbook-mcp": {
      "command": "npx",
      "args": ["-y", "@cocaxcode/logbook-mcp@latest", "--mcp"]
    }
  }
}

With Obsidian mode:

{
  "mcpServers": {
    "logbook-mcp": {
      "command": "npx",
      "args": [
        "-y", "@cocaxcode/logbook-mcp@latest", "--mcp",
        "--storage", "obsidian",
        "--dir", "/path/to/vault/logbook"
      ]
    }
  }
}
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:

{
  "mcpServers": {
    "logbook-mcp": {
      "command": "npx",
      "args": ["-y", "@cocaxcode/logbook-mcp@latest", "--mcp"]
    }
  }
}

Windsurf — add to .windsurf/mcp.json:

{
  "mcpServers": {
    "logbook-mcp": {
      "command": "npx",
      "args": ["-y", "@cocaxcode/logbook-mcp@latest", "--mcp"]
    }
  }
}

VS Code — add to .vscode/mcp.json:

{
  "servers": {
    "logbook-mcp": {
      "command": "npx",
      "args": ["-y", "@cocaxcode/logbook-mcp@latest", "--mcp"]
    }
  }
}

Codex CLI:

codex mcp add logbook-mcp -- npx -y @cocaxcode/logbook-mcp@latest --mcp

Gemini CLI — add to .gemini/settings.json:

{
  "mcpServers": {
    "logbook-mcp": {
      "command": "npx",
      "args": ["-y", "@cocaxcode/logbook-mcp@latest", "--mcp"]
    }
  }
}

Configuration

logbook-mcp supports three ways to configure storage, with this priority order:

  1. CLI args (highest priority): --storage obsidian --dir "/path" --workspace "name"
  2. Environment variables: LOGBOOK_STORAGE, LOGBOOK_DIR, LOGBOOK_WORKSPACE
  3. Config file: ~/.logbook/config.json (auto-created on first run)
{
  "storage": "sqlite",
  "dir": null,
  "workspace": null,
  "autoMigrate": true
}

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.

TopicPurposeMapped from conventional commits
featureNew functionalityfeat:
fixBug fixesfix:
choreMaintenance, CI/CD, refactoringrefactor: docs: ci: build: test:
ideaFuture proposals—
decisionArchitecture choices—
blockerThings blocking progress—
reminderTime-based reminders—

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 .md file
  • kind: todo — entries are checkboxes in a consolidated .md file
  • show_in_index: true (default) — adds a Dataview section and quick link to index.md
  • show_in_index: false — topic exists but is hidden from the dashboard
"Create a topic called incident with its own folder"
→ logbook_topics action:add name:"incident" kind:"note" folder:"incidents"
→ Entries saved to: project/incidents/2026-03-24-server-down.md
→ Dashboard updated with Incidents section

"Create a topic called sprint-task as todo type"
→ logbook_topics action:add name:"sprint-task" kind:"todo" folder:"sprint"
→ Entries saved to: project/sprint.md (as checkboxes)

"Create a private topic not shown in the dashboard"
→ logbook_topics action:add name:"internal" kind:"note" folder:"internal" show_in_index:false
→ Entries saved to: project/internal/ (not visible in index.md)

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:

feature (2)
  [ ] #12 [manual] Implement email validation
      [code]  TODO: add OAuth support — src/auth/service.ts:45

fix (3)
  [ ] #8  [manual] Token doesn't refresh
      [code]  FIXME: handle null case — src/users/controller.ts:78
      [code]  BUG: race condition — src/chat/gateway.ts:112

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:

PatternExampleSchedule
One-timeremind_at: "2026-03-25"March 25 only
dailyEvery dayEvery day
weekdaysMonday to FridayMon–Fri
weekly:2Every TuesdaySpecific day of week
weekly:1,3Monday and WednesdayMultiple days
monthly:11st of each monthSpecific day of month
monthly:1,151st and 15thMultiple days

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

"Add: validate email. fix token. update deps"     → 3 TODOs created
"Mark 5, 8, and 12 as done"                       → 3 TODOs completed
"Delete TODOs 3 and 7"                             → 2 TODOs removed

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

ToolActionsDescription
logbook_note—Add a note with optional topic
logbook_todoadd list done edit rmFull TODO management
logbook_entrylist edit delete standup decision debugStructured entries (ADRs, debug sessions, standups)
logbook_querysearch log timelineFull-text search, activity log, cross-project timeline
logbook_topicslist addManage topics (custom kind, folder, dashboard visibility)
logbook_tags—List tags with counts
logbook_reminders—View pending reminders
logbook_review—Weekly/monthly review with stats
logbook_inboxlist processQuick notes inbox (Obsidian mode)
logbook_setupinit migrate statusAdmin: init vault, migrate data, check status
10 tools + 1 resource
logbook_note — Add a note
ParamTypeRequiredDescription
contentstringYesNote content (max 5000 chars)
topicstringNoTopic name — AI infers it, or auto-created if new
logbook_todo — Full TODO management

action: add — Create TODOs

ParamTypeDescription
contentstringSingle TODO content (max 2000 chars)
itemsarrayMultiple TODOs: [{content, topic?, priority?, remind_at?, remind_pattern?}] (max 50)
topicstringTopic — auto-inferred or auto-created
prioritylow normal high urgentPriority (default: normal)
remind_atYYYY-MM-DDOne-time reminder date
remind_patternstringRecurring: daily, weekdays, weekly:N, monthly:N

action: list — List TODOs grouped by topic

ParamTypeDefaultDescription
statuspending done allpendingFilter by status
topicstring—Filter by topic
prioritylow normal high urgent—Filter by priority
sourceall manual codeallManual DB or code comments
scopeproject globalprojectCurrent project or all

action: done — Mark as done / undo

ParamTypeDescription
idsnumber or number[]ID(s) to mark
undobooleanIf true, sets back to pending (default: false)

action: edit — Edit a TODO

ParamTypeDescription
idnumberTODO ID to edit
contentstringNew content
topicstringNew topic
prioritylow normal high urgentNew priority

action: rm — Delete TODOs

ParamTypeDescription
idsnumber or number[]ID(s) to delete permanently
logbook_entry — Structured entries

action: standup — Daily standup

ParamTypeRequiredDescription
yesterdaystringYesWhat was done yesterday
todaystringYesWhat will be done today
blockersstringNoCurrent blockers
topicstringNoTopic

action: decision — Architecture Decision Record (ADR)

ParamTypeRequiredDescription
titlestringYesDecision title
contextstringYesWhy this decision is needed
optionsstring[]YesOptions considered
decisionstringYesDecision taken
consequencesstringYesConsequences of the decision
topicstringNoTopic (default: decision)

action: debug — Debug session

ParamTypeRequiredDescription
titlestringYesBug/error title
errorstringYesError description
causestringYesRoot cause
fixstringYesSolution applied
filestringNoAttachment path
topicstringNoTopic (default: fix)

action: list — List entries by type

ParamTypeDefaultDescription
typenote decision debug standup review—Entry type (required)
scopeproject globalprojectCurrent project or all
limitnumber20Max results

action: edit / action: delete — Modify or remove entries by ID

logbook_query — Search and activity

action: search — Full-text search

ParamTypeDefaultDescription
querystring—Search text (required)
typeall notes todosallSearch scope
topicstring—Filter by topic
scopeproject globalprojectProject or global
limitnumber20Max results

action: log — Activity for a period

ParamTypeDefaultDescription
periodtoday yesterday week monthtodayQuick date filter
from / toYYYY-MM-DD—Custom date range
typeall notes todosallFilter by type
scopeproject globalprojectCurrent project or all

action: timeline — Cross-project timeline

ParamTypeDefaultDescription
periodtoday yesterday week monthweekTime range
workspacestring—Filter by workspace
logbook_setup — Admin tools

action: status — Show current configuration and migration state

action: init — Initialize Obsidian vault (dashboard, templates, inbox)

ParamTypeDefaultDescription
forcebooleanfalseRegenerate even if files exist

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:

# CLI args (most reliable, especially on Windows)
claude mcp add logbook -- npx -y @cocaxcode/logbook-mcp@latest --mcp --storage obsidian --dir "/path/to/vault/logbook"
// Config file: ~/.logbook/config.json
{
  "storage": "obsidian",
  "dir": "/path/to/vault/logbook",
  "autoMigrate": true
}

Files are organized by workspace, project, and type:

vault/logbook/
├── cocaxcode/
│   ├── cocaxcode-api/
│   │   ├── notes/          ← logbook_note
│   │   ├── todos/          ← logbook_todo
│   │   ├── decisions/      ← logbook_entry action:decision
│   │   ├── debug/          ← logbook_entry action:debug
│   │   ├── standups/       ← logbook_entry action:standup
│   │   └── attachments/    ← copied files
│   └── cocaxcode-web/
├── optimus/
│   └── optimus-hub/

Each file has YAML frontmatter that Obsidian plugins can query:

---
type: todo
date: 2026-03-21
project: cocaxcode-api
workspace: cocaxcode
status: pending
priority: high
due: 2026-03-25
tags: [auth, urgent]
---
- [ ] Fix JWT refresh token

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

src/
├── index.ts              # Entry: --mcp → server, else CLI
├── server.ts             # createServer() — 10 tools + 1 resource
├── config.ts             # Config resolution (args > env > file > defaults)
├── auto-migrate.ts       # Auto SQLite → Obsidian migration on startup
├── cli.ts                # CLI (help, version)
├── types.ts              # Shared interfaces
├── storage/
│   ├── types.ts          # StorageBackend interface
│   ├── index.ts          # getStorage() factory (uses resolveConfig)
│   ├── sqlite/           # SQLite backend (wraps db/)
│   └── obsidian/         # Obsidian backend (markdown + frontmatter)
├── db/                   # SQLite internals
├── git/                  # Git repo detection + code TODO scanning
├── resources/            # MCP Resource: logbook://reminders
└── tools/                # 10 MCP tools (one file each)

Stack: TypeScript · MCP SDK · better-sqlite3 · Zod · tsup


MIT · Built by cocaxcode

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for logbook-mcp: an MCP server for a persistent developer logbook from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/logbook-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops