sqlite-mcp-local
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sqlite-mcp-localshow me the schema for the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sqlite-mcp-local
A lightweight, read-only MCP server for a local SQLite database. It communicates only via standard input/output, so it is intended to be launched by Claude Desktop, Claude Code, or another MCP client — not as an HTTP service.
Requirements
Node.js 22.13+ (uses Node's built-in
node:sqlite)A local SQLite database
Runtime dependency: only @modelcontextprotocol/sdk. No SQLite native addon or database service is required.
Related MCP server: MCP SQLite Server
Install and run
npm install
npm run build
node dist/index.js /absolute/path/to/my-data.dbOr set SQLITE_MCP_DB:
SQLITE_MCP_DB=./my-data.sqlite node dist/index.jsFor zero-config use, start it in a directory containing exactly one .db, .sqlite, or .sqlite3 file:
node dist/index.jsThe database path is fixed when the server starts. The tools never accept file paths.
Claude Desktop configuration
Add this to the mcpServers section of your Claude Desktop configuration (adjust paths):
{
"mcpServers": {
"local-sqlite": {
"command": "node",
"args": ["/absolute/path/to/sqlite-mcp-local/dist/index.js", "/absolute/path/to/my-data.db"]
}
}
}After saving, restart Claude Desktop. Build the project once before launching it from Claude.
Tools
Tool | Input | What it does |
| none | Lists user tables and views. |
|
| Returns CREATE SQL, columns, indexes (including index columns), and foreign keys. |
|
| Runs one |
Safety model
The database opens using SQLite's read-only mode.
SQL execution is restricted to one statement beginning with
SELECT,WITH, orEXPLAIN. The parser correctly allows semicolons inside quoted strings and comments.SQLite itself opens the file in read-only mode, providing the final enforcement layer even for complex CTEs.
Query results are streamed and stop after 1,000 rows rather than materializing an unbounded result set.
Large SQLite integers serialize safely as strings; BLOBs serialize as
{ "type": "blob", "base64": "..." }.The server writes diagnostic logs to stderr only; stdout remains exclusively for the MCP stdio protocol.
This is intentionally a simple local tool, not an authentication or multi-user database gateway.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ajaytechgenius/sqlite-mcp-local'
If you have feedback or need assistance with the MCP directory API, please join our Discord server