MCP server for local SQLite database operations
MCPpedia last refreshed this data
MCP server for local SQLite database operations is an MCP server that MCP server for local SQLite database operations. Its tool list has not been published yet over stdio and http, requires no API key, and scores 86/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-spences10-mcp-sqlite-tools": {
"args": [
"-y",
"mcp-sqlite-tools"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that provides comprehensive SQLite database operations for LLMs. This server enables AI assistants to interact with local SQLite databases safely and efficiently, with built-in security features, advanced transaction support, and clear separation between read-only and destructive operations.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'mcp-sqlite-tools' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked mcp-sqlite-tools against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data
Manage Supabase projects — databases, auth, storage, and edge functions
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
DataForSEO API modelcontextprotocol server
MCP Security Weekly
Get CVE alerts and security updates for MCP server for local SQLite database operations and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server for safe, local SQLite database operations. It gives MCP clients explicit read, write, schema, transaction, CSV, backup, and maintenance tools.
The MCP client starts this server through npx; a global installation
is not required.
MCPick can add the server to a supported client without manual JSON editing. This command targets Claude Code's local scope by default:
npx -y mcpick add \
--name sqlite-tools \
--command npx \
--args "-y,mcp-sqlite-tools"
Select a client and scope explicitly when needed:
npx -y mcpick add \
--name sqlite-tools \
--command npx \
--args "-y,mcp-sqlite-tools" \
--client vscode \
--scope project
The add command supports Claude Code, Gemini CLI, VS Code, Cursor,
Windsurf, OpenCode, and Pi. Run npx mcpick clients to see current
client capabilities, scopes, and configuration locations.
The examples track the latest package release. For reproducible
configuration, replace mcp-sqlite-tools in --args with an exact
version such as mcp-sqlite-tools@x.y.z.
For unsupported clients or advanced configuration, add the server manually:
{
"mcpServers": {
"mcp-sqlite-tools": {
"command": "npx",
"args": ["-y", "mcp-sqlite-tools"],
"env": {
"SQLITE_DEFAULT_PATH": ".",
"SQLITE_ALLOW_ABSOLUTE_PATHS": "true",
"SQLITE_BUSY_TIMEOUT": "30000",
"SQLITE_BACKUP_PATH": "./backups"
}
}
}
}
VS Code uses a servers object instead of mcpServers. See the
configuration guide
for more client-specific examples.
| Variable | Purpose | Default |
|---|---|---|
SQLITE_DEFAULT_PATH | Base directory for database files | . |
SQLITE_ALLOW_ABSOLUTE_PATHS | Allow absolute database paths | true |
SQLITE_BACKUP_PATH | Default backup directory | Default database path |
SQLITE_BUSY_TIMEOUT | SQLite lock busy timeout in milliseconds | 30000 |
DEBUG | Enable diagnostic logging | false |
SQLITE_MAX_QUERY_TIME remains available as a deprecated alias for
SQLITE_BUSY_TIMEOUT. It does not limit wall-clock query runtime.
Tools are separated by intent so MCP clients can apply clear approval rules.
| Tool | Purpose |
|---|---|
open_database | Open an existing database |
close_database | Close one database connection |
list_databases | Find database files in a directory |
database_info | Read file and SQLite metadata |
list_tables | List tables and views |
describe_table | Read columns and constraints |
backup_database | Create a consistent online backup |
export_csv | Export a table or rea |