← Index

Boyce

io.github.boyce-io/boyce·v0.1.1·Other
Quality Score
90
/100

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

§01  Install
Claude Desktop (uvx)
{
  "mcpServers": {
    "boyce": {
      "command": "uvx",
      "args": [
        "boyce"
      ],
      "env": {
        "BOYCE_DB_URL": "<boyce_db_url>",
        "BOYCE_PROVIDER": "<boyce_provider>",
        "ANTHROPIC_API_KEY": "<anthropic_api_key>"
      }
    }
  }
}
§02  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.

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
§04  Alternatives in Other