mcp/sqlite
A Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through SQLite. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.
The server exposes a single dynamic resource:
memo://insights
: A continuously updated business insights memo that aggregates discovered insights during analysis
The server provides a demonstration prompt:
mcp-demo
: Interactive prompt that guides users through database operations
topic
- The business domain to analyzeThe server offers six core tools:
Query Tools
read_query
query
(string): The SELECT SQL query to executewrite_query
query
(string): The SQL modification query{ affected_rows: number }
create_table
query
(string): CREATE TABLE SQL statementSchema Tools
list_tables
describe-table
table_name
(string): Name of table to describeAnalysis Tools
append_insight
insight
(string): Business insight discovered from data analysis# Add the server to your claude_desktop_config.json
"mcpServers": {
"sqlite": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"mcp-test:/mcp",
"mcp/sqlite",
"--db-path",
"/mcp/test.db"
]
}
}
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
docker pull mcp/sqlite