SQLite (Archived) — Claude Code MCP server: database queries
SQLite (Archived) is an archived MCP server for querying SQLite databases from Claude Code and other platforms. Built as a reference implementation, it is no longer maintained.
no license ★ 92,149 updated 2026-10-25
Open on GitHubWhat SQLite (Archived) does
SQLite (Archived) is a reference MCP server from Anthropic that lets you run SQL queries against SQLite databases from within Claude Code. The server executes queries, inspects schemas, and returns results to the agent without manual data copying. It has been archived and receives no further updates.
The server works with any SQLite file on the machine where it runs. You need Python and its dependencies to start it. Since this is an archived version, for new projects consider supported alternatives or build your own solution that fits your security model.
It serves as an educational example for developers learning to build MCP servers that handle data interactions.
What it helps with
- run SQL queries against SQLite from Claude Code without switching tools
- inspect database schema and list tables in the chat
- load query results into context for the agent to analyze
Example prompts for the agent
- Show me all tables in
data.dband their structure - Run the query
SELECT * FROM users WHERE active = 1and help me analyze the results - Generate a report from the
orderstable for the last month
How to install SQLite (Archived)
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about SQLite (Archived)
How do I install SQLite (Archived) for Claude Code?
The server is archived and not available from current sources. Code lives in the modelcontextprotocol/servers-archived repository on GitHub as a reference and example. For SQLite integration with current Claude versions, consider other solutions.
What does SQLite (Archived) do?
It provides MCP tools to execute SQL queries against SQLite databases, inspect schemas, and surface results inside the LLM context. This lets agents interact with data directly without manual copy-paste.
Why is this server archived?
SQLite (Archived) was moved to archive status as a reference implementation for the security considerations around giving LLMs database access. For production use, evaluate your own threat model and build or deploy a solution that matches your requirements.