Execute SELECT queries to read data from the database
Execute INSERT, UPDATE, or DELETE queries to modify data in the database
Create new tables in the database
Get a list of all tables in the database
View schema information for a specific table
Add new business insights to the memo resource
The SQLite Database Analyzer provides a powerful interface for interacting with SQLite databases through natural language. It enables users to execute SQL queries, analyze business data, and automatically generate business intelligence memos based on discovered insights. With this tool, you can create and modify database schemas, run complex queries, and maintain a continuously updated business insights memo that aggregates findings during your analysis. The server includes demonstration prompts that guide users through database operations for specific business domains.
The SQLite Database Analyzer is a Model Context Protocol (MCP) server that provides database interaction capabilities through SQLite. It allows you to run SQL queries, analyze business data, and automatically generate business intelligence memos.
Add the following configuration to your claude_desktop_config.json
file:
"mcpServers": {
"sqlite": {
"command": "uv",
"args": [
"--directory",
"PATH_TO_SERVERS_REPO/servers/src/sqlite",
"run",
"mcp-server-sqlite",
"--db-path",
"~/test.db"
]
}
}
Replace PATH_TO_SERVERS_REPO
with the actual path to the parent directory of the servers repository.
Add the following configuration to your claude_desktop_config.json
file:
"mcpServers": {
"sqlite": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"mcp-test:/mcp",
"mcp/sqlite",
"--db-path",
"/mcp/test.db"
]
}
}
For VS Code, you can use the installation buttons provided in the repository README, or manually add the configuration to your settings.
Add the following to your User Settings (JSON) file in VS Code or to .vscode/mcp.json
in your workspace:
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "db_path",
"description": "SQLite Database Path",
"default": "${workspaceFolder}/db.sqlite"
}
],
"servers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"${input:db_path}"
]
}
}
}
}
{
"mcp": {
"inputs": [
{
"type": "promptString",
"id": "db_path",
"description": "SQLite Database Path (within container)",
"default": "/mcp/db.sqlite"
}
],
"servers": {
"sqlite": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"mcp-sqlite:/mcp",
"mcp/sqlite",
"--db-path",
"${input:db_path}"
]
}
}
}
}
If you want to build the Docker image yourself:
docker build -t mcp/sqlite .
Once installed, you can interact with the SQLite Database Analyzer through Claude or other compatible AI assistants. The server provides a demonstration prompt that guides you through database operations:
mcp-demo
prompt with a topic
argument to specify the business domain you want to analyzeThe server exposes a dynamic resource memo://insights
that automatically updates as new insights are discovered during your analysis.