1. Conduid
  2. Data
  3. Easy Sqlite
MCP server · Data

Easy Sqlite

A high-performance Model Context Protocol (MCP) server for SQLite database interaction.

37Low

Scored 6 months ago · breakdown

About Easy Sqlite

Easy Sqlite is an MCP server in the Data category: a high-performance Model Context Protocol (MCP) server for SQLite database interaction.

Install

Claude Code
claude mcp add easy-sqlite -- npx -y easy-sqlite-mcp
npx
npx -y easy-sqlite-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (8)

sqlite_closeClose the current database connection. Manual mode only

Parameters not published.

sqlite_describe_tableDescribe the schema of a table

Parameters not published.

sqlite_executeExecute a write or modification SQL statement

Parameters not published.

sqlite_list_tablesList all user tables in the database

Parameters not published.

sqlite_manualReturn the built-in manual. Use this first when you are unsure how to use SQLite tools or need help diagnosing an operation error

Parameters not published.

sqlite_openOpen a SQLite database file. Manual mode only

Parameters not published.

sqlite_queryExecute a read-only `SELECT` query

Parameters not published.

sqlite_statusReturn connection status and current database summary

Parameters not published.

Ask AI

✦

Ask AI about Easy Sqlite

Powered by Claude · Grounded in docs

I know everything about Easy Sqlite. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Easy SQLite MCP

A Model Context Protocol (MCP) server implemented in Node.js and TypeScript, designed to enable LLMs to interact directly with SQLite databases.

Modes

Easy SQLite MCP supports two startup modes. The server description is generated at startup so MCP clients and agents can clearly understand which mode is active.

Manual Mode

Manual mode is used when SQLITE_PATH is not provided.

In this mode, the agent must explicitly open and close a database:

  1. Call sqlite_open(path) before using database tools.
  2. Use query, execute, and schema discovery tools.
  3. Call sqlite_close when finished.

Only one SQLite database file can be open at a time. Opening another file closes the previous connection first.

Server description:

Manual: This is a SQLite tool. Before using it, call sqlite_open(path) to open a database file. After use, call sqlite_close to close it. Only one database file can be open at a time.

Available tools in Manual mode:

  • sqlite_open
  • sqlite_close
  • sqlite_status
  • sqlite_query
  • sqlite_execute
  • sqlite_list_tables
  • sqlite_describe_table

Fixed Mode

Fixed mode is used when SQLITE_PATH is provided as an environment variable.

In this mode, the server automatically opens the configured SQLite database during startup. The agent does not need to call sqlite_open, and connection switching is disabled.

Server description:

Fixed: This is a SQLite tool connected to Path:<SQLITE_PATH>

Available tools in Fixed mode:

  • sqlite_status
  • sqlite_query
  • sqlite_execute
  • sqlite_list_tables
  • sqlite_describe_table

Example:

SQLITE_PATH=/data/app.sqlite npx easy-sqlite-mcp

Features

This server provides SQLite tools covering all requirements from connection management to data querying:

  1. Connection Management:
    • sqlite_open: Open a specific SQLite database file path. Manual mode only.
    • sqlite_close: Close the current database connection. Manual mode only.
    • sqlite_status: Check connection status, file path, and database summary.
  2. Data Operations:
    • sqlite_query: Execute read-only SELECT queries and return results in a structured format.
    • sqlite_execute: Execute write or modification operations (e.g., INSERT, UPDATE, DELETE, CREATE, DROP).
  3. Schema Discovery:
    • sqlite_list_tables: List all user-defined tables in the database.
    • sqlite_describe_table: Get column information, types, and total row count for a specific table.

Installation and Execution

1. Run via npx

If the project is published on npm, you can start it directly using npx without prior installation:

npx easy-sqlite-mcp

2. Local Development and Build

To develop locally or build from source, follow these steps:

npm install
npm run build
npm run dev # Watch for changes and run in development mode

Claude Desktop Example

Manual mode:

{
  "mcpServers": {
    "easy-sqlite-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "easy-sqlite-mcp"
      ]
    }
  }
}

Fixed mode example:

{
  "mcpServers": {
    "easy-sqlite-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "easy-sqlite-mcp"
      ],
      "env": {
        "SQLITE_PATH": "/absolute/path/to/database.sqlite"
      }
    }
  }
}

Codex config.toml Example

Manual mode:

[mcp_servers.easy-sqlite-mcp]
args = ["-y", "easy-sqlite-mcp"]
command = "npx"
enabled = true

Fixed mode example:

[mcp_servers.easy-sqlite-mcp]
args = ["-y", "easy-sqlite-mcp"]
command = "npx"
enabled = true

[mcp_servers.easy-sqlite-mcp.env]
SQLITE_PATH = "/absolute/path/to/database.sqlite"

OpenCode opencode.jsonc Example

Manual mode:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "easy-sqlite-mcp": {
      "type": "local",
      "command": ["npx", "-y", "easy-sqlite-mcp"],
      "enabled": true,
    },
  },
}

Fixed mode example:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "easy-sqlite-mcp": {
      "type": "local",
      "command": ["npx", "-y", "easy-sqlite-mcp"],
      "enabled": true,
      "environment": {
        "SQLITE_PATH": "/absolute/path/to/database.sqlite"
      },
    },
  },
}

Tech Stack

  • Runtime: Node.js (>= 18)
  • Language: TypeScript
  • SDK: @modelcontextprotocol/sdk
  • Database: better-sqlite3 (High performance with support for synchronous operations)
  • Validation: Zod (Strict parameter validation)

Developed with the assistance of Antigravity.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Easy Sqlite

How do I install Easy Sqlite?

Run claude mcp add easy-sqlite -- npx -y easy-sqlite-mcp, then add the server to your MCP client's configuration.

Is Easy Sqlite safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Easy Sqlite still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.