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 via Smithery
To install MCP SQLite Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-sqlite-npx --client claude
Installing Manually
Add the following to claude_desktop_config.json
:
{
"mcpServers": {
"sqlite": {
"command": "/absolute/path/to/npx",
"args": [
"-y",
"mcp-server-sqlite-npx",
"/absolute/path/to/database.db"
],
"env": {
"PATH": "/absolute/path/to/executables",
"NODE_PATH": "/absolute/path/to/node_modules"
}
}
}
}
Full example when using nvm on macoS:
{
"mcpServers": {
"sqlite": {
"command": "/Users/{username}/.nvm/versions/node/v22.12.0/bin/npx",
"args": [
"-y",
"mcp-server-sqlite-npx",
"/Users/{username}/projects/database.db"
],
"env": {
"PATH": "/Users/{username}/.nvm/versions/node/v22.12.0/bin:/usr/local/bin:/usr/bin:/bin",
"NODE_PATH": "/Users/{username}/.nvm/versions/node/v22.12.0/lib/node_modules"
}
}
}
}
Full example when using nvm on Windows:
{
"mcpServers": {
"sqlite": {
"command": "C:\Program Files\nodejs\npx.cmd",
"args": [
"-y",
"mcp-server-sqlite-npx",
"C:\Users\{username}\projects\database.db"
],
"env": {
"PATH": "C:\Program Files\nodejs;%PATH%",
"NODE_PATH": "C:\Program Files\nodejs\node_modules"
}
}
}
}
Development
- Install dependencies:
npm ci
- Build the TypeScript code:
npm run build
Testing with MCP Inspector
You can test the server using the MCP Inspector tool:
npx @modelcontextprotocol/inspector node dist/index.js /absolute/path/to/database.db
Connect
and go to Tools
to start using the server.
Testing with Claude Desktop
Add the following to claude_desktop_config.json
:
{
"mcpServers": {
"sqlite": {
"command": "/absolute/path/to/node",
"args": [
"/absolute/path/to/dist/index.js",
"/absolute/path/to/database.db"
]
}
}
}
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 install
- Commit with message:
Release {version, e.g. 0.1.6}
SQLite Server
Project Details
- johnnyoshika/mcp-server-sqlite-npx
- mcp-server-sqlite-npx
- Last Updated: 4/1/2025
Categories
Recomended MCP Servers
CCXT MCP Server bridges the gap between AI models and cryptocurrency trading by providing a standardized interface through...
Yuque mcp server
MCP Server for the Bitrise API, enabling app management, build operations, artifact management and more.
✨ JMeter Meets AI Workflows: Introducing the JMeter MCP Server! 🤯
This project demonstrates how to use EdgeOne Pages Functions to retrieve user geolocation information and integrate it with...
A MCP Server that provides browser access through playwright with "stealth mode" enabled.
A simple Model Context Protocol (MCP) server that integrates with Notion's API to manage my personal todo list.
query table from some websites, support MCP
An MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. Features include checking...