1. Conduid
  2. Data
  3. io.github.ofershap/sqlite
MCP server · Data

io.github.ofershap/sqlite

SQLite MCP — query databases, inspect schemas, explain queries, export data.

Unclaimed last commit 7 months ago data
37Low

Scored 6 months ago · breakdown

About io.github.ofershap/sqlite

io.github.ofershap/sqlite is an MCP server published by ofershap in the Data category: sQLite MCP — query databases, inspect schemas, explain queries, export data.

The repository has 4 stars and 1 forks, with the last commit 7 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

Claude Code
claude mcp add io-github-ofershap-sqlite -- npx -y mcp-sqlite-server
npx
npx -y mcp-sqlite-server

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 (5)

explainRun EXPLAIN QUERY PLAN to optimize queries.

Parameters not published.

list_databasesList .db, .sqlite, .sqlite3 files in a directory.

Parameters not published.

queryExecute SQL (SELECT, PRAGMA, EXPLAIN, WITH). Returns results as a table.

Parameters not published.

schemaGet full schema: all tables with columns, types, and row counts.

Parameters not published.

table_infoDetailed info for a single table: columns, constraints, row count.

Parameters not published.

Ask AI

✦

Ask AI about io.github.ofershap/sqlite

Powered by Claude · Grounded in docs

I know everything about io.github.ofershap/sqlite. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-server-sqlite

npm version npm downloads CI TypeScript

Query SQLite databases, inspect schemas, and explain queries from your AI assistant. Read-only by default for safety.

npx mcp-sqlite-server

Works with Claude Desktop, Cursor, VS Code Copilot, and any MCP client. Reads local .db files, no auth needed.

MCP server for querying SQLite databases and inspecting schemas

Demo built with remotion-readme-kit

Why

SQLite is everywhere. It's the default database for mobile apps, Electron apps, local-first tools, and increasingly for server-side projects too (Turso, Cloudflare D1, Bun's built-in SQLite). The official MCP reference includes a basic SQLite server, but it's Python-only. If you're working in a TypeScript/Node.js environment and want to ask your assistant "what tables are in this database?" or "run this query and show me the results," this server handles that. It opens the database read-only by default so you can explore safely, and you can opt into write mode when you need it.

Tools

Tool What it does
query Execute SQL (SELECT, PRAGMA, EXPLAIN, WITH). Returns results as a table.
schema Get full schema: all tables with columns, types, and row counts.
table_info Detailed info for a single table: columns, constraints, row count.
explain Run EXPLAIN QUERY PLAN to optimize queries.
list_databases List .db, .sqlite, .sqlite3 files in a directory.

Quick Start

Cursor

Add to .cursor/mcp.json:

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

Claude Desktop

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

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

VS Code

Configure the MCP server in your VS Code settings to run npx mcp-sqlite-server.

Example prompts

  • "Show me the schema of my database at ./data.db"
  • "Query the users table: SELECT * FROM users LIMIT 10"
  • "Explain the query plan for this complex join"
  • "What tables are in this database?"
  • "Find all .db files in the current directory"

Safety

Read-only by default. The query tool accepts only SELECT, PRAGMA, EXPLAIN, and WITH in readonly mode. Set readonly=false in the tool args to enable INSERT, UPDATE, DELETE, etc.

Development

npm install
npm run typecheck
npm run build
npm test
npm run format
npm run lint

See also

More MCP servers and developer tools on my portfolio.

Author

Made by ofershap

LinkedIn GitHub


README built with README Builder

License

MIT © 2026 Ofer Shapira

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

Questions

About io.github.ofershap/sqlite

How do I install io.github.ofershap/sqlite?

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

Is io.github.ofershap/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 io.github.ofershap/sqlite still maintained?

The last commit was 7 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.