MCP Sqlew
sqlew is an MCP server that provides a shared SQL context repository across sessions for AI agents. By recording the reasons for decisions and constraint rules, it prevents context loss and duplicate work, achieving efficient team knowledge management and code consistency.
rating : 2.5 points
downloads : 0
What is sqlew?
sqlew is a Model Context Protocol (MCP) server specifically designed for AI agents (such as Claude), providing a shared SQL context repository across sessions. It solves the problem of AI sessions starting from scratch every time. By recording decisions, constraints, and tasks, it achieves organizational memory and efficient collaboration.How to use sqlew?
Add it to Claude's MCP server list through simple configuration, and AI agents can access the shared context database. You can use natural language commands (such as `/sqlew`) to record decisions, query history, and manage tasks, and the AI will automatically call the corresponding tools.Applicable scenarios
Suitable for long - term project development, team collaboration, coordination of multiple AI agents, complex projects that require consistent decision - making, and scenarios where you want to reduce repeated explanations and improve development efficiency.Main features
Decision repository
Record key decisions in the project, including why a certain choice was made, alternative options considered, and trade - off factors, to provide decision - making context for the future.
Constraint management
Define constraints such as coding rules, architecture boundaries, and performance requirements to ensure that AI agents follow consistent development specifications.
Task tracking
Manage to - do, in - progress, and completed tasks, support dependency relationships and automatic file change tracking, and implement kanban - style project management.
Duplicate detection
A three - layer similarity detection system (0 - 100 score algorithm) that intelligently identifies similar decisions and constraints, avoids duplicate work, and recommends reusing existing content.
File change tracking
Automatically monitor file modifications. When the AI edits a file, it automatically updates the status of related tasks, achieving zero - manual - update task management.
Multi - database support
Supports SQLite (default), MySQL 8.0/MariaDB 10+ and PostgreSQL 12+, meeting different needs from personal development to production environments.
Advantages
🧠 Organizational memory: Records the 'why' of decisions and the 'how' of constraints, going beyond git which only records 'what was done'
⚡ Efficient and cost - saving: Reduces token usage by 60 - 75% through structured data storage and selective querying
🛡️ Prevents degradation: Avoids context decay and inconsistency, and the AI will not re - introduce fixed errors
🎯 High - quality code: Ensures that the code conforms to the team style through constraints and prevents blind imitation through decision history
📊 Transparent tracking: Clear task dependencies and progress visibility to understand what the AI is doing
🔒 Completely private: Does not send any data to external networks, does not collect usage statistics, ensuring data security
Limitations
Requires Node.js 20.0.0 or higher, not compatible with old environments
Each project requires an independent database, and global installation is not recommended
Does not support Junie AI because its MCP configuration cannot handle project - specific database paths
Needs to restart Claude to load initialized agents and commands
Learning curve: Requires understanding concepts such as decisions, constraints, and tasks to use effectively
How to use
Installation and configuration
Add the sqlew configuration to the.mcp.json file in the project root directory and specify to run using npx.
Initialization and restart
When running for the first time, sqlew will initialize the database and install custom agents and commands. After completion, you need to exit and restart Claude to load all functions.
Use the /sqlew command
Use natural language commands directly in Claude Code, and sqlew will automatically recognize the intention and call the corresponding tools.
Configure the database (optional)
If you need to use MySQL or PostgreSQL, or customize the SQLite path, you can edit the.sqlew/config.toml configuration file.
Usage examples
Record technology selection decisions
When the team decides to use a specific technology stack, record the decision - making process and reasons for future reference.
Define coding constraints
Set development specifications for the project to ensure that all AI agents follow the same coding standards.
Manage development tasks
Break down large - scale features into manageable tasks and track progress.
Avoid duplicate decisions
Before making a new decision, check if there are similar historical decisions that can be reused.
Frequently Asked Questions
Is sqlew secure? Will my data be sent externally?
Why do I need to restart Claude after installation?
Can I use the same sqlew instance in multiple projects?
Which databases are supported?
How to migrate to a new version of sqlew?
What is the difference between sqlew and ordinary notes or documents?
Related resources
Official GitHub repository
Source code, issue tracking, and contribution guidelines
npm package page
Latest version, download statistics, and version history
Detailed documentation directory
Complete usage guide, tool reference, and best practices
Model Context Protocol official website
Official documentation and specifications of the MCP protocol
Change log
Version update history and new features

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.5K
4.5 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
28.6K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.5K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
53.9K
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
51.3K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
24.3K
5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
17.2K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
75.7K
4.7 points

