Back to Home
FlowTheTensor icon

sqlite-mcp

Verified Safe

by FlowTheTensor

Overview

Enables Large Language Models to query a local SQLite database for information via the Model Context Protocol (MCP).

Installation

Run Command
node build/index.js

Security Notes

The server explicitly restricts `query_database` tool to only allow SQL SELECT statements, preventing any data modification, deletion, or insertion. This is enforced by a `startsWith("SELECT")` check on the input query. No `eval` functions or hardcoded secrets were found. Communication is local via stdio. The `better-sqlite3` database is initialized with `readonly: false` in the server code, but the application logic's `SELECT` check effectively mitigates the risk of unintended writes through the tool interface.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens100
Stars0
Forks0
Last Update2025-11-24

Tags

LLM ToolingSQLiteDatabase AccessMCP ServerNode.js