Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Sqlite

FreeNot checked

MCP server that provides SQLite database operations. Allows AI assistants to query, modify and manage SQLite databases through the Model Context Protocol.

GitHubEmbed

About

MCP server that provides SQLite database operations. Allows AI assistants to query, modify and manage SQLite databases through the Model Context Protocol.

README

MCP server that provides SQLite database operations. Allows AI assistants to query, modify and manage SQLite databases through the Model Context Protocol.

Installation

pip install -r requirements.txt

Quick Start

from mcpsqlite import SQLiteServer

server = SQLiteServer(db_path="data.db")
server.run()

Features

  • Execute SELECT, INSERT, UPDATE, DELETE queries
  • Schema inspection and table listing
  • Transaction support with rollback
  • Query result formatting
  • Safe parameterized queries

MCP Tools

query

Execute a SQL query and return results.

{
  "name": "query",
  "arguments": {
    "sql": "SELECT * FROM users WHERE age > ?",
    "params": [18]
  }
}

execute

Execute a SQL statement (INSERT, UPDATE, DELETE).

{
  "name": "execute",
  "arguments": {
    "sql": "INSERT INTO users (name, age) VALUES (?, ?)",
    "params": ["Alice", 25]
  }
}

schema

Get database schema information.

{
  "name": "schema",
  "arguments": {
    "table": "users"
  }
}

tables

List all tables in the database.

{
  "name": "tables",
  "arguments": {}
}

Configuration

server = SQLiteServer(
    db_path="data.db",
    read_only=False,
    max_rows=1000
)

Examples

Running as MCP server

python -m mcpsqlite --db data.db --port 8080

Claude Desktop configuration

{
  "mcpServers": {
    "sqlite": {
      "command": "python",
      "args": ["-m", "mcpsqlite", "--db", "data.db"]
    }
  }
}

License

MIT

from github.com/nhevers/mcp-sqlite

Installing Sqlite

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/nhevers/mcp-sqlite

FAQ

Is Sqlite MCP free?

Yes, Sqlite MCP is free — one-click install via Unyly at no cost.

Does Sqlite need an API key?

No, Sqlite runs without API keys or environment variables.

Is Sqlite hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Sqlite in Claude Desktop, Claude Code or Cursor?

Open Sqlite on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Sqlite with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs