sqlite_manager MCP server
Commit 19. Okt. 2026Allows AI agents to manage, inspect, query, and optimize local SQLite databases through natural language chat sessions.
Auch bekannt als KikeVen/sqlite_manager, sqlite-manager
- Stars
- 0
- Tools
- 6
- Downloads, 30 Tage
- —
- Neueste Version
- —
- Letzter Commit
- 19. Okt. 2026
- Lizenz
- MIT
Was ist sqlite_manager MCP?
sqlite_manager ist ein MCP server. Allows AI agents to manage, inspect, query, and optimize local SQLite databases through natural language chat sessions. Er stellt 6 Tools bereit, etwa list_tables, describe_table, execute_read_query.
Zusammenfassung generiert aus dem README des Projekts
Über sqlite_manager MCP server
Managing local SQLite databases through natural language chat is what this MCP server enables for developers using clients like Claude Desktop, Cursor, or Zed. It allows AI agents to perform deep schema inspections, run queries, and execute structural optimizations directly via STDIO. Because it uses a stateless session model, you can simply provide the database file path within your chat text instead of configuring hardcoded environment variables.
The server supports Windows, macOS, and Linux, handling various path formats automatically. It provides specific tools for different database tasks, such as list_tables for viewing views and tables, describe_table for inspecting columns and constraints, and execute_read_query for secure data lookups. For more complex tasks, it includes execute_transaction to manage multiple updates within an atomic ACID rollback block. Maintenance is handled through the optimize_and_maintain tool, which supports vacuum, analyze, and integrity_check operations to keep your local files healthy.
Was du damit machen kannst
- 1Inspect database structuresAsk your AI agent to list all tables and columns within a specific local database file.
- 2Perform secure data lookupsRequest specific records from a table using read-only SQL queries.
- 3Execute multi-step updatesHave the agent perform a series of related database modifications that must succeed or fail together.
- 4Maintain database healthInstruct the AI to defragment or validate the integrity of a database file.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
sqlite_manager MCP tools 6
Erkannt aus dem READMElist_tablesdescribe_tableexecute_read_queryexecute_write_queryexecute_transactionoptimize_and_maintain
| list_tables | — | |
| describe_table | — | |
| execute_read_query | — | |
| execute_write_query | — | |
| execute_transaction | — | |
| optimize_and_maintain | — |
Automatisierte Checks
Geluften am 15. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarkikeven/sqlite_manager is public and reachablegithub.com/kikeven/sqlite_manager ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-10-19github.com/kikeven/sqlite_manager ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell6 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenContext-Driven - (MCP) SQLite Server Manager
An enterprise-grade Model Context Protocol (MCP) Server v2 implementation designed to manage local SQLite databases dynamically through LLM chat sessions. This server provides AI agents (such as Claude Desktop, Cursor, and VS Code) with deep schema inspection, secure read/write capabilities, multi-statement ACID transactions, and structural database optimization tools natively via STDIO.
🚀 Key Features
- Zero-Config Stateless Sessions: Pass the target database file path directly within your chat session text—no hardcoded environment variables required.
- Multi-Platform Target Compatibility: Natively parses and handles Windows absolute path strings (
C:\data\db.sqlite) as well as macOS and Linux paths (/var/db/app.db) without configuration changes. - Deep Schema Inspection: Structural tools to dynamically extract schemas, tables, columns, indexes, and active foreign key constraints.
- Strict Security Boundaries: Built-in read-only query paths enforcement using system-level database structures to prevent unauthorized modifications.
- Transactional Pipeline Execution: Execute sequential modification loops within a secure rollback transaction boundary.
- Built-in Maintenance Hooks: Native optimization commands supporting automated database defragmentation (
VACUUM), data planner analytics (ANALYZE), and database validation checks (integrity_check).
🛠️ System Requirements & Prerequisites
- Operating System: Windows 10 / 11, macOS, or Linux.
- Python Environment: Python 3.10 or higher.
- Supported Clients: Any Model Context Protocol host client (Claude Desktop App, Cursor, Zed, etc.).
📦 Installation & Setup Guide
1. Clone & Initialize the Project Workspace
Open your preferred terminal window (such as PowerShell or Command Prompt on Windows) and run:
# Clone the repository workspace
git clone https://github.com/KikeVen/sqlite-manager.git
cd sqlite-manager
# Build an isolated Python virtual environment
python -m venv venv
2. Activate Environment & Install Dependencies
Activate the virtual environment according to your operating system platform:
On Windows (PowerShell):
.\sqlite-manager\Scripts\Activate.ps1
On Windows (Command Prompt):
.\sqlite-manager\Scripts\activate.bat
On macOS / Linux:
source sqlite-manager/bin/activate
Install the production dependencies utilizing the provided tracking file:
pip install -r requirements.txt
⚙️ LLM Integration Configuration
To integrate this utility with your preferred AI client application, link the executable environment directly via your system config path.
Claude Desktop Integration
Navigate to your active system app settings path:
- Windows Configuration Path:
%APPDATA%\Claude\claude_desktop_config.json - macOS Configuration Path:
~/Library/Application Support/Claude/claude_desktop_config.json
Add or merge the following block inside your configuration schema:
{
"mcpServers": {
"sqlite-manager": {
"command": "C:\\absolute\\path\\to\\mcp-sqlite-env\\Scripts\\python.exe",
"args": ["C:\\absolute\\path\\to\\server.py"]
}
}
}
⚠️ Important: Ensure you replace the absolute file path tokens with the true location pointers on your disk. On Windows systems, escape all folder separators using double backslashes (
\\).
💡 Conversational Chat Usage
Once integrated, your LLM agent will dynamically recognize the tools and extract the file paths out of your conversational phrasing. There is no separate setup script required.
Example Prompts to Try
- "Using
sqlite-managercheck my SQLite database structure atC:/Data/app.dband output a full list of all available tables." - "Using
sqlite-managerrun a structural analysis of the users table inside/Users/username/Projects/analytics.dbto show its columns and keys." - "Using
sqlite-managerexecute a SELECT query over the items table inC:\Cache\local.dbto extract records where the total is greater than 500." - "Using
sqlite-manageroptimize the database file page size located at/var/lib/store.dbusing a vacuum operation."
🛠️ Core Tool Specification Sheet
This server exposes the following functional tool endpoints to your LLM agent:
| Tool Method Identifier | Parameter Arguments | Core Operational Focus |
|---|---|---|
list_tables |
db_path |
Returns an array string containing all tracking tables and active database views. |
describe_table |
db_path, table_name |
Pulls table layout structures including columns, constraints, and indexes. |
execute_read_query |
db_path, sql_query |
Securely runs read-only data evaluation lookups using PRAGMA query_only. |
execute_write_query |
db_path, sql_query, params |
Handles mutation cycles like INSERT, UPDATE, or structural ALTER TABLE changes. |
execute_transaction |
db_path, sql_queries |
Loops multiple operational updates safely within an atomic ACID rollback block. |
optimize_and_maintain |
db_path, operation |
Performs low-level runtime engine processes: vacuum, analyze, or integrity_check. |
📄 License
Distributed under the MIT License. See LICENSE file for more details.
sqlite_manager MCP Fragen
Welche Tools bietet sqlite_manager MCP?
Er stellt 6 Tools bereit, darunter list_tables, describe_table, execute_read_query, execute_write_query, execute_transaction.
How do I specify which database to use?
You can pass the target database file path directly within your chat session text without needing hardcoded environment variables.
What operating systems are supported?
The server is cross-platform and works on Windows 10/11, macOS, and Linux.
Can the server perform database maintenance?
Yes, it includes built-in tools for vacuuming, analyzing data planners, and performing integrity checks.
Is it possible to run multiple queries safely?
Yes, the server supports executing multiple operational updates within a secure, atomic ACID rollback transaction block.