SQLite

Community
modelcontextprotocol

Archived Python reference server for local SQLite.

Python implementation for querying and mutating a single SQLite file. Moved to servers-archived in late 2025, but the PyPI package is still installable and functional.

63k4.9k68/100

What it does

  • Schema introspection for tables, indexes, views, and triggers
  • Parameterised SELECT, INSERT, UPDATE, and DELETE execution
  • A built-in "business insight memo" resource that accumulates agent findings across a session
  • Transactions — the agent can BEGIN, do work, and COMMIT or ROLLBACK explicitly
  • Works against a single on-disk file, no server process or port to manage
  • Plays well with WAL mode for concurrent read + single-writer workloads

Best for

Local analyticsNotebook-style explorationPortable data agentsSingle-file prototypes
About SQLite

SQLite is a MCP server categorised under database, official, sqlite, sql. Python implementation for querying and mutating a single SQLite file. Moved to servers-archived in late 2025, but the PyPI package is still installable and functional.

How to install

Pick your MCP client from the Install panel on this page to get a one-click install link (Cursor, VS Code) or a ready-to-paste configuration for Claude Desktop, Claude Code, Gemini, Codex, Windsurf, and other MCP-compatible clients. No local setup required for remote servers.

License

SQLite is released under the MIT license. This is a permissive open-source license, so you can freely use, modify, and distribute it — subject to its terms.

No reviews yet

Be the first to leave a review after using this server in production.

README

Originally at src/sqlite in the monorepo, now in servers-archived. The PyPI package mcp-server-sqlite still receives the occasional maintenance release and is the smallest path to giving an agent a real SQL surface without spinning up a database server. What it does: - Schema introspection for tables, indexes, views, and triggers - Parameterised SELECT, INSERT, UPDATE, and DELETE execution - A built-in "business insight memo" resource that accumulates agent findings across a session - Transactions — the agent can BEGIN, do work, and COMMIT or ROLLBACK explicitly - Works against a single on-disk file, no server process or port to manage - Plays well with WAL mode for concurrent read + single-writer workloads Example: Mount a local analytics.db in WAL mode and point the server at it. A notebook-style agent can answer "which cohort retained best in Q1" with a multi-CTE SELECT, and then write the result into a memos table the human reads later in their editor. Setup: Pass --db-path pointing at the SQLite file. The parent directory must exist and be writable. No auth — the threat model assumes trusted local use. Transport: stdio only. The file is opened per session, so two clients running against the same DB path will each hold their own SQLite connection. Notes: Best for small local databases and notebook-style analysis. For anything multi-user or write-heavy, use the Postgres entry in this registry instead. Because upstream is archived the soft-reliability score here reflects maintenance status, not code quality — the server itself is simple and has shipped fewer than a dozen bugs since first release.

Alternatives

Postgres
database
free

Archived reference server for read-only Postgres queries.

officialpostgressql
62/10063ktypescript
Filesystem
file system
Verified

Scoped file access with configurable allow-lists.

officialfilesystemnode
94/10063ktypescript
GitHub
version control
Verified

GitHub's own MCP server for issues, PRs, and code search.

officialgithubgit
92/10023kgo
Time
productivity
free

Time-zone math and conversions.

officialtimetimezone
91/10063kpython