MS

MCP SQLite (jparkerweb)

Reads and writes a local SQLite database: tables, schema, inserts, updates and custom queries.

🗄️ Databases & vector storesGitHub stars130Updated 2026-04-05By jparkerwebLicense: MITAuth: NoneGitHub ↗
Runner-up · best for databases & vector stores

See the pick for the verdict.

Test results

Last passed 2026-10-19
Claude CodePassed2026-10-15 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · server reported v1.0.0 · connect time not recorded
CursorPassed2026-10-15 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.14-941492e · server reported v1.0.0 · connect time not recorded
Claude DesktopPassed2026-10-18 · install, connect, tools, agent taskTested with Claude Desktop 2.37337.1 (Linux beta) · package version not recorded · connected in 11s
ChatGPT (Codex)Passed2026-10-19 · install, connect, tools, agent taskTested with Codex CLI 0.162.0-alpha.17.2 · mcp-sqlite 1.0.9 · connect time not recorded

Server package tested: mcp-sqlite 1.0.9 (npm, Node v20.19.2; resolved 2026-10-19)

Direct and key dependencies as resolved: @modelcontextprotocol/sdk 1.32.1 · express 5.3.0 · sqlite3 5.1.7 · zod 4.6.7 · zod-to-json-schema 3.25.2

All 199 resolved dependencies
@gar/promisify==1.1.3
@hono/node-server==2.1.5
@modelcontextprotocol/sdk==1.32.1
@npmcli/fs==1.1.1
@npmcli/move-file==1.1.2
@tootallnate/once==1.1.2
abbrev==1.1.1
accepts==2.0.0
agent-base==6.0.2
agentkeepalive==4.6.0
aggregate-error==3.1.0
ajv==8.20.0
ajv-formats==3.0.1
ansi-regex==5.0.1
aproba==2.1.0
are-we-there-yet==3.0.1
balanced-match==1.0.2
base64-js==1.5.1
bindings==1.5.0
bl==4.1.0
body-parser==2.3.0
brace-expansion==1.1.21
buffer==5.7.1
bytes==3.1.2
cacache==15.3.0
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
chownr==1.1.4, 2.0.0
clean-stack==2.2.0
color-support==1.1.3
concat-map==0.0.1
console-control-strings==1.1.0
content-disposition==2.0.1
content-type==1.0.5, 2.1.0
cookie==0.7.2
cookie-signature==1.2.2
cors==2.8.6
cross-spawn==7.0.6
debug==4.4.3
decompress-response==6.0.0
deep-extend==0.6.0
delegates==1.0.0
depd==2.0.0
detect-libc==2.1.2
dunder-proto==1.0.1
ee-first==1.1.1
emoji-regex==8.0.0
encodeurl==2.0.0
encoding==0.1.13
end-of-stream==1.4.5
env-paths==2.2.1
err-code==2.0.3
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
escape-html==1.0.3
etag==1.8.1
eventsource==3.0.7
eventsource-parser==3.1.1
expand-template==2.0.3
express==5.3.0
express-rate-limit==8.7.1
fast-deep-equal==3.1.3
fast-uri==3.1.8
file-uri-to-path==1.0.0
finalhandler==2.1.1
forwarded==0.2.0
fresh==2.0.0
fs-constants==1.0.0
fs-minipass==2.1.0
fs.realpath==1.0.0
function-bind==1.1.2
gauge==4.0.4
get-intrinsic==1.3.0
get-proto==1.0.1
github-from-package==0.0.0
glob==7.2.3
gopd==1.2.0
graceful-fs==4.2.11
has-symbols==1.1.0
has-unicode==2.0.1
hasown==2.0.4
hono==4.13.13
http-cache-semantics==4.3.0
http-errors==2.0.1
http-proxy-agent==4.0.1
https-proxy-agent==5.0.1
humanize-ms==1.2.1
iconv-lite==0.6.3, 0.7.3
ieee754==1.2.1
imurmurhash==0.1.4
indent-string==4.0.0
infer-owner==1.0.4
inflight==1.0.6
inherits==2.0.4
ini==1.3.8
ip-address==10.7.4
ipaddr.js==1.9.1
is-fullwidth-code-point==3.0.0
is-lambda==1.0.1
is-promise==4.0.0
isexe==2.0.0
jose==6.2.12
json-schema-traverse==1.0.0
json-schema-typed==8.0.2
lru-cache==6.0.0
make-fetch-happen==9.1.0
math-intrinsics==1.1.0
media-typer==1.1.1
merge-descriptors==2.0.0
mime-db==1.54.0
mime-types==3.0.2
mimic-response==3.1.0
minimatch==3.1.5
minimist==1.2.8
minipass==3.3.6, 5.0.0
minipass-collect==1.0.2
minipass-fetch==1.4.1
minipass-flush==1.0.7
minipass-pipeline==1.2.4
minipass-sized==1.0.3
minizlib==2.1.2
mkdirp==1.0.4
mkdirp-classic==0.5.3
ms==2.1.3
napi-build-utils==2.0.0
negotiator==0.6.4, 1.1.0
node-abi==3.99.0
node-addon-api==7.1.1
node-gyp==8.4.1
nopt==5.0.0
npmlog==6.0.2
object-assign==4.1.1
object-inspect==1.13.4
on-finished==2.4.1
once==1.4.0
p-map==4.0.0
parseurl==1.3.3
path-is-absolute==1.0.1
path-key==3.1.1
path-to-regexp==8.4.2
pkce-challenge==5.0.1
prebuild-install==7.1.3
promise-inflight==1.0.1
promise-retry==2.0.1
proxy-addr==2.0.8
pump==3.0.4
qs==6.16.1
range-parser==1.3.0
raw-body==3.0.2
rc==1.2.8
readable-stream==3.6.2
require-from-string==2.0.2
retry==0.12.0
rimraf==3.0.2
router==2.2.0
safe-buffer==5.2.1
safer-buffer==2.1.2
semver==7.8.5
send==1.2.1
serve-static==2.2.1
set-blocking==2.0.0
setprototypeof==1.2.0
shebang-command==2.0.0
shebang-regex==3.0.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
signal-exit==3.0.7
simple-concat==1.0.1
simple-get==4.0.1
smart-buffer==4.2.0
socks==2.8.10
socks-proxy-agent==6.2.1
sqlite3==5.1.7
ssri==8.0.1
statuses==2.0.2
string-width==4.2.3
string_decoder==1.3.0
strip-ansi==6.0.1
strip-json-comments==2.0.1
tar==6.2.1
tar-fs==2.1.5
tar-stream==2.2.0
toidentifier==1.0.1
tunnel-agent==0.6.0
type-is==2.1.0
unique-filename==1.1.1
unique-slug==2.0.2
unpipe==1.0.0
util-deprecate==1.0.2
vary==1.1.2
which==2.0.2
wide-align==1.1.5
wrappy==1.0.2
yallist==4.0.0
zod==4.6.7
zod-to-json-schema==3.25.2

