MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.
registry version 0.5.0
npm
npx -y @database-mcp/sqlitenpm
npx -y @database-mcp/sqlite@0.5.0Python
uvx database-mcp-sqlitePython
uvx database-mcp-sqlite@0.5.0cargo
database-mcp-rs-sqlite
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite@0.5.0"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env SQLITE_PATH=<YOUR_SQLITE_PATH> database-mcp-sqlite -- npx -y @database-mcp/sqlite
claude mcp add --env SQLITE_PATH=<YOUR_SQLITE_PATH> database-mcp-sqlite -- npx -y @database-mcp/sqlite@0.5.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite@0.5.0"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}{
"servers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite@0.5.0"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}{
"mcpServers": {
"database-mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"@database-mcp/sqlite@0.5.0"
],
"env": {
"SQLITE_PATH": "<YOUR_SQLITE_PATH>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
SQLITE_PATH required — Path to the SQLite database file⭐ 5 stars · 最近更新于 53 天前 · MIT license
These star and push figures are for the shared repository — 5 listings on this site point at the same repository.
database mcp MCP servers that give AI clients safe, structured access to SQL databases. One installable package per database engine, in TypeScript (npm) and Python (PyPI). Every package exposes the same minimal two tool surface, execute sql and search objects , with guardrails on by default: read on…
Summary from the project README — github.com/arifulislamat/database-mcp
Distributed as npm, Python, cargo, listed under Databases. Review our MCP security guide before granting access to real data.
database mcp MCP servers that give AI clients safe, structured access to SQL databases. One installable package per database engine, in TypeScript (npm) and Python (PyPI). Every package exposes the same minimal two tool surface, execute sql and search objects , with guardrails on by default: read on
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/arifulislamat/database-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/database-mcp-sqlite/)
HTML
<a href="https://mcpnav.net/server/database-mcp-sqlite/"><img src="https://mcpnav.net/badge/database-mcp-sqlite.svg" alt="Listed on MCPNav" height="20"></a>