Skip to main content
MCP server CX Codex

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 GitHub

What 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.db and their structure
  • Run the query SELECT * FROM users WHERE active = 1 and help me analyze the results
  • Generate a report from the orders table 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.

Similar MCP servers

All MCP servers for Data and databases →

From the same set19

The whole set →
Memory (Reference) Memory (Reference) is an MCP server for Claude Code that keeps information in a local knowledge graph across chats. The agent can look up entities and their links, then update the stored facts. CX Codex +1 ★ 92,149repo stars Git (Reference) Git (Reference) is an MCP server for Claude Code that lets an agent inspect and change Git repositories. It handles diffs, branches, history, staging, and commits. CX Codex +1 ★ 92,149repo stars Fetch (Reference) Fetch (Reference) is an MCP server for Claude Code that retrieves web pages by URL and returns their contents as Markdown. It lets an agent read a web page. CX Codex +1 ★ 92,149repo stars AWS KB Retrieval (Archived) The AWS KB Retrieval (Archived) MCP server retrieves information from an AWS Knowledge Base through Bedrock Agent Runtime. It gives an AI agent access to AWS-hosted knowledge during a task. CX Codex +1 ★ 92,149repo stars testing testing — a skill for Claude Code, Codex, Cursor and other platforms: writes tests for MCP servers, places them in the right directory, runs the correct commands. CX Codex +1 ★ 92,149repo stars security-advisory security-advisory guides privately reported vulnerabilities through triage cards, verification, and private fork fixes. Activates when handling repository security advisories. CX Codex +1 ★ 92,149repo stars release Runs a milestone release flow: creates the release issue, prepares PRs on v2/main, and checks the merge into main. CX Codex +1 ★ 92,149repo stars project-structure The project-structure skill maps the layout of the modelcontextprotocol/servers repo and tells you which file or directory a new piece of code belongs in. CX Codex +1 ★ 92,149repo stars

Project sponsors

Companies that keep this analytics open