S(

SQLite (reference, archived)

The original reference SQLite server: run queries on a local SQLite file. Now in the archived reference servers repo.

🗄️ Databases & vector storesGitHub stars306Updated 2025-05-28By modelcontextprotocolLicense: MITAuth: NoneGitHub ↗

Test results

No full client pass yet
Claude CodeFailed2026-10-15 · did not connect, so the agent task could not use itTested with Claude Code 2.1.296 · package version not recorded · connect time not recorded
CursorFailed2026-10-15 · did not connect, so the agent task could not use itTested with Cursor CLI 2026.10.14-941492e · package version not recorded · connect time not recorded
Claude DesktopNot tested yet—
ChatGPT (Codex)Failed2026-10-21 · agent task failed (no successful call to this server's tools; answer missing ['TP-613E06']; no tool result containing ['TP-613E06'])Tested with Codex CLI 0.162.0-alpha.17.2 · mcp-server-sqlite 2025.4.25 · connect time not recorded

Server package tested: mcp-server-sqlite 2025.4.25 (uv, Python 3.12.15; resolved 2026-10-21)

Direct and key dependencies as resolved: anyio 4.15.1 · mcp 2.3.0 · pydantic 2.14.1 · pydantic_core 2.50.1 · sse-starlette 3.5.0 · starlette 1.9.0 · typing_extensions 4.16.0 · uvicorn 0.54.0

All 36 resolved dependencies
annotated-doc==0.0.5
annotated-types==0.8.0
anyio==4.15.1
attrs==26.1.0
cffi==2.1.1
click==8.5.0
cryptography==50.0.2
h11==0.16.0
httpcore2==2.16.0
httpx2==2.16.0
idna==3.20
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
markdown-it-py==4.2.0
mcp==2.3.0
mcp-types==2.3.0
mdurl==0.1.2
opentelemetry-api==1.45.1
pycparser==3.11
pydantic==2.14.1
pydantic_core==2.50.1
Pygments==2.21.0
PyJWT==2.15.1
python-dotenv==1.2.4
python-multipart==0.0.32
referencing==0.37.0
rich==15.0.0
rpds-py==2026.9.1
shellingham==1.5.4
sse-starlette==3.5.0
starlette==1.9.0
truststore==0.10.5
typer==0.27.3
typing-inspection==0.4.4
typing_extensions==4.16.0
uvicorn==0.54.0

Captured with: uvx --from mcp-server-sqlite python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).

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

Protocol: failed · 2026-10-15 · server exited code 1 · exited after 1.5s, never connected
🧪 Test-box note: Published uvx snippet fails to start on Oct 15 and again on Oct 19, 2026 (dependency break: pydantic ImportError at startup, chroma-mcp 0.2.6 from PyPI). Tested as published; no pinning.
🔁 Developer said they fixed this after our result. Retested on Oct 19, 2026: the published uvx command still fails to start in Claude Code and Cursor.

Real test

Failed

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 21, 2026
The task we gave
Using only the sqlite MCP tools, store a record containing the text TP-613E06 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

No call to this server's tools was recorded.

Agent reply

I couldn’t store the record: the only SQLite MCP tool available is explicitly read-only and rejects writes.

Error

no successful call to this server's tools; answer missing ['TP-613E06']; no tool result containing ['TP-613E06']
Verdict
Failed

no successful call to this server's tools; answer missing ['TP-613E06']; no tool result containing ['TP-613E06']

Install

claude mcp add sqlite -- uvx mcp-server-sqlite --db-path /path/to/dir/db/test.db

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

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "/path/to/dir/db/test.db"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "sqlite": {
      "command": "uvx",
      "args": [
        "mcp-server-sqlite",
        "--db-path",
        "/path/to/dir/db/test.db"
      ]
    }
  }
}

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

[mcp_servers.sqlite]
command = "uvx"
args = ["mcp-server-sqlite", "--db-path", "/path/to/dir/db/test.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-21ChatGPT (Codex)Failed
agent task failed (no successful call to this server's tools; answer missing ['TP-613E06']; no tool result containing ['TP-613E06'])
Codex CLI 0.162.0-alpha.17.2 · mcp-server-sqlite 2025.4.25
2026-10-15Protocol (direct stdio)Protocol: failed
2026-10-15Claude CodeFailed
did not connect, so the agent task could not use it
Claude Code 2.1.296 · package version not recorded
2026-10-15CursorFailed
did not connect, so the agent task could not use it
Cursor CLI 2026.10.14-941492e · package version not recorded
Featured