At a glance: 261 stars (servers-archived repo), ~9.8K weekly PyPI downloads, v2025.4.25 (last release April 2025), 6 tools, archived on PyPI, known SQL injection vulnerability (unpatched, now part of a documented industry pattern), ~13K weekly PulseMCP visitors (#103 globally, ~565K all-time). Part of our Databases MCP category
The SQLite MCP server (mcp-server-sqlite) is Anthropic’s official reference implementation for giving AI agents database access. It ships six tools for querying, writing, and inspecting SQLite databases, plus a clever “insight memo” feature for accumulating analysis findings. The Python codebase is clean and well-structured — it was one of the original MCP example servers, built to demonstrate how MCP works with databases.
There’s a catch: it’s been moved to the servers-archived repository. No new releases, no security patches, no bug fixes. Worse, a SQL injection vulnerability was publicly disclosed in June 2025, and Anthropic declined to patch it. It still installs and runs — ~10,000 people download it weekly — but you’re on your own going forward.
What’s New (May 2026 Update)
“Vendor won’t fix” is now a pattern, not an anomaly. Akamai published a May 2026 article titled “One Is a Fluke, 3 Is a Pattern” documenting SQL injection and authentication bypass vulnerabilities across three database MCP servers: Apache Doris (CVE-2025-66335, patched), Apache Pinot (partially addressed via OAuth), and Alibaba RDS (declined to fix — citing it as the user’s responsibility). Alibaba’s refusal maps directly to Anthropic’s 2025 refusal on this server. The Register covered the same cluster on May 13, 2026. What was once a shocking edge case — a vendor publicly declining to patch a known MCP vulnerability — now has multiple documented precedents.
Downloads recovered to ~9.8K/week. After the mid-March 2026 spike (~23,600/day peak) and subsequent decline to ~8,400/week, PyPI downloads have rebounded modestly to ~9,824/week (~43,755/month). The recovery likely reflects continued organic use rather than security-research-driven spikes — this server remains embedded in toolchains and agents that haven’t been updated.
Still v2025.4.25 — now 13 months without a release. The archived repo remains frozen. No security patches, no MCP SDK updates, no bug fixes possible. The gap between this server and the current MCP specification continues to widen silently.
Alternatives continue growing while this stagnates. Bytebase’s DBHub reached 2,800 stars (+200/+7.7%, 236 forks, 513 commits, last updated May 2, 2026). jparkerweb/mcp-sqlite grew to 105 stars (was 99) with v1.0.9 remaining the latest release. sqlite-explorer-fastmcp reached 105 stars (was 92, +14%) despite having no new commits since December 2024 — showing the read-only safety-focused approach continues to attract attention.
PulseMCP traffic jumped 75%. ~13,000 weekly visitors (was 7,400), ~565,000 all-time (was 521,000, +8.5%), now ranked #103 globally (was #84 — ranking declined as the overall directory grew). The traffic jump likely reflects continued security-research referrals and broader MCP directory growth driving discovery.
What It Does
The server exposes six tools organized into three categories:
Query operations:
read_query— Execute SELECT statements. Results come back as an array of objects — clean, structured, easy for agents to reason about.write_query— Execute INSERT, UPDATE, or DELETE statements. Returns the number of affected rows.create_table— Run CREATE TABLE statements to build new tables.
Schema inspection:
list_tables— Returns all table names in the database.describe_table— Shows column names and types for a given table.
Analysis:
append_insight— Adds a business insight to a persistentmemo://insightsresource. This is the one unique feature — findings accumulate across the session, building a running analysis document.
There’s also a built-in mcp-demo prompt that generates sample schemas and data for a given business domain, then guides the agent through an interactive analysis workflow. It’s primarily a demo feature, but it shows off how MCP prompts, tools, and resources can work together.
Setup
For Claude Desktop, add this to your config:
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": ["mcp-server-sqlite", "--db-path", "/path/to/your/database.db"]
}
}
}
Docker is also supported:
{
"mcpServers": {
"sqlite": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/path/to/data:/data",
"mcp/sqlite",
"--db-path", "/data/database.db"
]
}
}
}
Requirements: Python 3.10+ and uv (or pip). The server takes one argument — the path to your SQLite database file. If the file doesn’t exist, it creates one. That’s it for configuration. There are no other flags, no environment variables, no auth options.
Setup difficulty: Very easy. One command, one argument. The simplest database MCP server to get running. The lack of configuration options is both a feature and a limitation.
What Works Well
Schema inspection before querying is the right pattern. An agent can call list_tables and describe_table to understand the database structure before writing any SQL. This is how humans approach an unfamiliar database, and it works naturally in agent workflows. The two-step pattern (inspect, then query) produces better SQL than blind querying.
The insight memo is a genuinely clever feature. The append_insight tool and memo://insights resource let the agent build up a running document of findings during a data analysis session. This is useful for the pattern where you want an agent to explore a dataset and report what it finds — the memo accumulates insights rather than losing them to conversation history. It’s a good demonstration of how MCP resources can maintain state.
The codebase is clean and educational. If you’re learning how to build MCP servers, this is one of the best examples to study. The Python code is straightforward, well-organized, and demonstrates tools, resources, and prompts working together. It’s a reference implementation that actually reads like one.
Read and write in one server. Unlike some community alternatives that limit agents to read-only access, this server gives full read/write capability. For prototyping, local development, and data exploration, that’s what you want — you can create tables, insert test data, and query it all in one session.
What Doesn’t Work Well
Known SQL injection vulnerability — unpatched. The server concatenates unsanitized table names directly into SQL via f-strings. Trend Micro publicly disclosed this in June 2025. The attack chain is worse than typical SQL injection: a stored payload in database fields can trigger prompt injection when an AI agent reads the data, potentially hijacking the agent. Anthropic declined to fix it, pointing to the archived status. This is now the single biggest reason not to use this server with any data you care about.
It’s archived — and that’s the dealbreaker for production use. The server was moved to modelcontextprotocol/servers-archived on May 28-29, 2025. The repository description says these are “reference MCP servers that are no longer maintained.” No security patches. No compatibility updates as the MCP spec evolves. No bug fixes. The server still installs and runs today, but every month it falls further behind.
No safety guardrails at all. Any SQL the agent generates gets executed. There’s no query validation, no allowlist of operations, no confirmation step for destructive statements. DROP TABLE? Runs immediately. DELETE FROM users? Done. For a reference implementation meant to teach MCP concepts, this is understandable. For anything touching real data, it’s a liability.
One database per server instance. You configure a single database path at startup and that’s what you get. If your agent needs to query multiple databases, you need multiple server instances with separate configurations. There’s no mid-session switching, no multi-database support.
No connection pooling or concurrent access handling. This is a single-user, single-connection server. Fine for local development and demos. Not designed for any scenario where multiple agents or processes might touch the same database.
Limited client compatibility. While the server technically works over stdio with any MCP client, it was primarily tested and documented for Claude Desktop. Community reports suggest inconsistent behavior with Cursor, VS Code, and other clients.
Compared to Alternatives
vs. Bytebase DBHub (2,800 stars): The leading multi-database MCP server, actively maintained with 513 commits and last updated May 2, 2026. Supports PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite through a single zero-dependency, token-efficient interface. If you need database MCP access today, DBHub is the strongest general-purpose choice.
vs. jparkerweb/mcp-sqlite (105 stars, v1.0.9): A community-built JavaScript alternative that provides comprehensive SQLite operations with better safety features, including input validation and structured CRUD operations (not raw SQL). The latest release (April 4, 2026) remains current. If you specifically want SQLite MCP access, this is the better choice.
vs. sqlite-explorer-fastmcp (105 stars): A read-only SQLite MCP server built with FastMCP. Takes the opposite approach to safety — agents can only read, never write. Good for analytical workloads where you want to prevent accidental data modification. Built-in query validation and parameterized queries add another safety layer. Has not had new commits since December 2024 but continues to attract stars for its safety-first design.
vs. Postgres MCP Server: If you’re choosing a database MCP server for a real project, PostgreSQL is probably the better database choice. More features, better concurrency, actual access controls. Note: the official Postgres MCP server also has a SQL injection vulnerability (now documented in a full Datadog Security Labs case study) — use Postgres MCP Pro by crystaldba (2,300+ stars) or Neon MCP instead.
vs. MotherDuck DuckDB MCP Server (141 stars): For analytical workloads — which is what the SQLite MCP server’s “insight memo” feature targets — DuckDB is purpose-built for OLAP queries. Faster on large datasets, native Parquet/CSV support, better analytical SQL extensions. Now includes read-write mode toggle and over 95% functional correctness in text-to-SQL tasks. If data analysis is your primary use case, DuckDB is the sharper tool.
Who Should Use This
Yes, use it if:
- You’re learning MCP and want to study a clean, well-structured reference implementation
- You want a quick demo of database access through MCP — the
mcp-demoprompt makes this nearly zero-effort - You’re prototyping an idea and need disposable local database access for an agent (on throwaway data only)
- You want to understand how MCP tools, resources, and prompts work together
Don’t use it if:
- You’re building anything that will run in production
- Your database contains data you can’t afford to lose (no safety guardrails + known SQL injection)
- You need ongoing maintenance, security patches, or MCP spec compatibility
- You need multi-database support or concurrent access
- You want a database MCP server you can rely on long-term
- You’re handling any user-supplied or untrusted data (SQL injection risk)
Disclosure: We do not test MCP servers hands-on. This review is based on documentation analysis, GitHub repository data, community reports, and publicly available information. All claims should be verified against the official repository and documentation.
This review was last updated on 2026-05-19 using Claude Sonnet 4.6 (Anthropic).