An MCP server for LLMs to interact with SQLite databases, built with Node.js and TypeScript. Current stable version is 1.0.5. Supports two modes: Manual (agent must call sqlite_open/sqlite_close) and Fixed (single database path via SQLITE_PATH environment variable). Provides tools for querying, executing writes, listing tables, and describing schemas. Uses better-sqlite3 under the hood and ships TypeScript definitions. Released as an npm package that can be run directly via npx. Does not support multiple simultaneous databases in Manual mode.
npm install easy-sqlite-mcpNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Manual mode workflow: start server, open database, execute query, close connection.
Design your workflow to open, use, and close databases sequentially. Or use Fixed mode if you only need one database.
Always set SQLITE_PATH as an environment variable when starting the server (e.g., SQLITE_PATH=/data/db.sqlite npx easy-sqlite-mcp).
Use sqlite_query for SELECT only. For modifications, call sqlite_execute.
Upgrade Node.js to version 18 or higher.
Use npx easy-sqlite-mcp (with -y flag to auto-install) or install globally with npm i -g easy-sqlite-mcp.
Set SQLITE_PATH environment variable or understand that server starts in Manual mode. To force Fixed mode: SQLITE_PATH=/path/to/db.sqlite npx easy-sqlite-mcp
Remove sqlite_open calls; use Fixed mode tools starting with sqlite_status. Or switch to Manual mode by omitting SQLITE_PATH.
Ensure sqlite_open is called before sqlite_query/sqlite_execute. Monitor connection status via sqlite_status.
No dependency data recorded yet.