SQLite MCP Server

Official
Databases
stdio
Featured

Connect your AI agent to SQLite databases for schema inspection, table querying, and data analysis. Uses the Python-based mcp-server-sqlite package via uvx. Ideal for local development, prototyping, and embedded database workflows.

Quick Install

$ uvx mcp-server-sqlite --db-path ./data.db

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "./data.db"
      ]
    }
  }
}

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (6)

read_querywrite_querycreate_tablelist_tablesdescribe_tableappend_insight

SQLite FAQ

What is the SQLite MCP server?

Connect your AI agent to SQLite databases for schema inspection, table querying, and data analysis. Uses the Python-based mcp-server-sqlite package via uvx. Ideal for local development, prototyping, and embedded database workflows.

How do I install the SQLite MCP server?

Run: uvx mcp-server-sqlite --db-path ./data.db

Which AI clients support the SQLite MCP server?

The SQLite MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the SQLite MCP server provide?

The server provides 6 tools: read_query, write_query, create_table, list_tables, describe_table, append_insight.