🔥 wsqlite-mcp
Transform your AI Agents into expert WSQLite Architects.
wsqlite-mcp is a professional Model Context Protocol (MCP) server that bridges the gap between AI Agents (Claude, Gemini, OpenCode) and WSQLite. It empowers agents to search, design, and deploy high-performance SQLite-backed services following strict industry-standard patterns.
✨ Key Features
- 🔍 Expert Pattern Catalog: Query production-ready patterns across all WSQLite features (CRUD, Async, Batch, Transactions, Relationships, Query Builder, FTS5, Migrations, Pools, Soft Delete, Pagination).
- 🏗️ Strict Architecture Enforcement: Guides AI to output clean code using mandatory
config/,models/,repositories/,migrations/, andmain.pyfolder structures. - 📘 Architect's Manual: Built-in expertise for Monolith-to-SQLite refactoring, schema design, connection pooling, and atomicity patterns.
- 💻 Unified CLI: Manage your MCP service with simple commands:
run,start,stop, andconfig. - 🛡️ Privacy First: 100% local execution via
stdioorSSE.
🚀 Quick Start
1. Installation
Clone the repository and run the automated installer, or install via pip:
pip install -e .
2. Integration
Get your agent-specific configuration block and installation commands by running:
wsqlite-mcp config
The CLI will dynamically detect your Python environment and provide exact copy-paste commands for Gemini CLI (e.g. gemini mcp add ...) and JSON blocks for Claude Desktop.
🛠️ CLI Usage
| Command | Description |
|---|---|
wsqlite-mcp run |
Start the server in stdio mode (default for agents). |
wsqlite-mcp start |
Start as an SSE server in the background. |
wsqlite-mcp stop |
Stop the background server. |
wsqlite-mcp config |
Generate and save JSON config to .agents/wsqlite-mcp.json. |
wsqlite-mcp config --print |
Show JSON configuration in stdout (no file creation). |
wsqlite-mcp help |
Show available tools and commands. |
🛠️ MCP Tools
| Tool | Description |
|---|---|
get_wsqlite_architect_blueprints |
Copy-pasteable expert code for models, CRUD, transactions, FTS5, migrations, pools, and more. |
search_wsqlite_pattern |
Search the official/community catalog for production-ready SQLite patterns. |
deploy_wsqlite_scaffolding |
Deploy a professional WSQLite project structure (config/, models/, repositories/, migrations/, main.py). |
get_wsqlite_architect_manual |
Expert manual for building high-performance SQLite-backed systems. |
📂 Project Structure
src/wsqlite_mcp/: Core server logic and tools.src/wsqlite_mcp/catalog.py: Pattern catalog synchronization with local fallbacks.src/wsqlite_mcp/templates.py: Professional boilerplate definitions.examples/: Sample implementations and use cases.
📄 License
MIT License - Crafted with ❤️ by William Rodriguez (wisrovi).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wsqlite_mcp-0.1.1.tar.gz.
File metadata
- Download URL: wsqlite_mcp-0.1.1.tar.gz
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48747e1575630c3695043a29582f6496bd50f333cd18bf0575652046b60edf8e
|
|
| MD5 |
91a60c9dc815b6702943a15d71a61498
|
|
| BLAKE2b-256 |
1405fd777c751bb5faebe588ff680dd60add655fc28a45bc79e43f0e38fa726c
|
File details
Details for the file wsqlite_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: wsqlite_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ef50ff87eda45679949c06c180c0f5931ddf06a66a76e9eaf61cf72655804f
|
|
| MD5 |
334b4983d587b0c72916d425afb1d937
|
|
| BLAKE2b-256 |
53169cfc190dfa93cbe2a60a82b6995451d06763eaec553c4832d7e1a837fce4
|