What is the default safety mode?
Read-only by default. The `query` tool only accepts SELECT, PRAGMA, EXPLAIN, and WITH statements in readonly mode.
@ofershap
基本信息
MCP server for SQLite — query databases, inspect schemas, explain queries
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
}Execute a SQL query against a SQLite database. Returns results as a formatted table. Read-only by default.
Get the schema of a SQLite database: all tables with columns and row counts.
Get detailed info about a single table: columns, types, constraints, and row count.
Explain the query plan for a SQL query (EXPLAIN QUERY PLAN). Helps optimize queries.
List all SQLite database files (.db, .sqlite, .sqlite3) in a directory.
Mcp Server Sqlite is a TypeScript Model Context Protocol server that lets AI assistants query SQLite databases, inspect schemas, and explain queries. It is read-only by default for safety and works with any MCP client (Claude Desktop, Cursor, VS Code Copilot, etc.) by reading local .db files with no authentication required.
Run npx mcp-sqlite-server to start the server, then configure it in your MCP client by adding a server entry with command "npx" and arguments ["mcp-sqlite-server"]. No additional installation steps are needed.
query tool.schema.table_info.explain..db, .sqlite, and .sqlite3 files in a directory via list_databases.readonly=false.Read-only by default. The `query` tool only accepts SELECT, PRAGMA, EXPLAIN, and WITH statements in readonly mode.
The official reference is Python-only. This server is built with TypeScript/Node.js, making it a natural fit for TypeScript and Node.js environments.
Node.js and npm (npx) are required to run the `npx mcp-sqlite-server` command.
No authentication is needed. It reads local `.db` files and uses the standard stdio transport for MCP.
Yes. Set `readonly=false` in the tool arguments to allow INSERT, UPDATE, DELETE, and other write statements.

Verified golf club data for AI agents: holes, par, address, phone, booking links, facilities, visitor rules and green fees for golf clubs in Spain (Canary Islands and mainland), expanding across Europe. Every fact comes
Postgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
评论