SQLite MCP Server

Databasestdiov2026.1.26
Repository

MCP server for SQLite database interaction and business intelligence. Enables AI agents to query SQLite databases, create and modify tables, run analytical queries, and generate insights from data. Supports read-write operations with transaction safety and provides schema introspection for understanding database structure.

Connect

Add this configuration to .claude/mcp.json

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "./database.db"
      ]
    }
  }
}

Tools (5)

read_query

Execute a SELECT query against the SQLite database.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL SELECT query to execute"
    }
  }
}

write_query

Execute an INSERT, UPDATE, or DELETE query against the database.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "SQL write query to execute"
    }
  }
}

create_table

Create a new table in the SQLite database.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "CREATE TABLE SQL statement"
    }
  }
}

list_tables

List all tables in the SQLite database.

{
  "type": "object",
  "properties": {}
}

describe_table

Get the schema of a specific table including columns and types.

{
  "type": "object",
  "required": [
    "table_name"
  ],
  "properties": {
    "table_name": {
      "type": "string",
      "description": "Name of the table to describe"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Anthropic (@modelcontextprotocol)
Repository
https://github.com/modelcontextprotocol/servers
License
Apache-2.0
Version
2026.1.26
Stars
86,206
Last Updated
January 27, 2026