SQLite MCP Server
Query and manage SQLite databases with your AI assistant
The SQLite MCP Server connects Claude to local SQLite databases. Great for data analysis on local datasets, application databases, and quick prototyping. Unlike PostgreSQL, SQLite needs no server — it works directly with .db files on your disk.
Installation & Configuration
Add this block to your claude_desktop_config.json (or your agent framework's MCP config file):
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": ["mcp-server-sqlite", "--db-path", "/path/to/your.db"]
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Available Tools (6)
read_querywrite_querycreate_tablelist_tablesdescribe_tableappend_insight
Use Cases
- Local analytics — query app databases without setting up Postgres
- Rapid prototyping — build and populate test databases conversationally
- Data migration — extract and transform SQLite data with natural language
Source & Documentation
GitHub Repository: https://github.com/modelcontextprotocol/servers/tree/main/src/sqlite
Protocol: Model Context Protocol (MCP) — modelcontextprotocol.io