About Sqlite
Sqlite is an MCP server published by nhevers in the Data category: mCP server for SQLite database operations.
Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/nhevers/mcp-sqliteThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Sqlite
Powered by Claude · Grounded in docs
Security checks
Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository ships documentation.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
mcp-sqlite
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
README fetched from the repository 6 hours ago. The original is authoritative.