# SQLew
> Optimizes multi-agent coordination through intelligent SQLite database design with normalized tables, integer enums, and pre-aggregated views to achieve 96% token reduction in context sharing for decision tracking, agent messaging, file change monitoring, and constraint management.
Canonical: https://www.mcpfolio.com/servers/sqlew
Last updated: 2026-10-28
## Catalog record

- Publisher: sin5ddd
- Categories: development, productivity, database, search, communication, design

## Repository

https://github.com/sin5ddd/mcp-sqlew

## Transports

stdio

## Authentication

No credentials were configured; the tested read-only tool “help” succeeded in an isolated environment. Other tools may have additional requirements.

## Tools

- **decision**: Context Management - Store decisions with versioning and metadata. Use action: "help" for documentation.
- **constraint**: Architectural Rules - Define and manage project constraints with priorities. Use action: "help" for documentation.
- **project**: Project Resolution - Target a specific project per tool call (desktop AI agents / multi-project).

Actions:
- current: Show the active project (or unbound status)
- resolve: Resolve/register a project by root path or name; returns a stable ref
- list: List all registered projects
- validate: Check whether a root/name/ref resolves cleanly (read-only)

Desktop flow: call project.resolve { root } once, then pass _sqlew_project: { ref } on subsequent decision/constraint calls. Use action: "help" for documentation.
- **help**: **REQUIRED PARAMETER**: action (must be specified in ALL calls)

Help System - Query action documentation, parameters, and workflow guidance

Actions:
- query_action: Get action documentation with parameters and examples
- query_params: Get parameter list only (quick reference)
- query_tool: Get tool overview and all actions
- workflow_hints: Get common next actions after current action
- batch_guide: Get guidance for batch operations
- error_recovery: Analyze errors and suggest fixes

Use this tool to understand how to use other sqlew tools. Returns only requested information (80-95% token reduction vs legacy help).
- **example**: **REQUIRED PARAMETER**: action (must be specified in ALL calls)

Example System - Browse and search code examples for sqlew tools

Actions:
- get: Get examples by tool, action, or topic
- search: Search examples by keyword
- list_all: List all available examples with filtering

Use this tool to find working code snippets. Returns only requested examples (token-efficient).
- **use_case**: **REQUIRED PARAMETER**: action (must be specified in ALL calls)

Use Case Catalog - Browse and search complete workflow scenarios

Actions:
- get: Get complete use case workflow by ID
- search: Search use cases by keyword/category
- list_all: List all use cases with filtering and pagination

Use this tool to learn end-to-end workflows and multi-step operations. Returns workflow steps with executable code examples.
- **suggest**: Intelligent decision/constraint suggestion system. Find related decisions by key pattern, tags, or full context. Prevents duplicates and ensures consistency.
- **queue**: Hook queue management - list, clear, remove pending items from .sqlew/queue/pending.json. Use action: "help" for documentation.

## Sources

- [MCP.Directory public profile](https://mcp.directory/servers/sqlew)
- [Linked publisher repository](https://github.com/sin5ddd/mcp-sqlew)
- [npm-declared package repository](https://github.com/sqlew-io/sqlew)
- [npm registry metadata](https://registry.npmjs.org/sqlew)
- [maintainer_repository_documentation](https://github.com/sqlew-io/sqlew)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/sqlew) to view instructions for each supported client.