grane
Run governed, read-only analytics queries on Postgres with safe metrics.
- Runs locally
- Open source
Copy the install command and let the AI configure it · recommended for beginners
No copy-paste install info for "grane" yet — see the docs or source repo.
// examples
Use grane to query this month’s core business metrics in Postgres by predefined metrics and dimensions, and return results with provenance.
A read-only analytics result with provenance for each output.
Use grane to analyze conversion over the last 30 days and break it down by predefined dimensions.
A dimension-grouped analysis table with safety checks applied.
Use grane to run a governed read-only query against Postgres, confirm the result comes from defined metrics, and explain the data source.
An auditable query result with governance and source information.
// use cases
A data analyst can use it to fetch stable, traceable metrics from Postgres. It is suited to read-only analysis by fixed metrics and dimensions.
A product manager can use it to validate growth, conversion, or retention metrics with consistent definitions. Each result includes safety checks and provenance.
Developers can use it when wiring data access into MCP-compatible agents. It limits access to governed read-only analytics and reduces operational risk.
// docs
// FAQ
What is grane?
It is an MCP tool for governed, read-only analytics queries on Postgres. Queries use predefined metrics and dimensions, and every result includes safety checks and provenance.
Can it write to the database?
No. The description explicitly says it is read-only, so it is for querying and analysis only.
What prerequisites are needed?
You need access to Postgres and predefined metrics/dimensions; other setup details, see the source repository.