Captured with: npm ls --all --json in the npx env.

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with Claude Desktop? · Does it work with ChatGPT (Codex)?

Protocol: starts, 8 tools listed · 2026-10-15 · connected in 3.8s

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
ChatGPT (Codex) · Codex CLI 0.162.0-alpha.17.2
Date
Oct 19, 2026
The task we gave
Using only the mcp-sqlite MCP tools, store a record containing the text TP-7E61F8 in the local test database, then query it back with the same tools and reply with the text you read back.
What it promised
details not recorded for this run
What happened

Tool calls:

mcp-sqlite:list_tablesmcp-sqlite:get_table_schemamcp-sqlite:create_recordmcp-sqlite:read_records

Tool result

{"content": [{"type": "text", "text": "[\n  {\n    \"name\": \"records\"\n  }\n]"}], "structured_content": null}

Agent reply

TP-7E61F8
Verdict
Passed

Install

claude mcp add mcp-sqlite -- npx -y mcp-sqlite /path/to/dir/db/test2.db

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "mcp-sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sqlite",
        "/path/to/dir/db/test2.db"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "mcp-sqlite": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-sqlite",
        "/path/to/dir/db/test2.db"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.mcp-sqlite]
command = "npx"
args = ["-y", "mcp-sqlite", "/path/to/dir/db/test2.db"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-19ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · mcp-sqlite 1.0.9
2026-10-18Claude DesktopPassed
install, connect, tools, agent task
Claude Desktop 2.37337.1 (Linux beta) · package version not recorded
2026-10-15Protocol (direct stdio)Protocol: starts, 8 tools listedserver reported v1.0.0
2026-10-15Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · server reported v1.0.0
2026-10-15CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.14-941492e · server reported v1.0.0

Tested on ToolPassed badge

ToolPassed: passed Claude Code, Cursor, Claude Desktop, ChatGPT (Codex)

Maker of MCP SQLite (jparkerweb)? It passed in Claude Code, Cursor, Claude Desktop, ChatGPT (Codex) on 2026-10-19. Add this free badge to your README; it links back to this listing. Free, no strings: the badge never changes a result.

[![Tested on ToolPassed](https://toolpassed.com/badge/mcp/mcp-sqlite.svg)](https://toolpassed.com/mcp/mcp-sqlite/)

Tools seen by our harness (8)

db_infoquerylist_tablesget_table_schemacreate_recordread_recordsupdate_recordsdelete_records
Featured