Skip to directory

About 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.

What you can use it for

  • ai ml
  • databases
Connection and setup
Hosting
Local stdio process
Transport
stdio
Endpoint
Local process; no hosted endpoint documented
Authentication
No credentials were configured; the tested read-only tool “help” succeeded in an isolated environment. Other tools may have additional requirements.

Requirements

  • Node.js 18+
  • The public install config and runtime call passed; package/profile repository links differ and are recorded for review.

Setup steps

  1. npx -y sqlew@5.3.8
Tools 8

README lists eight tools and the eight stored rows match.

  • decision

    Context Management - Store decisions with versioning and metadata. Use action: "help" for documentation.

    Parameters: action, _sqlew_project
    01
  • constraint

    Architectural Rules - Define and manage project constraints with priorities. Use action: "help" for documentation.

    Parameters: action, _sqlew_project
    02
  • 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.

    Parameters: action, root, name, ref, allow_create
    03
  • 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).

    Parameters: action, tool, target_action, current_action, operation, error_message
    04
  • 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).

    Parameters: action, tool, action_name, topic, keyword, complexity, limit, offset
    05
  • 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.

    Parameters: action, use_case_id, keyword, category, complexity, limit, offset
    06
  • suggest

    Intelligent decision/constraint suggestion system. Find related decisions by key pattern, tags, or full context. Prevents duplicates and ensures consistency.

    Parameters: action, target, key, text, constraint_text, category, tags, layer, priority, limit, min_score, _sqlew_project
    07
  • queue

    Hook queue management - list, clear, remove pending items from .sqlew/queue/pending.json. Use action: "help" for documentation.

    Parameters: action, index, _sqlew_project
    08
Limitations and notes
  • Runtime verification covered one read-only tool call (help); other listed tools were not individually exercised.
  • The npm package points to sqlew-io/sqlew while the directory profile links the earlier sin5ddd/mcp-sqlew repository; the difference is retained for review.
  • {}
Source discrepancies
  • The npm package points to sqlew-io/sqlew while the directory profile links the earlier sin5ddd/mcp-sqlew repository; the difference is retained for review.
Original sources
  • MCP.Directory public profile

    Name, description, publisher identifier, categories, transport, tool inventory, and install configuration.

  • Linked publisher repository

    Repository URL linked from the public profile; any npm repository difference is recorded separately.

  • npm-declared package repository

    The npm package points to sqlew-io/sqlew while the directory profile links the earlier sin5ddd/mcp-sqlew repository; the difference is retained for review.

  • npm registry metadata

    Published package version 5.3.8 checked before launch. Registry repository: git+https://github.com/sqlew-io/sqlew.git. The npm package points to sqlew-io/sqlew while the directory profile links the earlier sin5ddd/mcp-sqlew repository; the difference is retained for review.

  • maintainer repository documentation

    Maintainer README explicitly lists eight action-based MCP tools: decision, constraint, project, suggest, help, example, use_case, queue.

Documentation checked 2026-10-28T00:00:00Z. Connection has not been runtime tested.