Database interaction and business intelligence capabilities
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:
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 statementlist_tables
describe-table
table_name
(string): Name of table to describeappend_insight
insight
(string): Business insight discovered from data analysis# Add the server to your claude_desktop_config.json
"mcpServers": {
"sqlite": {
"command": "uv",
"args": [
"--directory",
"parent_of_servers_repo/servers/src/sqlite",
"run",
"mcp-server-sqlite",
"--db-path",
"~/test.db"
]
}
}
# 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"
]
}
}
For quick installation, click the installation buttons below:
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P
and typing Preferences: Open Settings (JSON)
.
Optionally, you can add it to a file called .vscode/mcp.json
in your workspace. This will allow you to share the configuration with others.
Note that the
mcp
key is needed when using themcp.json
file.
{
"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}"
]
}
}
}
}
Docker:
docker build -t mcp/sqlite .
uv add "mcp[cli]"
mcp dev src/mcp_server_sqlite/server.py:wrapper
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.
by: modelcontextprotocol
Retrieving and analyzing issues from Sentry.io
by: meilisearch
A Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces like Claude.
by: XGenerationLab
An MCP server that supports fetching data from a database using natural language queries, powered by XiyanSQL as the text-to-SQL LLM.
by: modelcontextprotocol
Channel management and messaging capabilities