Sqlite
FreeNot checkedMCP server that provides SQLite database operations. Allows AI assistants to query, modify and manage SQLite databases through the Model Context Protocol.
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
Installing Sqlite
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/nhevers/mcp-sqliteFAQ
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
Postgres
Query your database in natural language
by Anthropicwenb1n-dev/SmartDB_MCP
Connect to multiple databases at once (MySQL, PostgreSQL, SQL Server, MariaDB, Dameng, Oracle) for operations, health analysis and SQL optimization.
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labsjulien040/anyquery
Query apps with SQL from a single local-first binary; also connects to PostgreSQL, MySQL and SQLite-compatible databases.
by julien040drakonkat/wizzy-mcp-tmdb
Search and retrieve movie, TV show and person information from The Movie Database (TMDB) API.
by drakonkatlongevity-genie/opengenes-mcp
Query the OpenGenes database for aging and longevity research.
by longevity-genieCompare Sqlite with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
