SQLite is a Databases MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent local SQLite database access and management. Install in 1 minute with mcpizy install sqlite.
mcpizy install sqlitenpx -y @modelcontextprotocol/server-sqliteread_queryExecute a SELECT query and return rows
Inputs
querystringrequiredwrite_queryExecute an INSERT/UPDATE/DELETE statement
Inputs
querystringrequiredcreate_tableCreate a new table
Inputs
querystringrequiredlist_tablesList all tables in the database
describe_tableShow the schema of a table
Inputs
table_namestringrequiredWorks identically across clients. Only the config file path differs.
~/.claude.json{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/path/to/database.db"
]
}
}
}.cursor/mcp.json{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/path/to/database.db"
]
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/path/to/database.db"
]
}
}
}Point the server at a local .db file — no credentials needed
Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.
“Show me the schema of the `users` table”
Uses: describe_table
“Count rows in every table in my database”
Uses: list_tables, read_query
“Insert a new user named 'Alice' with email [email protected]”
Uses: write_query
“Create a `sessions` table with columns id, user_id, expires_at”
Uses: create_table
If SQLite doesn't fit your stack, these Databases MCP servers solve similar problems.
The SQLite MCP server is an Databases Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents local SQLite database access and management. It exposes SQLite's capabilities as tools the AI can call directly from your editor or CLI.
The fastest way is the MCPizy CLI: run `mcpizy install sqlite` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y @modelcontextprotocol/server-sqlite` and restarting Claude Code.
Yes. The SQLite MCP server is free and open source (see the GitHub repository linked on this page). You may still need a SQLite account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.
Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.
Once installed, your AI agent can local SQLite database access and management directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run SQLite operations, inspect results, chain SQLite with other MCP servers (see our Workflow Recipes), and automate repetitive databases tasks without leaving your editor.