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
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
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 madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
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-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare Sqlite with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
