Registry / devops / sqlite-slim

sqlite-slim

JSON →
library0.0.2-slim.1.10jsnpmunverified

A token-optimized MCP server for SQLite that reduces context window token usage by ~32% by grouping 6 original tools into 4 semantic operations. Version 0.0.2-slim.1.10, actively maintained. Compatible with Claude, ChatGPT, Gemini, Cursor, and any MCP client. Key differentiator: reduces token consumption without losing functionality, using a transparent bridge pattern.

npm install sqlite-slim
INSTALL
IMPORT
SIG · SQLITE-SLIM
S
sqlite-slim
devopsjavascriptv0.0.2-slim.1.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default (npx usage)
npx sqlite-slim@latest
npm install -g sqlite-slim (not intended for global install)
The package is designed to be run via npx, not installed globally.
CLI --setup flag
npx sqlite-slim --setup claude
sqlite-slim --setup (without npx, only works if globally installed)
Use npx to avoid global install; --setup configures MCP clients automatically.
Manual config (JSON)
JSON config with command: 'npx', args: ['-y', 'sqlite-slim@latest']
Using local install path (e.g., './node_modules/.bin/sqlite-slim')
Always use npx -y to ensure latest version; do not rely on local install.

Shows how to set up sqlite-slim with Claude Desktop or Cursor using npx, and manual JSON configuration.

# One-command setup for Claude Desktop npx sqlite-slim --setup claude # Interactive setup (choose client) npx sqlite-slim --setup # Or add manually to MCP config: # claude_desktop_config.json: # { # "mcpServers": { # "sqlite": { # "command": "npx", # "args": ["-y", "sqlite-slim@latest"] # } # } # }
Debug
Known issues
gotchaRequires npx to run; local install is not supported.
fix
Always use 'npx sqlite-slim@latest' to run.
affects: >=0.0.1
gotchaMay not work with all MCP clients if the client does not support npx for server commands.
fix
Use a client that supports npx command execution (e.g., Claude Desktop, Cursor).
affects: >=0.0.1
gotchaThe package groups tools into 4 operations; some original tool names are not accessible directly.
fix
Refer to the slim tool names; the bridge maps them to original tools.
affects: >=0.0.1
deprecatedNo breaking changes known yet; check GitHub for future updates.
fix
Monitor the repository for version changes.
affects: 0.0.2-slim.1.10
Errors
Common errors & fixes
Error: Cannot find module 'sqlite-slim'
Attempted to run without npx or without installation.
fix
Use 'npx sqlite-slim@latest' instead of calling 'sqlite-slim' directly.
npx: command not found
Node.js and npm are not installed or not in PATH.
fix
Install Node.js (includes npx) from https://nodejs.org
MCPSlim: Unknown client. Supported: claude, cursor
Used an unsupported client name with --setup.
fix
Use 'claude' or 'cursor', or omit --setup for interactive mode.
Upgrade
Version history
0.0.2-slim.1.10latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
sqlite-slim — npm install sqlite-slim · libregistry