The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the MCP Sqlite listing page.
This is a Model Context Protocol (MCP) server that provides comprehensive SQLite database interaction capabilities.

Define the command in your IDE's MCP Server settings:
e.g. Cursor:
e.g. VSCode:

Your database path must be provided as an argument.
Get detailed information about the connected database.
Example:
List all tables in the database.
Example:
Get detailed information about a table's schema.
Parameters:
tableName (string): Name of the tableExample:
Insert a new record into a table.
Parameters:
table (string): Name of the tabledata (object): Record data as key-value pairsExample:
Query records from a table with optional filtering.
Parameters:
table (string): Name of the tableconditions (object, optional): Filter conditions as key-value pairslimit (number, optional): Maximum number of records to returnoffset (number, optional): Number of records to skipExample:
Update records in a table that match specified conditions.
Parameters:
table (string): Name of the tabledata (object): New values as key-value pairsconditions (object): Filter conditions as key-value pairsExample:
Delete records from a table that match specified conditions.
Parameters:
table (string): Name of the tableconditions (object): Filter conditions as key-value pairsExample:
Execute a custom SQL query against the connected SQLite database.
Parameters:
sql (string): The SQL query to executevalues (array, optional): Array of parameter values to use in the queryExample:
If you enjoy this library please consider sending me a tip to support my work 😀