MCP.so
Sign In

SQLite MCP Server

@dubydu

About SQLite MCP Server

A lightweight Model Context Protocol (MCP) server that enables Large Language Models (LLMs) to autonomously interact with SQLite databases.

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "sqlite-mcp": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is SQLite MCP Server?

A lightweight Model Context Protocol (MCP) server that enables Large Language Models (LLMs) to autonomously interact with SQLite databases.

How to use SQLite MCP Server?

Clone the repository, set up a Python virtual environment, install dependencies with pip install -r requirements.txt, then run python src/entry.py --db-path /path/to/your/database.db. Configure your MCP client (e.g., 5ire or Claude Desktop) with the appropriate command and arguments.

Key features of SQLite MCP Server

  • Enables LLMs to autonomously read and write SQLite databases
  • Lightweight MCP server implementation
  • Supports custom database file paths via --db-path
  • Works with MCP clients like 5ire and Claude Desktop
  • Requires Python 3.12.7+, MCP 1.6.0+, and PyTest

Use cases of SQLite MCP Server

  • Allowing LLMs to query and update local SQLite databases autonomously
  • Integrating AI agents with embedded or file‑based data stores
  • Prototyping data‑driven LLM applications with minimal setup

FAQ from SQLite MCP Server

What is the MCP protocol?

The Model Context Protocol (MCP) is a standard that allows LLMs to interact with external tools and data sources.

What are the runtime requirements?

Python 3.12.7 or higher, the MCP library version 1.6.0+, and PyTest are required.

How do I specify which database to use?

Use the --db-path command‑line argument when starting the server; the default path is ./db/database.db.

Which MCP clients are supported?

Configuration examples are provided for 5ire and Claude Desktop in the README.

Where can I find the full list of available tools?

See the MCP_TOOLS.md file in the repository for a complete list of tools.

Frequently asked questions

What is the MCP protocol?

The Model Context Protocol (MCP) is a standard that allows LLMs to interact with external tools and data sources.

What are the runtime requirements?

Python 3.12.7 or higher, the MCP library version 1.6.0+, and PyTest are required.

How do I specify which database to use?

Use the `--db-path` command‑line argument when starting the server; the default path is `./db/database.db`.

Which MCP clients are supported?

Configuration examples are provided for 5ire and Claude Desktop in the README.

Where can I find the full list of available tools?

See the `MCP_TOOLS.md` file in the repository for a complete list of tools.

Comments

More Databases MCP servers