data-api-builder

From public sources

Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.

MCP serverCategory: MCP Servers · Cloud & DevOps · Databases · SDKs & frameworksOpen sourcedata checked Oct 15, 2026

Overview

  • api
  • azure
  • database
  • graphql
  • hacktoberfest
  • mcp
  • mcp-server
  • microsoft
  • rest

Installation

Commands are shown, never run by the marketplace. Check them against the official documentation.

Compatibility

Unknown means no evidence was found — not that the product is incompatible.
PlatformStatusArchitectureEvidenceConfidence
Claude (web & desktop)Unknown———
Claude CodeUnknown———
CursorUnknown———
VS CodeUnknown———
WindsurfUnknown———
ChatGPTUnknown———
WindowsCompatiblex86_64official build in release v2.1.5: dab_net10.0_win-x64-2.1.5.zip0.70
macOSCompatiblex86_64official build in release v2.1.5: dab_net10.0_osx-x64-2.1.5.zip0.70
Compatiblearm64official build in release v2.1.5: Microsoft.DataApiBuilder.osx-arm64.2.1.5.nupkg0.70
LinuxCompatiblex86_64official build in release v2.1.5: dab_net10.0_linux-x64-2.1.5.zip0.70
Compatiblearm64official build in release v2.1.5: Microsoft.DataApiBuilder.linux-arm64.2.1.5.nupkg0.70

Releases

checked Oct 29, 2026
v2.1.5LatestOct 1, 2026Official source ↗

Files in 2.1.5

The marketplace does not host these files: downloads go to the official source. Files have not been scanned by us.
FilePlatformSizeSHA-256Download from the official source
Microsoft.DataApiBuilder.linux-arm64.2.1.5.nupkglinux · arm6423.2 MBae44684a8843…Official source ↗
Microsoft.DataApiBuilder.linux-x64.2.1.5.nupkglinux · x86_6423.2 MBd9afe77bea95…Official source ↗
Microsoft.DataApiBuilder.osx-arm64.2.1.5.nupkgmacos · arm6423.2 MB221002907ea0…Official source ↗
Microsoft.DataApiBuilder.osx-x64.2.1.5.nupkgmacos · x86_6423.2 MB76a5108541b4…Official source ↗
Microsoft.DataApiBuilder.win-x64.2.1.5.nupkgwindows · x86_6423.6 MBb123359704c8…Official source ↗
dab_net10.0_linux-x64-2.1.5.ziplinux · x86_64 · zip69 MB14ac30d9f7e0…Official source ↗
dab_net10.0_osx-x64-2.1.5.zipmacos · x86_64 · zip68.1 MBebce13f4aadd…Official source ↗
dab_net10.0_win-x64-2.1.5.zipwindows · x86_64 · zip69.5 MB3e462efa109b…Official source ↗
Microsoft.DataApiBuilder.2.1.5.nupkgother104.4 KB245dc774ed40…Official source ↗
Microsoft.DataApiBuilder.Core.2.1.5.nupkgother485.9 KB2e3a4091c88d…Official source ↗
dab-manifest.jsonother48.1 KB021c9c964cf6…Official source ↗
dab.draft.schema.jsonother79.9 KB8d8787a124f9…Official source ↗

Release history

Quality profile

algorithm quality-v1.0 · assessed Oct 15, 2026
Quality Score85
Risk Score0
Confidence 1.00
Quality Score and Risk Score are different measures. A high score does not guarantee safety.

Score components

Maintenance · 2020
last activity 1 days ago
Documentation · 1515
README 8892 chars, description present
Ready to use · 156
install instructions: no; releases: yes
Metadata · 1010
4/4 of description, homepage, license, topics
Releases · 1010
10 release(s), latest 14 days ago
Category confidence · 107
classifier confidence 0.65
Adoption · 108
1528 stars (log-dampened, 10k = max)
License clarity · 55
SPDX MIT
Community · 55
issues enabled, 374 forks

License

MIT
Known licensefrom the repository host

This is the catalog policy status, not legal advice.

Sources

github.com/Azure/data-api-builderPrimary★ 1,528 starslast activity Oct 15, 2026Primary repository · Confidence 1.00

Reviews

Sign in to write a review

No reviews yet.

Alternatives

README

From Azure/data-api-builder · license MIT · fetched Oct 29, 2026

Data API builder for Azure Databases

[NuGet Package] [Nuget Downloads] [Documentation] [License: MIT]

What's new?

Join the community

Want to be part of our priorities and roadmap? Sign up here.

About Data API builder

Data API builder (DAB) is an open-source, no-code tool that creates secure, full-featured REST and GraphQL endpoints for your database. It’s a CRUD data API engine that runs in a container—on Azure, any other cloud, or on-premises. DAB is built for developers with integrated tooling, telemetry, and other productivity features.

[!IMPORTANT] Data API builder (DAB) is open source and always free.

Which databases does Data API builder support?

Azure SQLSQL ServerSQLDWCosmos DBPostgreSQLMySQL
SupportedYesYesYesYesYesYes

Which environments does Data API builder support?

On-PremAzureAWSGCPOther
SupportedYesYesYesYesYes

Which endpoints does Data API builder support?

RESTGraphQLMCP
SupportedYesYesYes

Getting started

Use the Getting Started tutorial to quickly explore the core tools and concepts.

1. Install the dotnet command line

https://get.dot.net

