sqlite-mcp
MCP server for SQLite
Install / Use
claude mcp add rvarun11 -- npx -y github:rvarun11/sqlite-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of sqlite-mcp
sqlite-mcp scores 59/100 on our quality scale, 580th of 603 Data & Analytics skills we index.
Its MCP Server is 4.1 KB long, well organised into 19 sections with 7 code examples: a solid amount of guidance for an agent.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-08. Automated pattern scan on 2026-10-08. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
sqlite-mcp compared with similar skills
All 4 of these similar skills score higher than sqlite-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| sqlite-mcp (this skill)by rvarun11 | 59 | 10 | 15mo ago | MCP Server |
| claude-memby thedotmack | 100 | 98.1k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 93.9k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 74.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install sqlite-mcp?
- Run
claude mcp add rvarun11 -- npx -y github:rvarun11/sqlite-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does sqlite-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is sqlite-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is sqlite-mcp still maintained?
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHubSQLite MCP Server
A Model Context Protocol (MCP) server for SQLite database operations. This server provides a standardized interface for SQLite database interactions including schema inspection, read and write operations.
Available Tools
The MCP server exposes three main tools:
get_schema
- Description: List all tables in the SQLite database with their schema information
- Parameters: None
- Usage: Provides complete schema introspection including columns, types, constraints, and indexes
query
- Description: Execute read-only queries against the SQLite database.
- Parameters:
sql(required): Read-only SQL query to execute -Usage: Only SELECT, WITH, and EXPLAIN queries are allowed
- Example:
SELECT * FROM users WHERE age > 25
execute
- Description: Execute write operations against the SQLite database
- Parameters:
sql(required): SQL statement that modifies the database
- Usage: INSERT, UPDATE, DELETE, CREATE, ALTER, DROP operations
- Example:
INSERT INTO users (name, email) VALUES ('John Doe', 'john@example.com')
Get Started
Prerequisites
- Go: SQLite MCP Server requires Go 1.24.4 or later. Download from go.dev/doc/install
- Task: Install go-task to run automated development tasks. Install using Homebrew with
brew install go-task - SQLite3: For creating and managing SQLite databases locally
- golangci-lint: Go linter. Install using Homebrew with
brew install golangci-lintor follow instructions at golangci-lint.run (optional) - Docker: To run the server with Docker (optional)
Installation
- Clone the repository:
git clone https://github.com/rvarun11/sqlite-mcp.git
cd sqlite-mcp
- Build:
# Builds the binary and the example database
task build
# Or if you prefer Docker:
task docker-build
MCP Client Configuration
After installation, add the following configuration to your MCP client:
Using built binary:
{
"mcpServers": {
"sqlite": {
"command": "/path/to/your/sqlite-mcp/build/sqlite-mcp",
"args": [
"--database",
"/path/to/your/database.db"
]
}
}
}
Args:
--database, -d: Path to SQLite database file (required)--debug: Enable debug mode for verbose logging (optional)
Using Docker:
{
"mcpServers": {
"sqlite": {
"command": "/path/to/your/.docker/bin/docker",
"args": [
"run",
"-i",
"--rm",
"sqlite-mcp-server"
]
}
}
}
The above uses example.sql to build the example database. To use a custom schema sql, see the Docker commands below.
Important Note for GUI Applications: When configuring MCP clients in GUI applications (like Claude Desktop), you must use absolute paths for both the command and database file paths. Do not use:
- Tilde (
~) for home directory shortcuts - Environment variables like
$HOMEor$PATH - Relative paths like
./build/sqlite-mcp - Command shortcuts that rely on PATH resolution (like just
docker)
Development
To see a list of all available development tasks, run:
task --list
Available tasks include:
fmt: Tidy modules and format codelint: Rungoclangci-lintstatic analysistest: Run unit testscheck: Runfmt,lintandtest.build-example-db: Create example db fromexample.sqlrun-dev: Run from source with example db, includes all checksbuild: Build the binary with example db, including testsdocker-build: Build Docker image
Run the Build
Binary
- After building the binary with
task buildortask build-with-db, run:
./build/sqlite-mcp --database ./build/example.db [--debug]
Docker
- After building the docker image with
task docker-build, run the Docker container:
# Run with default example.sql database
docker run -i --rm sqlite-mcp-server
# Or run with custom schema.sql file
docker run -i --rm -v "/path/to/your/schema.sql:/data/schema.sql" sqlite-mcp-server
Related Skills
claude-mem
98.1kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
93.9kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
74.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
