anfra

When a coding agent builds your custom BI app, anfra makes every number come from a metric your data team defined once, in code, and lets anyone inspect the query behind it. Pages are ordinary web pages drawn with any charting library, laid out however the team wants, and they ask for revenue or churn by name with no SQL in the page. Cross-filters, drill-downs, funnels, cohorts, and period comparisons are resolved by the engine rather than coded by hand into each page. Inspect on any figure shows its definition, formula, trust level, lineage, and the exact query that ran. Models, datasets, and metrics are files in your repository, reviewed like any other change; apps can query them but never edit them. Agent skills teach Claude Code, Codex, and Cursor to model data and build apps, and the MCP server lets agents browse models and run metric queries. Connect Snowflake, BigQuery, Redshift, ClickHouse, Databricks, or eight other data sources; every query runs live there. An e-commerce sample project supplies models, a dataset, and a ready app to open with one command, and saved pages reload as the agent edits them. Live demos cover a cohort heatmap, BigQuery cost forecast, MRR reconciliation, funnel analysis, and a statement-style metric sheet. The server ships without a login; an SSO proxy in front decides who can open it. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

anfra
anfra
anfra
anfra
anfra
anfra
anfra
anfra
anfra

Benefits

  • Custom layouts, governed numbers
  • Your coding agent builds any layout or interaction in plain web pages, while every figure still comes from a metric your data team defined and reviews as code.
  • Every number can be inspected
  • Inspect opens the definition, formula, trust level, lineage, and exact query behind any figure, letting reviewers check a number without reading the page code.
  • Built for coding agents
  • Agent skills teach Claude Code, Codex, and Cursor to write models and apps, and the MCP server lets agents browse your metrics and query them directly.
  • Runs live on your warehouse
  • Queries run on Snowflake, BigQuery, Redshift, ClickHouse, Databricks, and eight other data sources; apps keep no query results or warehouse credentials by default.

Features

  • Metrics Defined As Code
  • Models, datasets, and metrics live as plain files in your repository; the data team reviews changes like code and every app shares one definition.
  • Interactions Built In
  • Cross-filters, drill-downs, funnels, cohorts, and period comparisons are resolved by the engine, and agents never hand-code that SQL for each chart.
  • Inspect and Lineage
  • Open Inspect on a number to see its definition, formula, trust level, and lineage back to fields and tables, plus the rows and query behind it.
  • MCP Server and Skills
  • The MCP server serves models and metrics to coding agents, and installable skills teach Claude Code, Codex, and Cursor to model data and build apps.
  • Live Reload App Server
  • anfra serve hosts every page in the apps folder at its own address, reloads it as you or the agent edit, and exposes the API and MCP endpoints.
  • Docker Image, Sample Project
  • A multi-architecture Docker image runs a mounted project on a server, and anfra init with the example flag adds an e-commerce sample with a ready app.

Apps Similar to anfra