Implements a Model Context Protocol server for SQLite databases, allowing AI assistants to query and interact with SQLite databases
MCP SQLite Server
A Node.js implementation of the Model Context Protocol SQLite server, based on the official Python reference. This version provides an npx-based alternative for environments where Python's UVX runner is not available, such as LibreChat.
Use with Claude Desktop
Installing Manually
Add the following to claude_desktop_config.json:
Full example when using nvm on macoS:
~/Library/Application Support/Claude/claude_desktop_config.json
Full example when using nvm on Windows:
%APPDATA%\Claude\claude_desktop_config.json
Installing via Smithery
To install MCP SQLite Server for Claude Desktop automatically via Smithery:
Related MCP server: SQLite MCP Server
Development
Install dependencies:
Build the TypeScript code:
Testing with MCP Inspector
You can test the server using the MCP Inspector tool:
Connect and go to Tools to start using the server.
Testing with Claude Desktop
Add the following to claude_desktop_config.json:
Examples:
/absolute/path/to/node:/Users/{username}/.nvm/versions/node/v20.18.1/bin/node/absolute/path/to/index.js:/Users/{username}/projects/mcp-server-sqlite-npx/dist/index.js/absolute/path/to/database.db:/Users/{username}/projects/database.db
Publish
Bump version in package.json
npm installCommit with message:
Release {version, e.g. 0.1.6}