SQLite Database
FreeNot checkedProvides a secure interface for executing validated SELECT queries on SQLite databases, enabling direct data analysis within conversation workflows.
About
Provides a secure interface for executing validated SELECT queries on SQLite databases, enabling direct data analysis within conversation workflows.
README
A Model Context Protocol (MCP) server implementation using TypeScript for interacting with an SQLite database. This server provides an interactive interface for executing SQL queries, managing database schemas, and synthesizing business insights—all within an extensible protocol framework.
Not familiar with MCP? Check out the What is an MCP? section below.
Features
| Command | Description | Example |
|---|---|---|
list_tables |
List all tables on the SQLite database | - |
read_query |
Execute SELECT queries on the SQLite database | SELECT * FROM users WHERE age > 18 |
Installation & Setup
git clone https://github.com/javsanmar5/mcp-server.sqlite.git
cd mcp-server.sqlite
Since this hasn't been published as an npm package yet, we'll focus on the Docker installation method:
1. Build the Docker image
docker build -t mcp/sqlite .
2. Configure your AI client
Add the following to your AI client's configuration file:
"mcpServers": {
"sqlite": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-v",
"mcp-test:/mcp",
"mcp/sqlite",
"--db-path",
"test_db.sqlite3"
]
}
}
If you don't know what is that json file you might want to see the Client Configuration Guide.
3. Restart your AI client
After restarting, the MCP Tools should be available in your AI client's interface. On Windows, you may need to manually kill the process for the changes to take effect.
Documentation
What's an MCP?
Model Context Protocol (MCP) is a standardized way for AI models to interact with external tools and services. It allows AI assistants to perform actions like running database queries, accessing external APIs, or manipulating files through a defined protocol interface.
MCPs extend AI capabilities beyond conversation by providing structured access to tools and data sources without requiring direct integration into the AI model itself.
Tutorial: Setting up with Claude Desktop
Claude Desktop is one of many AI clients that support MCP servers. Here's how to set it up on Windows:
- Press
Windows Key + Rto open the Run dialog - Type
%appdata%\Claudeand press Enter - Create a new file called
claude_desktop_config.jsonif it doesn't exist already - Add the configuration from step 2 of the setup instructions above
- Save the file and restart Claude Desktop
- You should now see the SQLite tools available in your Claude interface
License
This project is licensed under the MIT License.
Contributing
This project was created primarily for learning purposes. However, if you'd like to contribute, feel free to submit a Pull Request and I'll review it.
Thanks for your interest!
Installing SQLite Database
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/santos-404/mcp-server.sqliteFAQ
Is SQLite Database MCP free?
Yes, SQLite Database MCP is free — one-click install via Unyly at no cost.
Does SQLite Database need an API key?
No, SQLite Database runs without API keys or environment variables.
Is SQLite Database hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install SQLite Database in Claude Desktop, Claude Code or Cursor?
Open SQLite Database on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Postgres
Query your database in natural language
by Anthropicwenb1n-dev/SmartDB_MCP
Connect to multiple databases at once (MySQL, PostgreSQL, SQL Server, MariaDB, Dameng, Oracle) for operations, health analysis and SQL optimization.
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labsjulien040/anyquery
Query apps with SQL from a single local-first binary; also connects to PostgreSQL, MySQL and SQLite-compatible databases.
by julien040drakonkat/wizzy-mcp-tmdb
Search and retrieve movie, TV show and person information from The Movie Database (TMDB) API.
by drakonkatlongevity-genie/opengenes-mcp
Query the OpenGenes database for aging and longevity research.
by longevity-genieCompare SQLite Database with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
