Boyce

Deterministic SQL compiler for AI agents. Your agent stops guessing SQL.

stdioofficialapplication

Package Details

Transportstdio

Environment Variables

BOYCE_DB_URL

PostgreSQL or Redshift connection string. Optional — tools work without live DB; required for live profiling and EXPLAIN pre-flight.

BOYCE_PROVIDER

LLM provider for the NL→StructuredFilter planner (anthropic, openai). MCP hosts using their own model should not set this — the host's model does the reasoning and Boyce receives a pre-built StructuredFilter.

ANTHROPIC_API_KEY

Required only when BOYCE_PROVIDER=anthropic and the host does not supply its own model. MCP hosts (Claude Desktop, Cursor, Claude Code, Codex, Cline, Windsurf, JetBrains) do not need this.