mcp-server-sqlite-npx
MCP SQLite Server
Documentation
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`:
{
"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:
`~/Library/Application Support/Claude/claude_desktop_config.json`
{
"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:
`%APPDATA%\Claude\claude_desktop_config.json`
{
"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"
}
}
}
}Installing via Smithery
To install MCP SQLite Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-server-sqlite-npx --client claudeDevelopment
1. Install dependencies:
npm ci2. Build the TypeScript code:
npm run buildTesting 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}`
Frequently asked questions
What is mcp-server-sqlite-npx?
mcp-server-sqlite-npx is MCP SQLite Server
How do I install mcp-server-sqlite-npx?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-server-sqlite-npx open source?
Yes — it is hosted on GitHub at https://github.com/johnnyoshika/mcp-server-sqlite-npx and has 17 stars.
Related MCP tools
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.
Enhanced MCP server for interactive user feedback and command execution in AI-assisted development, featuring dual interface support (Web UI and Desktop Application) with intelligent environment detection and cross-platform compatibility.
A powerful Zotero AI and MCP plugin with ChatGPT, Gemini 3.7, Claude Fable 5, Claude Opus 5, DeepSeek V4, Grok, OpenRouter, Kimi k3, GLM 5.3, SiliconFlow, GPT-oss, Gemma 4, Qwen 3.8
Connect your browser to AI models. Just use Dia on Chrome, Arc or Firefox.
文颜 MCP Server 可以让 AI 自动将 Markdown 文章排版后发布至微信公众号。
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP