SQLite MCP server
ofershap/mcp-server-sqlite · typescript · MIT
SQLite MCP — query databases, inspect schemas, explain queries, export data.
Also known as ofershap/mcp-server-sqlite, mcp-server-sqlite, mcp-sqlite-server
- Stars
- 4
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.0.1
- Last commit
- Mar 10, 2026
- License
- MIT
What is SQLite MCP?
SQLite is an MCP server. SQLite MCP — query databases, inspect schemas, explain queries, export data.
How to install SQLite MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall SQLite MCP in Claude Code
$ claude mcp add mcp-server-sqlite -- npx -y mcp-sqlite-serverInstall SQLite MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
}Install SQLite MCP in VS Code
.vscode/mcp.json
{
"servers": {
"mcp-server-sqlite": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
}Install SQLite MCP in VS Code CLI
$ code --add-mcp '{"name":"mcp-server-sqlite","type":"stdio","command":"npx","args":["-y","mcp-sqlite-server"]}'Install SQLite MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"mcp-server-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
}Install SQLite MCP in Codex
$ codex mcp add mcp-server-sqlite -- npx -y mcp-sqlite-serverInstall SQLite MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.mcp-server-sqlite] command = "npx" args = ["-y", "mcp-sqlite-server"]
Install SQLite MCP in Gemini CLI
$ gemini mcp add -s user mcp-server-sqlite npx -- -y mcp-sqlite-serverInstall SQLite MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"mcp-server-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
}No environment variables or API keys required.Setup guides:Claude CodeCursorVS CodeClaude Desktop
SQLite MCP questions
How do I add SQLite MCP to Claude Code?
Run claude mcp add mcp-server-sqlite -- npx -y mcp-sqlite-server in your terminal. Add --scope user to make it available in every project.
How do I add SQLite MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.