drio
Open app

Sqlite

Source

Database interaction and business intelligence capabilities

Catalog onlyCatalog onlySTDIO

Overview

SQLite MCP Server is an implementation of the Model Context Protocol (MCP) that provides database interaction and business intelligence capabilities using SQLite. It allows users to run SQL queries, analyze business data, and automatically generate business insight reports.

To use the SQLite MCP Server, integrate it into your Claude Desktop configuration. Add the server to your configuration file, specifying the directory and database path, then start the MCP server to interact with your databases.

  • Execute SQL queries for reading and modifying data. - Generate and auto-update business insights memos based on data analysis. - Comprehensive database operations including table creation and schema description.
  1. Performing data analysis for business decision making.
  2. Automatically aggregating insights from large datasets.
  3. Facilitating interactive database operations for users.

Add to your AI client

Use these steps to connect Sqlite in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "sqlite": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sqlite"
      ]
    }
  }
}

FAQ

What SQL commands can I run with SQLite MCP Server?

You can run SELECT, INSERT, UPDATE, and DELETE commands along with commands for table creation.

Is the SQLite MCP Server easy to set up?

Yes, it can be easily set up by adding it to your Claude Desktop configuration file.

Can I modify the SQLite MCP Server code?

Yes, the server is licensed under the MIT License, allowing modifications and redistribution.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":47,"uuid":"87d1e82d-341f-43b0-bad1-bef6a4921829","name":"sqlite","title":"Sqlite","description":"Database interaction and business intelligence capabilities","avatar_url":"https://r2.trys.ai/imgs/37d9giwiy-1733450284166.png","created_at":"$D2024-12-05T16:27:19.593Z","updated_at":"$D2024-12-13T07:40:43.978Z","status":"created","author_name":"","author_avatar_url":"","tags":"sqlite,database,business-intelligence","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/modelcontextprotocol/servers/blob/main/src/sqlite","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]