How do I let Claude Code run queries without exposing raw SQL access?
Claude Code runs queries through the Bruin MCP server against governed assets, so access is scoped to modeled, documented data.
Command
bruin mcpDefined in
MCP
Works with
Claude Code + Bruin
What you get
Discoverygoverned querieslineage-backed answers
How it works in code
$ bruin mcpRun bruin mcp and Claude Code works against governed, lineage-tracked assets.
Related use cases
Agent workflows
Let Claude explore your data model
How does Claude discover which tables exist and how they relate?
Agent workflowsLet Claude run governed queries
How do I let Claude run queries without exposing raw SQL access?
Agent workflowsLet Claude explain where a number came from
Can Claude explain the source of a metric?
Give agents governed data
Open source. Expose assets, quality, and lineage to AI agents over MCP.