Best for
- Teams using Bazel as their build system.
- AI agents or coding assistants that need structured, reliable build output.
- Users who want to reduce token consumption and increase output consistency.
Pare Bazel is a focused MCP server for Bazel that provides structured output, significantly reducing token usage and improving reliability for AI agents. It is a third-party open-source project, not official, but MIT-licensed and publicly available. Suitable for developers using Bazel, but be aware of resource consumption and potential information disclosure risks.
Pare Bazel is an MCP server for the Bazel build system, part of the Pare collection. It converts Bazel CLI output into schema-validated, type-safe JSON for direct use by AI agents, eliminating fragile text parsing. The server is open-source (repo Dave-London/Pare) under MIT license, distributed via npm package @paretools/bazel, and communicates over stdio. It aims to reduce token usage (by approximately 46-95%) and provide consistent field names regardless of platform, version, or locale differences.
Install the MCP server via npm and configure a client (e.g., Claude Desktop) to launch with npx -y @paretools/bazel. Alternatively, use Pare's quick setup: npx @paretools/init --client <client> --preset devops.
{
"mcpServers": {
"pare-bazel": {
"command": "npx",
"args": [
"-y",
"@paretools/bazel"
]
}
}
}