data-api-builder
Data API builder provides modern REST, GraphQL endpoints and MCP tools to your Azure Databases and on-prem stores.
Install / Use
claude mcp add Azure -- npx -y github:Azure/data-api-builderIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Data & AnalyticsSupported Platforms
Our assessment of data-api-builder
data-api-builder scores 89/100 on our quality scale, 319th of 595 Data & Analytics skills we index.
Its MCP Server is 8.7 KB long, well organised into 30 sections with 15 code examples: a thorough specification that gives an agent plenty to work with.
With 1,538 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated yesterday, so data-api-builder is actively maintained.
- Our last check on 2026-10-21 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
data-api-builder compared with similar skills
All 4 of these similar skills score higher than data-api-builder; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| data-api-builder (this skill)by Azure | 89 | 1.5k | 1d ago | MCP Server |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 97.9k | today | MCP Server |
Frequently asked questions
- How do I install data-api-builder?
- Run
claude mcp add Azure -- npx -y github:Azure/data-api-builder. The install tabs above show the steps for each supported agent. - Which AI agents does data-api-builder work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is data-api-builder safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is data-api-builder still maintained?
- The repository was last updated yesterday, so data-api-builder is actively maintained.
Skill content
View source on GitHubData API builder for Azure Databases
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 SQL | SQL Server | SQLDW | Cosmos DB | PostgreSQL | MySQL | | :-----------: | :-------: | :--------: | :---: | :-------: | :--------: | :---: | | Supported | Yes | Yes | Yes | Yes | Yes | Yes |
Which environments does Data API builder support?
| | On-Prem | Azure | AWS | GCP | Other | | :-----------: | :-----: | :---: | :--: | :--: | :---: | | Supported | Yes | Yes | Yes | Yes | Yes |
Which endpoints does Data API builder support?
| | REST | GraphQL | MCP | | :-----------: | :--: | :-----: | :---------: | | Supported | Yes | Yes | Yes |
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_stringwith your actual database connection string.
[!IMPORTANT] Adding
.envto your.gitignorefile 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 developmentenables 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.jsonand 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.
Related Skills
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
97.9k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
