MCPcopy Index your code
hub / github.com/lightdash/lightdash

github.com/lightdash/lightdash @0.3309.0 sqlite

repository ↗ · DeepWiki ↗ · release 0.3309.0 ↗
17,304 symbols 62,625 edges 4,547 files 714 documented · 4%
README

The open-source Looker alternative.

    <a target="_blank" href="https://www.loom.com/share/c0805a236a994de397ac5142fdfe4b7f"><img align="center" style="max-width:300px;" src="https://github.com/lightdash/lightdash/raw/0.3309.0/static/screenshots/lightdash_preview_chart_animation.gif"> </a>









<a href="http://www.lightdash.com"><b>Website</b></a> •
<a href="https://www.loom.com/share/c0805a236a994de397ac5142fdfe4b7f"><b>Watch demo</b></a> •
<a href="http://docs.lightdash.com/"><b>Docs</b></a> •
<a href="https://join.slack.com/t/lightdash-community/shared_invite/zt-2wgtavou8-VRhwXI%7EQbjCAHQs0WBac3w"><b>Join Slack Community</b></a>

Enable everybody in your company to answer their own questions using data

connect your dbt project --> add metrics into dbt --> share insights with your team

Come join the team, we're hiring.

Features:

  • [x] 🙏 Familiar interface for your users to self-serve using pre-defined metrics
  • [x] 👩‍💻 Declare dimensions and metrics in yaml alongside your dbt project
  • [x] 🤖 Automatically creates dimensions from your dbt models
  • [x] 📖 dbt descriptions and metadata synced for your users
  • [x] 🔍 Easily access to underlying records of charts as well as ability to data drill-down
  • [x] 🧮 Table calculations make it easy to dig into your data, on the fly
  • [x] 🕵️‍♀️ Lineage lets you see the upstream and downstream dependencies of a model
  • [x] 📊 Comprehensive and intuitive data visualisation library for your metrics
  • [x] 👷‍♂️ Save charts & build dashboards to share your insights with your team
  • [x] 💻 Powerful developer experience including Preview BI Environments and automated content validation via CI/CD
  • [x] 🔄 Explore version history of all your charts and roll-back at any point
  • [x] 🚀 Easily share your work via URL or schedule deliveries via Slack or Email

Something missing? Check out our open issues to see if what you're looking for already exists (and give it a 👍). Otherwise, we'd love it if you'd open a new issue with your request 😊

Demo

Play with our demo app!

Quick start

Start with Lightdash Cloud

You can avoid the hassle of hosting and configuring Lightdash yourself by signing up for a free trial of Lightdash Cloud. More details on pricing available.

1-click deploy

Deploy Lightdash with 1-click on Render for free.

Deploy to Render

Run locally

Take advantage of our installation script to easily run Lightdash locally.

git clone https://github.com/lightdash/lightdash
cd lightdash
./scripts/install.sh

Deploy to production

Follow our kubernetes guide to deploy Lightdash to production using our community helm charts.

Getting started

Step 1 - ⚡️ Self-host Lightdash (optional)

Step 2 - 🔌 Connect a project

Step 3 - 👩‍💻 Create your first metric

Community Support

📣 If you want something a bit more, then head on over to our Slack Community where you’ll be able to chat directly with all of us at Lightdash and all the other amazing members of our community. We’re happy to talk about anything from feature requests, implementation details or dbt quirks to memes and SQL jokes!

You can also keep up to date with Lightdash by following us here:

About Lightdash

🗂 Keep all of your business logic in one place.

We let you define your metrics and dimensions directly in your dbt project, keeping all of your business logic in one place and increasing the context around your analytics.

No more deciding which of the four different values for total revenue is the right one (you can thank us later 😉).

🤝 Build trust in your data.

We want everyone at your company to feel like they can trust the data. So, why not show them that they can?

We bring the context you want around data quality into your BI tool so people know that they can trust the data.

🧱 Give users meaningful building blocks to answer their own data questions.

With Lightdash, you can leave the SQL to the experts. We give your data team the tools they need to build metrics and dimensions that everyone else can use.

So, anybody in the business can combine, segment, and filter these metrics and dimensions to answer their own questions.

📖 Open source, now and forever

Lightdash is built with our community, for our community.

We think that a BI tool should be affordable, configurable, and secure - and being open source lets us be all three 🙂

🤑 Affordable analytics

Love Looker, but don't love Looker's price tag?