[!NOTE] You may already have .NET installed!

The Data API builder (DAB) command line requires the .NET runtime version 8 or later.

Validate your installation
dotnet --version

2. Install the dab command line

The Data API builder (DAB) command line is cross-platform and intended for local developer use.

dotnet tool install microsoft.dataapibuilder -g
Validate your installation
dab --version

3. Create your database (example: Azure SQL database / T-SQL)

This example uses a single table for simplicity.

CREATE TABLE dbo.Todo
(
    Id INT PRIMARY KEY IDENTITY,
    Title NVARCHAR(500) NOT NULL,
    IsCompleted BIT NOT NULL DEFAULT 0
);
INSERT dbo.Todo (Title, IsCompleted)
VALUES
    ('Walk the dog', 0),
    ('Feed the fish', 0),
    ('Clean the cat', 1);

4. Prepare your connection string

Data API builder (DAB) supports .env files for testing process-level environment variables.

PowerShell (Windows)
echo "my-connection-string=$env:database_connection_string" > .env
cmd.exe (Windows)
echo my-connection-string=%database_connection_string% > .env
bash (macOS/Linux)
echo "my-connection-string=$database_connection_string" > .env
Resulting .env file

The file .env is automatically created through this process. These are the resulting contents:

"my-connection-string=$env:database_connection_string" 

[!NOTE] Be sure and replace database_connection_string with your actual database connection string.

[!IMPORTANT] Adding .env to your .gitignore file will help ensure your secrets are not added to source control.

5. Create your initial configuration file

Data API builder (DAB) requires a JSON configuration file. Use dab --help for syntax options.

dab init
  --database-type mssql
  --connection-string "@env('my-connection-string')"
  --host-mode development

[!NOTE] Including --host-mode development enables Swagger for REST and Nitro for GraphQL.

Resulting configuration

The file dab-config.json is automatically created through this process. These are the resulting contents:

{
  "$schema": "https://github.com/Azure/data-api-builder/releases/download/v1.5.56/dab.draft.schema.json",
  "data-source": {
    "database-type": "mssql",
    "connection-string": "@env('my-connection-string')",
    "options": {
      "set-session-context": false
    }
  },
  "runtime": {
    "rest": {
      "enabled": true,
      "path": "/api",
      "request-body-strict": true
    },
    "graphql": {
      "enabled": true,
      "path": "/graphql",
      "allow-introspection": true
    },
    "host": {
      "cors": {
        "origins": [],
        "allow-credentials": false
      },
      "authentication": {
        "provider": "AppService"
      },
      "mode": "development"
    }
  },
  "entities": { }
}

6. Add your table to the configuration

dab add Todo
  --source "dbo.Todo"
  --permissions "anonymous:*"

[!NOTE] DAB supports tables, views, and stored procedures. When the type is not specified, the default is table.

Resulting configuration

The entities section of the configuration is no longer empty:

{
  "entities": {
    "Todo": {
      "source": {
        "object": "dbo.Todo",
        "type": "table"
      },
      "graphql": {
        "enabled": true,
        "type": {
          "singular": "Todo",
          "plural": "Todos"
        }
      },
      "rest": {
        "enabled": true
      },
      "permissions": [
        {
          "role": "anonymous",
          "actions": [
            {
              "action": "*"
            }
          ]
        }
      ]
    }
  }
}

7. Run Data API builder

In production, DAB runs in a container. In development, it’s locally self-hosted.

dab start

[!IMPORTANT] The DAB CLI assumes your configuration file is called dab-config.json and is in the local folder.

8. Access your data!

By default, DAB enables both REST and GraphQL.

GET http://localhost:5000/api/Todo

[!NOTE] Change the URL to match your port if it is different.

Other things you should try
  • DAB’s Health endpoint: http://localhost:5000/health
  • DAB’s Swagger UI: http://localhost:5000/swagger
  • DAB’s Nitro UI: http://localhost:5000/graphql

How does it work?

DAB dynamically creates endpoints and translates requests to SQL, returning JSON.

sequenceDiagram
  actor Client as Client
  participant Endpoint as Endpoint
  participant QueryBuilder as QueryBuilder
  participant DB as Database

  %% Initialization / Warming up section (light grey)
  rect rgba(120,120,120,0.10)
    Endpoint -->>+ Endpoint: Read Config
    Endpoint ->> DB: Query Metadata
    DB -->> Endpoint: Metadata Response
    Endpoint ->>- Endpoint: Start Engine
  end

  %% Request/Response section (very light purple)
  rect rgba(180,150,255,0.11)
    Client ->>+ Endpoint: HTTP Request
      Endpoint ->> Endpoint: Authorize
    Endpoint ->> QueryBuilder: Invoke
    QueryBuilder -->> Endpoint: SQL Query
      Endpoint ->> DB: Submit Query
      DB -->> Endpoint: Data Response
    Endpoint -->>- Client: HTTP Response
  end

Additional resources

References

How to contribute

To contribute, see these documents:

Third-party component notice

Nitro (formerly Banana Cake Pop by ChilliCream, Inc.) may optionally store work in its cloud service via your ChilliCream account. Microsoft is not affiliated with or endorsing this service. Use at your discretion.

Trademarks

This project may use trademarks or logos. Use of Microsoft trademarks must follow Microsoft’s Trademark & Brand Guidelines. Use of third-party marks is subject to their policies.

Open the repository ↗