MCP.Market

Boyce MCP server

by boyce-io·io.github.boyce-io/boyce·v0.1.1·1 stars

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

B80/100grade B
What users say
No reviews yet
Be the first
Safety scan
B80/100

full report

Adoption
New

1 stars16 downloads/wk

Reviews

Write one

Nobody has reviewed Boyce yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Boyce tools (8, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • ask_boyce
  • check_health

    Check Boyce's operational health — database connectivity, snapshot freshness, and schema drift.

  • get_schema

    See what the database actually contains before writing a query.

  • ingest_definition

    Store a certified business definition that Boyce applies automatically at query time.

  • ingest_source

    Teach Boyce about a database — point it at any schema source and get a semantic snapshot.

  • profile_data

    See how a column actually behaves — null rate, distinct count, min/max.

  • query_databasewrite action

    Run SQL against the live database — read-only, with safety pre-flight.

  • validate_sql

    Check SQL against data reality before running it. If you wrote SQL yourself — or want to verify SQL from any source — this catches three classes of problems invisible to schema inspection alone:

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan39 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 153 days ago8/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 80/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Boyce compares

Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
80/100
higher than 50% of 802 Databases servers
Tools
8
the typical Databases server has 8
Tools that change things
13%
typical: 10%. Fewer write tools means less an agent can break
GitHub stars
1
more than 45% of 602 Databases servers
Downloads a week
16
more than 4% of 328 Databases servers with a package

What its tools let an agent do: 7 read · 1 change

Install Boyce in Claude Code, Cursor or VS Code

claude mcp add boyce -- uvx boyce
Add to Cursor

What the publisher says

From the Boyce repository's README, as published. We do not edit it. Read it on GitHub

Boyce: Semantic Protocol & Safety Layer for Agentic Database Workflows

<!-- mcp-name: io.github.boyce-io/boyce -->

The semantic safety layer for agentic database workflows.

Boyce connects LLMs to live database context with built-in safety rails.

Named for Raymond F. Boyce, co-inventor of SQL (1974) and co-author of Boyce-Codd Normal Form (BCNF).

AI agents querying databases without proper context generate unreliable SQL — working from incomplete schemas, inferring column names, guessing join paths. Boyce gives agents the structured database intelligence they need to generate correct, safe SQL every time — through three interconnected systems:

Why does this matter? → The Null Trap: Your AI Agent's SQL Is Correct. The Answer Is Still Wrong.

Install

Requires Python 3.10+

pip install boyce

# With live Postgres/Redshift adapter (enables EXPLAIN pre-flight + column profiling)
pip install "boyce[postgres]"
# uv (recommended)
uv pip install boyce
uv pip install "boyce[postgres]"

From source:

git clone https://github.com/boyce-io/boyce
uv pip install -e "boyce/"

Quickstart

After installing, run boyce init to configure your MCP host automatically:

boyce init

The wizard detects Claude Desktop, Cursor, Claude Code, and JetBrains (DataGrip, IntelliJ, etc.), and writes the correct config block for each.

Developing from source? The repo includes a setup script:

./quickstart.sh   # detects uv or python, installs package, writes .env template

Configure Your MCP Host

The fastest path is boyce init — it detects your MCP host and writes the config automatically:

boyce init

Or configure manually. There are two setup paths depending on your host:

Path 1 — MCP Hosts (No LLM key required)

If you're using Claude Desktop, Cursor, Claude Code, Codex, Cline, Windsurf, JetBrains (DataGrip, IntelliJ), or any MCP-compatible host, you do not need to configure an LLM provider for Boyce. The host's own model handles reasoning — Boyce supplies the schema context and deterministic SQL compiler via getschema and askboyce. Only BOYCEDBURL is needed (and even that is optional).

Claude Desktop (~/Library/Application Support/Claude/claudedesktopconfig.json):

{
  "mcpServers": {
    "boyce": {
      "command": "boyce",
      "env": {
        "BOYCE_DB_URL": "postgresql://user:pass@host:5432/db"
      }
    }
  }
}

Cursor (.cursor/mcp.json in project root):

{
  "mcpServers": {
    "boyce": {
      "command": "boyce",
      "env": {
        "BOYCE_DB_URL": "postgresql://user:pass@host:5432/db"
      }
    }
  }
}

Path 2 — With Boyce's Built-in NL→SQL

If you're using the CLI (boyce ask), HTTP API, or a non-MCP client (e.g., the VS Code extension), configure Boyce's internal query planner with your LLM provider:

{
  "mcpServers": {
    "boyce": {
      "command": "boyce",
      "env": {
        "BOYCE_PROVIDER": "anthropic",
        "BOYCE_MODEL": "claude-sonnet-4-6",
        "ANTHROPIC_API_KEY": "sk-ant-...",
        "BOYCE_DB_URL": "postgresql://user:pass@host:5432/db"
      }
    }
  }
}

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Boyce: common questions

Is Boyce MCP server safe?
Mostly: it is graded B (80/100). Read the Boyce safety report
How do I install Boyce?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Boyce need an API key?
No secret keys are declared. It reads 3 settings from the environment.
Is Boyce maintained?
The last commit was 190 days ago (2026-04-28). The latest release is v0.1.1.
What can I use instead of Boyce?
Servers from other publishers that do the same job: DBHub MCP server, Motherduck MCP server and Keboola MCP server.
How does Boyce compare with other Databases MCP servers?
safety score 80/100 (higher than 50% of 802 Databases servers); tools 8 (the typical Databases server has 8); tools that change things 13% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Boyce

Same job from other publishers: the closest match first, then the best rated.

  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A
  • Motherduck
    SQL analytics and data engineering for AI Assistants and IDEs
    A
  • Keboola
    Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
    A
  • GeoLens
    Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.
    B
  • Faucet
    SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
    A