dbt MCP Server
Databasestdiov0.5.0
Official dbt Labs MCP server for analytics engineering workflows. Lets AI agents run dbt commands (build, run, test), inspect models and lineage via the dbt project, and query the Semantic Layer and Discovery API in dbt Cloud. Useful for transforming data, validating models, and answering metric questions grounded in governed definitions.
Подключение
Добавьте эту конфигурацию в .claude/mcp.json
{
"mcpServers": {
"dbt": {
"command": "uvx",
"args": [
"dbt-mcp"
],
"env": {
"DBT_HOST": "<YOUR_DBT_HOST>",
"DBT_TOKEN": "<YOUR_DBT_TOKEN>",
"DBT_PROJECT_DIR": "<YOUR_DBT_PROJECT_DIR>"
}
}
}
}Инструменты (2)
run_models
Run dbt models with optional selectors and return execution results.
{
"type": "object",
"properties": {
"select": {
"type": "string",
"description": "dbt node selection syntax (e.g., a model or tag)"
}
}
}query_metrics
Query the dbt Semantic Layer for governed metrics and dimensions.
{
"type": "object",
"required": [
"metrics"
],
"properties": {
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"description": "Metric names to query"
},
"group_by": {
"type": "array",
"items": {
"type": "string"
},
"description": "Dimensions to group by"
}
}
}Ресурсы
Этот сервер не предоставляет ресурсы.
Промпты
Этот сервер не предоставляет промпты.
Сведения о сервере
- Автор
- dbt Labs (@dbt-labs)
- Репозиторий
- https://github.com/dbt-labs/dbt-mcp
- Лицензия
- Apache-2.0
- Версия
- 0.5.0
- Звёзды
- 640
- Последнее обновление
- 9 июля 2026 г.