litescope
v0.9.0
Published
SQLite & Cloudflare D1 operations: MCP server, schema diff, migrations, lint, backups, autopilot. Run with `npx litescope`.
Maintainers
Readme
litescope
Operations tooling for SQLite, Cloudflare D1, and Turso — an MCP
server for AI agents, plus schema diff, migrations, lint, point-in-time backups,
and a self-driving optimizer. This package is a thin installer that fetches the
prebuilt Litescope binary for your
platform, so JavaScript and wrangler users can run it without a separate
install.
# Run the latest without installing
npx litescope doctor app.db
# Diff your dev schema against live D1
npx litescope diff local.db d1://DB_ID
# Run it as an MCP server for Claude / Cursor
npx litescope mcp --allow-writesClaude Code
Install the plugin instead of wiring the MCP server by hand — it brings the server plus five skills (lock doctor, safe writes, migration review, fleet sweep, corruption recovery) that tell the agent what to do when a database is actually broken:
/plugin marketplace add croc100/Litescope
/plugin install litescope@litescopeFour tools answer with an interactive panel inside the conversation via the MCP Apps extension: the lock doctor, a health panel, a write's blast radius, and the fleet grid. The MCP server speaks spec 2026-07-28 (stateless) and still serves handshake-era clients on 2025-06-18.
Install globally if you prefer:
npm install -g litescope
litescope --versionThe binary is downloaded from the matching GitHub release on install (or on
first run) into the package's vendor/ directory — macOS, Linux, and Windows
(amd64/arm64). No data leaves your machine.
Full documentation: https://litescope-site.pages.dev/docs · Source & license (AGPL-3.0): https://github.com/croc100/Litescope
