{"repo":"AlexBoutou/metricflow-server","free":true,"listed":false,"github":"https://github.com/AlexBoutou/metricflow-server","clone":"git clone https://github.com/AlexBoutou/metricflow-server.git","description":"Self-hosted REST API for dbt's MetricFlow semantic layer","language":"Python","stars":20,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"metricflow-server Self-host dbt's MetricFlow semantic layer as a REST API. No dbt Cloud contract needed. Push your semantic manifest.json , query metrics from anywhere. An optional MCP server is also available for direct integration with Claude, Copilot and other AI assistants. --- Why? MetricFlow is great — consistent metric definitions, DRY logic, governed by your dbt project. But the hosted semantic layer requires dbt Cloud Enterprise. This project gives you the same query interface, self-hosted, for free. The API is intentionally designed to be a drop-in for the dbt Semantic Layer Python SDK: same query parameters, same response shape. If you've built something against the SDK, it should work here with minimal changes. It's also a solid foundation for AI applications. Expose /api/v1/metrics to an LLM agent so it can discover what metrics exist, then let it call /api/v1/query to answer questions from your data — all within the guardrails of your semantic layer. --- How it works The server starts without a manifest and becomes ready once you POST one. This fits naturally into your dbt CI/CD: run dbt build , then push the manifest to the server. --- Quickstart (local) Requirements: Python 3.11–3.12, uv Then push your manifest: --- Production (Docker) Option 1 — Pull from GHCR (recommended) Pre-built images are published to GitHub Container Registry: Versioned tags are also available (e.g. bigquery-0.1.0 ). Option 2 — Build from source Option 3 — Docker Compose The ADAPTER va","default_branch":null,"files":null,"tree":[],"storefront":"/r/AlexBoutou","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AlexBoutou/metricflow-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}