MCP SQLite Server for Claude
Read and write any local SQLite database from Claude — get database info, list tables, inspect schemas, create/read/update/delete records, and run raw SQL queries — with the MCP SQLite server that connects to any `.db` file you specify.
Open the source and read safety notes before installing.
Safety notes
- The `query` tool executes arbitrary SQL including INSERT, UPDATE, and DELETE statements — it is not read-only.
- Point the server at a copy or test database to avoid accidental data loss before trusting it with production data.
Privacy notes
- All database content including table schemas, record data, and query results are surfaced in Claude's context — do not connect databases containing sensitive personal or credential data unless you intend to share it with the model.
- No credentials are required and no data is sent to external services — the server operates entirely locally.
Prerequisites
- A local SQLite database file (`.db`) you want to connect to.
- Node.js with `npx` available.
- An MCP client such as Claude Code or Claude Desktop.
Schema details
- Install type
- cli
- Troubleshooting
- No
- Scope
- Source repo
- Estimated setup
- 2 minutes
- Difficulty
- beginner
Full copyable content
{
"mcpServers": {
"sqlite": {
"command": "npx",
"args": ["-y", "mcp-sqlite", "/path/to/database.db"]
}
}
}About this resource
Overview
The MCP SQLite Server is a lightweight MCP server that connects Claude to any local SQLite
database file. Specify the path to your .db file as a command-line argument — no API keys,
no credentials, no configuration needed. It provides full CRUD operations plus raw SQL
execution. ISC licensed with 110+ stars.
Key capabilities
- Database info — get database path, size, and metadata.
- Table listing — list all tables in the connected database.
- Schema inspection — get column definitions and types for any table.
- CRUD operations — create, read, update, and delete records.
- Raw SQL — execute arbitrary SQL queries including DDL statements.
Tools
| Tool | Purpose |
|---|---|
db_info |
Get database path, size, and metadata |
list_tables |
List all tables in the database |
get_table_schema |
Get column definitions and types for a table |
create_record |
Insert a new record into a table |
read_records |
Query records with optional filters |
update_records |
Update existing records matching a filter |
delete_records |
Delete records matching a filter |
query |
Execute arbitrary SQL |
How it compares
| Server | SQLite | No credentials | Raw SQL | CRUD | Notes |
|---|---|---|---|---|---|
| MCP SQLite | Yes | Yes | Yes | Yes | Local .db file |
| DuckDB MCP | No (DuckDB) | Yes | Yes | Yes | Analytical focus |
| DBHub MCP | Yes + others | No (API key) | Yes | Yes | Multi-database hub |
| Postgres MCP | No (Postgres) | No (connection str) | Yes | Yes | Remote database |
MCP SQLite is the simplest path to reading and writing a local SQLite database from Claude —
no credentials, no server, just a .db file path.
Installation
Claude Code
claude mcp add sqlite -- npx -y mcp-sqlite /path/to/database.db
Replace /path/to/database.db with the actual path to your SQLite file.
Claude Desktop
{
"mcpServers": {
"sqlite": {
"command": "npx",
"args": ["-y", "mcp-sqlite", "/path/to/database.db"]
}
}
}
Requirements
- A local
.dbSQLite database file. - Node.js (for
npx). - An MCP client (Claude Code or Claude Desktop).
Security
- The
querytool allows full SQL — point at a copy or test database before using on production data. - No external connections are made — all operations are local.
- No credentials or API keys required.
Source Verification Notes
Verified on 2026-06-18:
- Repository
jparkerweb/mcp-sqlite(ISC) on npm asmcp-sqlitedocuments thenpx -y mcp-sqlite /path/to/database.dbinstall command, all eight tools (db_info, list_tables, get_table_schema, create_record, read_records, update_records, delete_records, query), and the zero-credential local-only architecture. - Claude Code MCP documentation at
code.claude.com/docs/en/mcpdescribes the stdio connector pattern used above.
Source citations
Add this badge to your README
How it compares
MCP SQLite Server for Claude side by side with 3 alternatives on trust, install, platform support, and disclosed safety notes — all from reviewed registry metadata.
| Field | MCP SQLite Server for Claude Read and write any local SQLite database from Claude — get database info, list tables, inspect schemas, create/read/update/delete records, and run raw SQL queries — with the MCP SQLite server that connects to any `.db` file you specify. Open dossier | Metabase MCP Server for Claude Query and explore your Metabase instance from Claude — list dashboards and cards, retrieve and execute saved questions, run SQL queries, export large result sets, and search across all Metabase resources — with the Metabase MCP server optimized for 90% token reduction. Open dossier | Teradata MCP Server for Claude Connect Claude to Teradata — list databases and tables, inspect DDL, run SQL queries, preview data, analyze column quality, and explore DBA diagnostics — with the official Teradata MCP server supporting optional ML tool expansion via the teradataml Python package. Open dossier | Android Skills MCP Server for Claude Access AI-optimized Android development guides from Claude — search and retrieve SKILL.md content covering Jetpack Compose, Navigation 3, CameraX, AGP 9, App Functions, Edge-to-Edge, Android Profilers, XR, Google Play, and the Android CLI — with the Android Skills MCP server. Open dossier |
|---|---|---|---|---|
| Trust | ||||
| Install risk | Review first | Review first | Review first | Review first |
| Notes | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ | Safety ✓ Privacy ✓ |
| Category | mcp | mcp | mcp | mcp |
| Source | source-backed | source-backed | source-backed | source-backed |
| Author | jparkerweb | Jericho Sequitin | Teradata | Jaewoong Eum (skydoves) |
| Added | 2026-06-18 | 2026-06-18 | 2026-06-18 | 2026-06-18 |
| Platforms | Claude CodeCodexCursorClaude Desktop | Claude CodeClaude Desktop | Claude CodeClaude Desktop | Claude CodeClaude Desktop |
| Source repo | — | — | — | — |
| Safety notes | ✓The `query` tool executes arbitrary SQL including INSERT, UPDATE, and DELETE statements — it is not read-only. Point the server at a copy or test database to avoid accidental data loss before trusting it with production data. | ✓Read-only mode is enabled by default (`METABASE_READ_ONLY_MODE=true`), restricting Claude to SELECT queries only. The `execute` tool runs SQL against your connected databases — ensure the Metabase service account has appropriate read permissions. | ✓The `base_query` tool executes arbitrary SQL on your Teradata system — only connect with credentials scoped to the minimum required permissions. Row limits (`DEFAULT_ROW_LIMIT`, `MAX_ROW_LIMIT`) prevent accidental full-table scans returning millions of rows; leave defaults in place unless you need larger result sets. | ✓The server runs entirely offline — no network requests are made during queries. All skill content is bundled with the npm package. |
| Privacy notes | ✓All database content including table schemas, record data, and query results are surfaced in Claude's context — do not connect databases containing sensitive personal or credential data unless you intend to share it with the model. No credentials are required and no data is sent to external services — the server operates entirely locally. | ✓Dashboard data, card results, database schema information, and query results from your Metabase instance are surfaced in Claude's context. Your `METABASE_API_KEY` (or email/password) grants Metabase API access — keep credentials in the MCP config env. | ✓Query results, schema definitions, DDL, and session/system metadata from your Teradata instance are surfaced in Claude's context. Your database credentials are embedded in the `DATABASE_URI` — keep it in the MCP config env and never commit it to version control. | ✓No API keys, user data, or query content is sent to any external service. All lookups happen locally against the bundled skill snapshot. |
| Prerequisites |
|
|
|
|
| Install | | | | |
| Config | | | | |
| Citations | ||||
| Claim | Unclaimed | Unclaimed | Unclaimed | Unclaimed |
Featured in
Signals
Loading live community signals…
A short, calm digest of reviewed Claude resources. Unsubscribe any time.