Basic information
About SQLite MCP Server
Implementation of an MCP (Model Context Protocol) Server for SQLite. It provides an AI model with context and the ability to execute SQL queries.
SQLite MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by javsanmar5. It exposes 2 tools, including list_tables, read_query. Supported transport: stdio. Runtime: node. License: MIT. The repository has 7 GitHub stars. Source code is hosted on github.com. Related topics: ai, claude, docker, mcp, mcp-server.
Setup
{
"mcpServers": {
"mcp-server.sqlite": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/sqlite",
"."
]
}
}
}
{
"mcpServers": {
"mcp-server.sqlite": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/sqlite",
"."
]
}
}
}
{
"servers": {
"mcp-server.sqlite": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/sqlite",
"."
]
}
}
}
SQLite MCP Server (javsanmar5/mcp-server.sqlite) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server.sqlite": {
"command": "docker",
"args": [
"build",
"-t",
"mcp/sqlite",
"."
]
}
}
}
SQLite MCP Server (javsanmar5/mcp-server.sqlite) tools
- list_tables — – lists all tables in the SQLite database
- read_query — – executes SELECT queries on the database
Overview
What is SQLite MCP Server?
A Model Context Protocol (MCP) server implemented in TypeScript that provides an interactive interface for executing SQL queries, managing database schemas, and synthesizing business insights from an SQLite database. It is designed for AI clients that support MCP, such as Claude Desktop.
How to use SQLite MCP Server?
Clone the repository, build the Docker image (docker build -t mcp/sqlite .), then add the provided JSON configuration to your AI client’s configuration file, specifying --db-path (e.g., test_db.sqlite3). After restarting the client, the tools list_tables and read_query become available.
Key features of SQLite MCP Server
list_tables– lists all tables in the SQLite databaseread_query– executes SELECT queries on the database- Runs as a Docker container for easy deployment
- Integrates with MCP‑compatible AI clients like Claude Desktop
Use cases of SQLite MCP Server
- Querying a SQLite database directly from an AI assistant
- Listing all tables to understand database structure
- Running SELECT queries with conditions (e.g.,
SELECT * FROM users WHERE age > 18) - Synthesizing business insights from database content via AI
Frequently asked questions
1 What is MCP?
Model Context Protocol (MCP) is a standardized way for AI models to interact with external tools and services. It allows AI assistants to perform actions like running database queries through a defined protocol interface.
2 How do I set up SQLite MCP Server with Claude Desktop?
On Windows, press Win+R, type %appdata%\Claude, create or edit claude_desktop_config.json with the Docker configuration shown in the README, save, and restart Claude Desktop.
3 Where is the database file stored?
The database is inside the Docker container at the path specified by --db-path. The volume mount -v mcp-test:/mcp persists data across container restarts.
4 What commands does SQLite MCP Server expose?
It exposes two commands: list_tables (list all tables) and read_query (execute SELECT queries).
5 What runtime or dependencies are required?
The server is distributed as a Docker image, so Docker is required. No additional runtime setup is needed beyond building or pulling the image.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In