Skip to content

MCP server

SQLite MCP server

A community MCP server for SQLite files that lets AI list tables, read and change records and run SQL on a local database.

At a glance

Maintained by
eQuill Labs (jparkerweb, community)
Tools exposed
8 listed below
Reviewed
September 24, 2026

Why it matters

What it does and why it matters

SQLite is the database inside many desktop apps, mobile apps, prototypes and small tools. Its data lives in a single file. An SQLite MCP server lets an AI assistant open that file, understand its tables and answer questions or make changes, which is handy for prototypes, local tools and data clean-up.

The original MCP reference server for SQLite was archived in May 2025. The option listed here is a community server by eQuill Labs, with tools for reading, creating, updating and deleting records, plus raw SQL.

It has full read and write access, including deletes, and we found no read-only switch in its documentation. That makes it best suited to copies of data, prototypes and local analysis rather than live systems. Always work on a copy of the file when the data matters.

Use cases

Best business use cases

Prototype data

Seed and inspect data while building a prototype.

App data inspection

Look inside the local database of a mobile or desktop app during development.

Quick analysis

Load a CSV into SQLite and ask questions about it.

Data clean-up

Fix inconsistent values across a small dataset with review.

Learning SQL

Ask the assistant to explain the queries it writes.

Tools

Available tools

Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.

Read and write: Full read and write, including deletes and raw SQL; no read-only switch documented.

  • db_info

    Gets details about the connected database.

  • list_tables

    Lists all tables in the database.

  • get_table_schema

    Shows a table's columns and schema.

  • create_record

    Inserts a new record into a table.

  • read_records

    Reads records with optional filters.

  • update_records

    Updates records that match conditions.

  • delete_records

    Deletes records that match conditions.

  • query

    Runs a custom SQL query.

Workflows

Example workflows

Analyze an exported dataset

  1. 1

    Copy the export into a new SQLite file.

  2. 2

    Point the server at the copy.

  3. 3

    Ask the assistant to describe the tables.

  4. 4

    Ask questions and get answers with the SQL shown.

  5. 5

    Save useful queries for later.

Clean a prototype database

  1. 1

    Make a backup of the file.

  2. 2

    Ask the assistant to find duplicate or empty records.

  3. 3

    Review the list it returns.

  4. 4

    Approve the updates or deletes.

  5. 5

    Compare record counts before and after.

Prompts

Example prompts

  • “Describe every table in this database and how they relate.”

  • “Find customers with no email address and list them.”

  • “Show the SQL you would use to merge duplicate products, but do not run it yet.”

Setup

Installation and configuration

Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.

Claude Desktop: claude_desktop_config.json

{
    "mcpServers": {
        "MCP SQLite Server": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-sqlite",
                "<path-to-your-sqlite-database.db>"
            ]
        }
    }
}

Claude Code: terminal

claude mcp add sqlite -- npx -y mcp-sqlite /path/to/your-database.db
  • Local server: stdio. npm: mcp-sqlite (takes the database file path as an argument).
  • Needs: None. Needs a local path to the SQLite database file..

Security

Security considerations

  • Work on copies

    The server can delete data. Use a copy of the file for anything important.

  • Limit the path

    Point it only at the file it needs.

  • Review changes

    Ask the assistant to show SQL before running changes.

  • Community code

    Review the code and pin the version before use.

Related servers

Servers that pair well with it

PostgreSQL

Lets AI assistants explore a PostgreSQL database, run SQL in a restricted read-only mode and check query performance and database health.

MySQL

A community MCP server that lets AI run SQL against MySQL, read-only by default, with insert, update and delete each switched on separately.

Filesystem

The MCP project's Filesystem reference server lets AI read, write, edit, move and search files, only inside folders you allow.

Keep exploring

FAQ

Questions people ask us

Have a question that is not here? Ask us directly.

Start a project

Want this connected to your own systems? We build AI workflows with MCP.

Send a short brief. We reply with questions, a suggested plan and an estimate you can compare with other offers.

Your privacy choices

We use necessary storage to run this site. With your permission we also use Google Analytics to see which pages help people, and load maps from Google. You can change this at any time. Read the cookie policy.