sqlite-explorer-fastmcp-mcp-server
Provides safe, read-only access to SQLite databases through tools like read_query, list_tables, and describe_table
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sqlite-explorer-fastmcp-mcp-serverdescribe the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SQLite Explorer MCP Server
An MCP server that provides safe, read-only access to SQLite databases through Model Context Protocol (MCP). This server is built with the FastMCP framework, which enables LLMs to explore and query SQLite databases with built-in safety features and query validation.
📋 System Requirements
Python 3.6+
SQLite database file (path specified via environment variable)
Related MCP server: mcp-chinookdb-server
📦 Dependencies
Install all required dependencies:
# Using pip
pip install -r requirements.txtRequired Packages
fastmcp: Framework for building Model Context Protocol servers
All dependencies are specified in requirements.txt for easy installation.
📑 Table of Contents
🛠️ MCP Tools
The server exposes the following tools to LLMs:
read_query
Execute a SELECT query on the database with built-in safety validations. Features:
Query validation and sanitization
Parameter binding support
Row limit enforcement
Results formatted as dictionaries
list_tables
List all available tables in the database with their names.
describe_table
Get detailed schema information for a specific table, including:
Column names and types
NULL constraints
Default values
Primary key information
🚀 Getting Started
Clone the repository:
git clone https://github.com/hannesrudolph/sqlite-explorer-fastmcp-mcp-server.git
cd sqlite-explorer-fastmcp-mcp-server📦 Installation Options
You can install this MCP server in either Claude Desktop or the Cline VSCode plugin. Choose the option that best suits your needs.
Option 1: Install for Claude Desktop
Install using FastMCP:
fastmcp install sqlite_explorer.py --name "SQLite Explorer" -e SQLITE_DB_PATH=/path/to/dbReplace /path/to/db with the path to your SQLite database file.
Option 2: Install for Cline VSCode Plugin
To use this server with the Cline VSCode plugin:
In VSCode, click the server icon (☰) in the Cline plugin sidebar
Click the "Edit MCP Settings" button (✎)
Add the following configuration to the settings file:
{
"sqlite-explorer": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"uvicorn",
"fastmcp",
"run",
"/path/to/repo/sqlite_explorer.py"
],
"env": {
"SQLITE_DB_PATH": "/path/to/your/database.db"
}
}
}Replace:
/path/to/repowith the full path to where you cloned this repository (e.g.,/Users/username/Projects/sqlite-explorer-fastmcp-mcp-server)/path/to/your/database.dbwith the full path to your SQLite database file
🔒 Safety Features
Read-only access to SQLite databases
Query validation and sanitization
Parameter binding for safe query execution
Row limit enforcement
Progress output suppression for clean JSON responses
📚 Development Documentation
The repository includes documentation files for development:
mcp-documentation.txt: Contains comprehensive documentation about the MCP server implementation and FastMCP framework usage.
This documentation serves as context when developing features and can be used with LLMs to assist in development.
⚙️ Environment Variables
The following environment variables must be set:
SQLITE_DB_PATH: Full path to the SQLite database file you want to explore
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceAn MCP server that enables AI agents to interact with SQLite databases by querying schemas, executing SQL, and inspecting table metadata. It supports safe database access through configurable read-only modes, query timeouts, and dry-run execution plans.Last updatedMIT
- AlicenseAqualityDmaintenanceMCP server providing LLMs with safe, read-only access to the Chinook SQLite sample database, including schema exploration and SQL query execution.Last updated11MIT
- AlicenseAqualityDmaintenanceA zero-config MCP server that enables AI to access, analyze, and manage local SQLite databases with secure read-only querying and automatic schema discovery.Last updated8MIT
- Alicense-qualityCmaintenanceA read-only MCP server that enables LLMs to safely explore and query any SQLite database via natural language. It exposes tools for listing tables, describing schemas, and executing SELECT/WITH queries with built-in safety guards like write prevention and row limits.Last updatedMIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hannesrudolph/sqlite-explorer-fastmcp-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server