SQLite MCP Server

SQLite MCP Server

mcp_sqlite_poc•bymadhavarora1988

An MCP server implementation that lets AI models interact with SQLite databases through standardized tools for querying, schema discovery, and feedback collection.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Executes SQL queries with built-in validation and safety checks, and can be restricted to read-only mode.
  • •Discovers schema by listing tables and describing table schemas, and counts rows in specified tables.
  • •Automatically initializes a sample database with products, customers, orders, and feedback when none exists.
  • •Collects user feedback and stores it in the database via a dedicated tool.

BEST FOR

  • •Letting AI models safely query and explore a SQLite database's tables and schemas.
  • •Running read-only SQLite access for safety-conscious or production scenarios.
  • •Collecting user feedback into a SQLite-backed feedback table.

ABOUT MCP_SQLITE_POC

SQLite MCP Server is cataloged as an MCP server attributed to madhavarora1988. An MCP server implementation that lets AI models interact with SQLite databases through standardized tools for querying, schema discovery, and feedback collection. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for SQLite MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server be restricted to read-only operations?

Yes, read-only mode blocks all data modification operations and can be enabled via configuration.

Does the server create a database automatically?

It creates a sample database with products, customers, orders, and feedback if none exists.

Upstream README

View this exact version on GitHub

README.md · 28fac08b8df4 · Fetched 2026-11-13 11:54:56 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

SQLite MCP Server

A Model Context Protocol (MCP) server implementation for SQLite databases, allowing AI models to interact with SQLite databases through standardized tools.

Features

  • Query Execution: Execute SQL queries with built-in validation and safety checks
  • Schema Discovery: List tables and describe table schemas
  • Row Counting: Count rows in specified tables
  • Sample Data: Insert sample data for demonstration purposes (when not in read-only mode)
  • Automatic Initialization: Creates a sample database with products, customers, orders, and feedback if none exists
  • Read-Only Mode: Option to restrict to read-only operations for safety
  • Feedback Collection: Tool to collect user feedback and store it in the database

Requirements

  • Python 3.8+
  • Dependencies listed in requirements.txt

Installation

  1. Clone this repository
  2. Install dependencies:
pip install -r requirements.txt
  1. Configure environment variables (optional):
    • Copy .env.example to .env (or use the existing .env file)
    • Modify settings as needed

Usage

Starting the Server

python server.py

The server will start on port 8080 (or the port specified in your .env file).

Configuration Options

Configure the server by editing the .env file:

DB_PATH=sample.db         # Path to your SQLite database file
MCP_PORT=8080             # Port to run the MCP server on
READ_ONLY=true            # Set to false to allow write operations

Using with Claude Desktop

Add this server to your Claude Desktop configuration:

{
"mcpServers": {
		"sqlite": {
			"command": "<Path to UV>",
			"args": [
				"--directory",
				"<Absolute Path to Project Workspace>",
				"run",
				"server.py"
			]
		}
	}
}

Available Tools

The MCP server provides the following tools:

  1. execute_query - Execute SQL queries on the database
  2. list_tables - List all tables in the database
  3. describe_table - Get the schema for a specific table
  4. count_rows - Count rows in a specific table
  5. insert_sample_data - Insert sample data (disabled in read-only mode)
  6. add_feedback - Add user feedback to the feedback table (disabled in read-only mode)

Sample Database Schema

The sample database includes:

Products Table

  • id (INTEGER, PRIMARY KEY)
  • name (TEXT, NOT NULL)
  • description (TEXT)
  • price (REAL, NOT NULL)
  • category (TEXT)
  • in_stock (BOOLEAN)

Customers Table

  • id (INTEGER, PRIMARY KEY)
  • name (TEXT, NOT NULL)
  • email (TEXT, UNIQUE)
  • signup_date (TEXT)

Orders Table

  • id (INTEGER, PRIMARY KEY)
  • customer_id (INTEGER, FOREIGN KEY)
  • order_date (TEXT)
  • total_amount (REAL)

Feedback Table

  • id (INTEGER, PRIMARY KEY)
  • user (TEXT, NOT NULL)
  • email (TEXT, NOT NULL)
  • feedback (TEXT, NOT NULL)
  • submission_date (TEXT, DEFAULT CURRENT_TIMESTAMP)

Security Considerations

  • SQL queries are validated to prevent dangerous operations
  • In read-only mode, all data modification operations are blocked
  • Consider running in read-only mode for production use

License

MIT License

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for SQLite MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp_sqlite_poc)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage