Skip to main content
Glama
fc0web

lab-notebook-mcp

by fc0web

lab-notebook-mcp

Version: 0.1.0 (Phase 1、 2026-08-17)

測定の一次資料を永続化する MCP サーバー。 chat-Claude 2026-08-17 「新しいアイデア」 arc の 「実験ノート MCP」 提案を independent MCP として 実装。 設計詳細は docs/design.md 参照。

Design 原則 (§5 セキュリティ設計 + §3.4 append-only)

  1. Append-only: 削除ツール なし、 訂正は supersede

  2. モード gating: ro では 書き込み tool を 登録自体しない + SQLite ro URI で 二重防御

  3. 任意 SQL 禁止: execute_sql 系 意図的に 提供しない

  4. 外部由来テキスト は でラップ: prompt injection 対策

  5. 測定器に触らない: benchtop の責務、 本 server は DB layer のみ

  6. アーティファクト中身返さない: メタデータ + path のみ

Related MCP server: SQLite MCP Server

Quick start

pip install -e ".[dev]"
pytest                     # 全 test 通過確認
LAB_NOTEBOOK_MODE=rw LAB_NOTEBOOK_ROOT=./_dev python -m lab_notebook

Env vars

Var

Default

説明

LAB_NOTEBOOK_ROOT

$HOME/lab-notebook

DB + artifacts 保存先

LAB_NOTEBOOK_MODE

ro

ro (default 安全側) or rw

LAB_NOTEBOOK_INGEST_DIRS

(unset)

artifact 取り込み許可 dir (: 区切り)、 unset なら 取り込み拒否

Cross-pollination 関連 (Rei stack)

  • benchtop v0.4.0 (2026-08-17): 実験ノート features (subject/env/mystery_id + find_similar_sessions + regression_check) が 本 project と responsibility overlap。 使い分け 推奨:

    • benchtop v0.4.0: quick session-level notes (単発 session に メタデータ付ける)

    • lab-notebook-mcp: structured multi-session records (experiment × run × dut × condition × measurement × artifact × baseline を SQL schema で 永続化、 professional lab notebook 用途)

  • Rei-Automator STEP 1340 audit-log.ts (2026-08-17): hash chain primitive origin、 本 project は SQLite WAL + append-only + supersede で 別方式 の integrity 保証

Repository

License

MIT (v0.x)。 v1.0+ での license 切替の 可能性 あり (LICENSE file 参照時に 決定)。

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables secure interaction with multiple SQL database engines (MySQL, PostgreSQL, SQLite, SQL Server) through a standardized interface. Supports schema inspection, safe query execution, and controlled write operations with built-in security restrictions.
    5
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides comprehensive SQLite database interaction for AI agents, including data manipulation, schema inspection, and automated query logging. It features a unique context preservation pattern that uses a dedicated meta-table to help autonomous agents maintain self-documenting database architectures.
    36
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides persistent cross-session memory and full-text search for AI coding assistants, storing project context, decisions, and preferences while enabling searchable access to conversation history via local SQLite.
    8
    1
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides AI assistants with persistent memory across sessions using local SQLite and keyword search, allowing storage and retrieval of user preferences, project context, and decisions.
    22
    7
    MIT

View all related MCP servers

Related MCP Connectors

  • The stock market, in SQL — scan, replay, or subscribe across ~12k US tickers and top 100 cryptos.

  • Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fc0web/lab-notebook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server