modelcontextprotocol/sqlite

MCP Server

MCP SQLite Server - query SQLite databases

Official MCP SQLite server. Query and manage SQLite databases.

MCP Server

  • Package: mcp-server-sqlite (PyPI)
  • Transport: stdio
  • Command: npx mcp-server-sqlite (PyPI) /path/to/db.sqlite

Authentication

None (database path via arg)

VariableRequiredDescription
No environment variables required

Available Tools

ToolDescription
read_queryExecute SELECT
write_queryExecute INSERT/UPDATE/DELETE
create_tableCreate table
list_tablesList tables
describe_tableTable schema

Configuration Example

toml
[[mcp.servers]]
name = "sqlite"
type = "stdio"
command = "npx"
args = ["-y", "mcp-server-sqlite (PyPI)"]
timeout_seconds = 60
tools = []