Mcp Server Sqlite Fast
Provides tools for interacting with a SQLite database, including listing tables and views, introspecting table schemas and foreign keys, executing parameterized read/write SQL queries with read-only guardrails, and analyzing query execution plans for indexing and performance optimization.
Click on "Deploy 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 Server Sqlite Fast show me the schema of 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 Server Sqlite Fast 🦈⭐
High-performance Model Context Protocol (MCP) server providing secure read/write queries, schema introspection, and execution plan analysis for SQLite with zero external binary dependencies.
⚡ Highlights
Zero Native C++ Compilation Woes: Built on Node 24 native synchronous SQLite (
node:sqlite), guaranteed instant startup withoutnode-gyperrors.Introspection & Schema Discovery: Auto-inspects tables, foreign keys, indexes, and column types.
Strict Read-Only Guardrails: Enforces safety constraints to prevent accidental database drops or mutations during agent autonomous exploration.
Explain Query Plan: Built-in EXPLAIN execution plan tool for database indexing recommendations.
Universal AI Agent Compatibility: Plug-and-play with Claude Code, Cursor, Windsurf, Zed, and any MCP-compliant client.
Related MCP server: sql-guard-mcp
🚀 Quickstart
1. Installation & Build
git clone https://github.com/Dali5599/mcp-server-sqlite-fast.git
cd mcp-server-sqlite-fast
npm install
npm run build2. Configure with Claude Desktop or Claude Code
Add to your claude_desktop_config.json or mcp.json:
{
"mcpServers": {
"sqlite-fast": {
"command": "node",
"args": [
"/path/to/mcp-server-sqlite-fast/dist/index.js"
]
}
}
}🛠️ Available MCP Tools
Tool | Parameters | Description |
|
| Lists all tables, views, and schemas in the SQLite database. |
|
| Introspects table columns, primary keys, and foreign keys. |
|
| Executes SQL queries with optional parameterized arguments. |
|
| Analyzes execution plan to optimize indexing and query performance. |
🧪 Testing
npm testAll 5 automated unit tests execute with sub-millisecond latency.
📜 License
MIT License - Developed with precision by Dali & Requin Autonomous AI.
Available Tools
4 toolsdescribe_tableB
Introspect table schema, column types, primary keys, and foreign keys.
Inputs: db_path (required), table_name (required).
execute_queryC
Execute a read-only or read/write SQL query with safety constraints.
Inputs: query (required), db_path (required), params, read_only.
explain_queryB
Get the SQLite EXPLAIN QUERY PLAN analysis to optimize indexing.
Inputs: query (required), db_path (required).
list_tablesB
List all tables, views, and row counts in a SQLite database.
Inputs: db_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a distinct primary purpose: listing tables, describing schema, executing SQL, and explaining query plans. There is mild overlap because execute_query could run EXPLAIN statements, but the specialized explain_query makes the intent clear.
All four tools follow a consistent snake_case verb_noun pattern: list_tables, describe_table, execute_query, explain_query. The convention is predictable throughout.
Four tools are well-scoped for a focused SQLite query/analysis server. Each tool earns its place without redundant surface area.
The surface covers discovery, schema introspection, query execution, and query-plan optimization. Some database operations like index listing or explicit transaction management rely on execute_query, which is a minor gap rather than a blocker.
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
The all-in-one data stack for agents. Upload files, run SQL, evolve tables, and render charts.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Deterministic safety, correctness & cost gate that vets Postgres SQL before your AI agent runs it.
Related MCP Servers
- AlicenseAqualityDmaintenanceLets AI agents query local SQLite database files read-only using Node's built-in sqlite module, providing tools for listing tables, describing schemas, and running SQL queries.310 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to safely query and explore SQLite databases through read-only, guard-protected tools that block writes, sensitive table access, and runaway queries.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to safely explore and query databases across SQLite, PostgreSQL, MySQL, and MSSQL, with schema introspection, natural language queries, and data profiling.MIT
- AlicenseAqualityBmaintenanceEnables AI agents to inspect database schemas and run strictly read-only SQL queries with guardrails against destructive statements, multi-statement chaining, and unbounded scans. Supports SQLite natively and PostgreSQL optionally.437 PyPIMIT