With Lightdash, we offer a free self-hosted service (it's all just open source!), or an affordable cloud-service option if you're looking for an easy analytics set up.

Docs

Have a question about a feature? Or maybe fancy some light reading? Head on over to our Lightdash documentation to check out our tutorials, reference docs, FAQs and more.

Reporting bugs and feature requests

Want to report a bug or request a feature? Open an issue.

Developing locally & Contributing

We love contributions big or small, check out our guide on how to get started.

See our instructions on developing Lightdash locally.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Rahul Jain Rahul Jain 📖 Oliver Laslett Oliver Laslett 💻 📖 🐛 🎨 🚇 Katie Hindson Katie Hindson 🐛 📖 🎨 💻 🤔 Hamzah Chaudhary Hamzah Chaudhary 📖 💻 🤔 🐛 Harry Grieve Harry Grieve 📖 Dominik Dorfmeister Dominik Dorfmeister 🎨 amin-nejad amin-nejad 🐛
Mitja Potočin Mitja Potočin

Extension points exported contracts — how you extend this code

ProjectAdapter (Interface)
(no doc) [6 implementers]
packages/backend/src/types.ts
BaseFunctionCall (Interface)
* Base type for all function calls
packages/common/src/utils/tableCalculationFunctions.ts
AccordionProps (Interface)
(no doc)
packages/frontend/src/mantine8Theme.ts
ImportMetaEnv (Interface)
(no doc)
packages/sdk-test-app/vite-env.d.ts
DatabricksOAuthTokens (Interface)
(no doc)
packages/cli/src/dbt/targets/Databricks/oauth.ts
CompileOptions (Interface)
(no doc)
packages/formula/src/types.ts
ImportMetaEnv (Interface)
(no doc)
packages/query-sdk/src/env.d.ts
WarehouseConfig (Interface)
(no doc)
packages/formula-tests/config.ts

Core symbols most depended-on inside this repo

get
called by 1747
packages/backend/src/ee/services/SandboxRuntime/SnapshotStore.ts
push
called by 1484
packages/backend/src/ee/services/SandboxRuntime/types.ts
can
called by 974
packages/backend/src/logging/caslAuditWrapper.ts
find
called by 779
packages/backend/src/models/SpaceModel.ts
error
called by 730
packages/backend/src/ee/services/SandboxRuntime/types.ts
has
called by 594
packages/backend/src/ee/services/AiAgentAdminService.ts
info
called by 592
packages/backend/src/ee/services/SandboxRuntime/types.ts
from
called by 506
packages/backend/src/ee/services/ai/utils/AgentContext.ts

Shape

Function 9,814
Method 5,606
Class 1,032
Interface 597
Enum 255

Languages

TypeScript100%
Python1%

Modules by API surface

packages/backend/src/ee/services/AiAgentService/AiAgentService.ts223 symbols
packages/common/src/types/errors.ts199 symbols
packages/backend/src/ee/models/AiAgentModel.ts179 symbols
packages/backend/src/services/ProjectService/ProjectService.ts151 symbols
packages/backend/src/ee/services/AppGenerateService/AppGenerateService.ts127 symbols
packages/common/src/types/filterGrammar.parser.ts104 symbols
packages/backend/src/services/ServiceRepository.ts96 symbols
packages/backend/src/services/AsyncQueryService/AsyncQueryService.ts90 symbols
packages/backend/src/models/ModelRepository.ts89 symbols
packages/backend/src/services/UserService.ts78 symbols
packages/backend/src/models/ProjectModel/ProjectModel.ts77 symbols
packages/backend/src/ee/services/ManagedAgentService/ManagedAgentService.ts70 symbols

Dependencies from manifests, versioned

@actions/core1.11.1 · 1×
@ai-sdk/amazon-bedrock4.0.48 · 1×
@ai-sdk/anthropic3.0.76 · 1×
@ai-sdk/azure3.0.26 · 1×
@ai-sdk/mcp1.0.41 · 1×
@ai-sdk/openai3.0.68 · 1×
@anthropic-ai/sdk0.91.1 · 1×
@aws-sdk/client-athena3.1000.0 · 1×
@aws-sdk/client-lambda-microvms3.1075.0 · 1×
@aws-sdk/client-redshift3.1000.0 · 1×
@aws-sdk/client-redshift-serverless3.1000.0 · 1×
@aws-sdk/client-s33.992.0 · 1×

Datastores touched

lightdashDatabase · 1 repos

For agents

$ claude mcp add lightdash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact