SQLite MCP Server
Query SQLite databases, inspect schemas, and explain queries from your AI assistant. Read-only by default for safety. Its 5 documented tools cluster into read & search, schema, table, explain. It runs locally over stdio via the published package.
People who work with database, query and sql and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.
VERIFIED ACTIVE
LAST COMMIT 2026-03-10 · ★ 3 · #108 OF 168 MAINTAINED DATABASE · VERIFIED 2026-09-18
MIT · TypeScript servers · how we verify → /methodology
01 · Install SQLite
Claude Code
claude mcp add ofershap-mcp-server-sqlite -- npx -y mcp-sqlite-server Claude Desktop / Cursor / VS Code - add to config
{
"mcpServers": {
"ofershap-mcp-server-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-server"
]
}
}
} Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.
Using another client? Same JSON, different key
Claude Desktop · mcpServers
Cursor · mcpServers
VS Code · servers
Windsurf · mcpServers
Zed · context_servers
Cline · mcpServers
Roo Code · mcpServers
Continue · mcpServers
LibreChat · mcpServers
Gemini CLI · mcpServers
Codex CLI · mcp_servers
Full setup guides: every client.
02 · Evidence
Security posture
What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.
runs as local process (stdio) - runs on your machine with your user's permissions
license MIT - declared in the repository
npm package mcp-sqlite-server - unscoped; check the name against the project README before installing
registry namespace io.github.ofershap is GitHub-verified and matches the repo owner
03 · What SQLite can do
Prose above is summarized from the project's README and registry record - no invented capabilities.
What you can build
With this server connected, an agent can get full schema: all tables with columns, types, and row counts, and list .db, .sqlite, .sqlite3 files in a directory.
Capability map
Tools grouped from the project's README - what SQLite lets an agent do.
read & search
2 tools - e.g. Execute SQL (SELECT, PRAGMA, EXPLAIN, WITH). Returns results as a table.; List .db, .sqlite, .sqlite3 files in a directory.
query · list_databases
Schema
1 tool - e.g. Get full schema: all tables with columns, types, and row counts.
schema
Table
1 tool - e.g. Detailed info for a single table: columns, constraints, row count.
table_info
Explain
1 tool - e.g. Run EXPLAIN QUERY PLAN to optimize queries.
explain
04 · Who maintains SQLite
sqlite is maintained by ofershap. We track 15 MCP servers from ofershap - 15 actively maintained, 98 combined GitHub stars, oldest repo from Feb 2026. Full record: all servers from ofershap.
- real-browser MCP server + Chrome extension for AI browser control with real sessions. ★ 51
- ai-context-kit Lint, measure, and sync AI context files across Cursor, Claude Code, Copilot. ★ 8
- docker MCP server for Docker - manage containers, images, volumes, and compose services from your IDE ★ 3
- scraper Web scraping MCP - extract clean markdown, links, and metadata from any URL. ★ 6
- markdown Markdown MCP - search, extract sections, list headings, find code blocks. ★ 5
- s3 AWS S3 MCP - list buckets, browse objects, upload/download, presigned URLs. ★ 4
05 · Facts
- repository
- github.com/ofershap/mcp-server-sqlite
- category
- database - ranked #108 of 168 actively-maintained database servers as of 2026-09-18.
- registry
- io.github.ofershap/sqlite (active, first published 2026-03-10)
- packages
- npm:mcp-sqlite-server
06 · SQLite FAQ
Is SQLite still maintained?
Yes - as of 2026-09-18, its last commit was 2026-03-10. We re-verify nightly.
What can SQLite do?
With this server connected, an agent can get full schema: all tables with columns, types, and row counts, and list .db, .sqlite, .sqlite3 files in a directory.
How do I install SQLite?
Run `npx -y mcp-sqlite-server`. You can also paste the ready-made client config above.
Does SQLite run locally?
Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.
07 · Alternatives to SQLite
Alternatives to SQLite
Maintained database servers if SQLite isn't the fit.
- Dbx Query databases from AI agents using connections configured in DBX. ★ 20,017 · 2026-09-18
- Toolbox for Databases MCP Toolbox for Databases enables your agent to connect to your database. ★ 16,449 · 2026-09-18
- Butterbase Ai MCP Server Butterbase MCP server - manage your backend: schemas, auth, functions, storage, RAG, deploys. ★ 3,562 · 2026-09-18
- Dbhub Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB ★ 3,534 · 2026-09-18
- LINQ to DB Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB. ★ 3,328 · 2026-09-17
- Supabase MCP server for interacting with the Supabase platform ★ 2,910 · 2026-09-17
Pairs well with
Servers that cover what SQLite doesn't - only shown when the pairing reason fits the companion.
- Server Chart → data & analytics companion data & analytics · ★ 4,367
- ClaudeR - RStudio MCP Server → data & analytics companion data & analytics · ★ 342
- Server Filesystem → filesystem companion filesystem · ★ 39,038
- Pdf MCP → filesystem companion filesystem · ★ 135
- Telnyx → API integration companion API integration · ★ 197
- Microsoft 365 MCP Server → API integration companion API integration · ★ 980
More database MCP servers · GLEIF MCP Server · Ouestcharlie Woof · Hit Keep · Arangodb Async · Postgres MCP
More TypeScript MCP servers · Buchhaltungs Butler · Oilpriceapi MCP Server · Microsoft 365 Admin · Clio MCP · Mycase MCP · see all