mcp-sqlite
Provides tools for executing SQL queries (SELECT, INSERT, UPDATE, DELETE), inspecting schema, listing tables, and managing transactions on a SQLite database.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sqliteShow me the schema for the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.txtRelated MCP server: SQLite MCP Server
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 8080Claude Desktop configuration
{
"mcpServers": {
"sqlite": {
"command": "python",
"args": ["-m", "mcpsqlite", "--db", "data.db"]
}
}
}License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server implementation that enables AI assistants to execute SQL queries and interact with SQLite databases through a structured interface.Last updated7MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with SQLite databases by connecting to database files, listing tables, describing schemas, and executing queries.Last updated61992MIT
- Alicense-qualityCmaintenanceAn MCP server that enables AI agents to interact with SQLite databases by querying schemas, executing SQL, and inspecting table metadata. It supports safe database access through configurable read-only modes, query timeouts, and dry-run execution plans.Last updatedMIT
- Alicense-qualityFmaintenanceA comprehensive Model Context Protocol (MCP) server for SQLite database operations. This server enables AI assistants to interact with SQLite databases through a standardized interface.Last updated392MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
GibsonAI MCP server: manage your databases with natural language
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nhevers/mcp-sqlite'
If you have feedback or need assistance with the MCP directory API, please join our Discord server