# dbmcp-sqlite
[](https://crates.io/crates/dbmcp-sqlite)
[](https://docs.rs/dbmcp-sqlite)
[](https://github.com/haymon-ai/dbmcp/actions/workflows/ci.yml)
[](https://github.com/haymon-ai/dbmcp/blob/master/LICENSE)
SQLite backend for [dbmcp](https://dbmcp.haymon.ai) — the single-binary MCP server that lets your AI assistant talk to SQL databases.
## What you get
- `SqliteHandler` ready to plug into any `rmcp::ServerHandler`-compatible MCP transport
- MCP tool surface: `listTables` (with `detailed: true`), `listViews`, `listTriggers`, `readQuery`, `writeQuery`, `explainQuery`, `dropTable`
- File or `:memory:` — point it at a path or run entirely in RAM
- Read-only by default — write tools hidden unless explicitly disabled
- Parameterised queries everywhere — user values never touch SQL strings
- Optional PII redaction on every `readQuery` payload
- Zero server — perfect for local AI tools, demos, and CI
See the main crate: **[dbmcp](https://dbmcp.haymon.ai)** · [Website](https://dbmcp.haymon.ai) · [Docs](https://dbmcp.haymon.ai/docs/)