Airflow MCP server — DAG list, runs, task instances, log tails, trigger and clear over the Airflow REST API
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
claude mcp add airflow -- npx -y @us-all/airflow-mcp{
"mcpServers": {
"airflow": {
"command": "npx",
"args": ["-y", "@us-all/airflow-mcp"],
"env": {
"AIRFLOW_API_URL": "<airflow_api_url>",
"AIRFLOW_USERNAME": "<airflow_username>",
"AIRFLOW_PASSWORD": "<airflow_password>"
}
}
}
}AIRFLOW_API_URLAIRFLOW_USERNAMEAIRFLOW_PASSWORDMCP Servers overview
# @us-all/airflow-mcp > Airflow MCP server — read DAGs, runs, task instances, log tails; trigger and clear (write-gated). Built on `@us-all/mcp-toolkit`. A focused MCP for the Airflow 3.x REST API (`/api/v2`). Read by default; `airflow-trigger-dag` and `airflow-clear-task` are gated behind `AIRFLOW_ALLOW_WRITE=true`. Auth is JWT via SimpleAuthManager — supply `AIRFLOW_USERNAME` + `AIRFLOW_PASSWORD` and the server mints/refreshes the token transparently. For deeper dbt integration (manifest parsing, run-results history, source freshness, per-column test coverage, lineage walks, custom DQ result tables), install the companion **[@us-all/dbt-mcp](https://www.npmjs.com/package/@us-all/dbt-mcp)** alongside. - 7 tools in `airflow` + `meta` categories - 2 MCP Prompts for DAG triage workflows - 1 aggregation tool that replaces the list-runs → get-task-instances combo ## Install ```bash pnpm add -D @us-all/airflow-mcp ``` ## Run ```bash AIRFLOW_API_URL=http://airflow.example.com:8080 \ AIRFLOW_USERNAME=admin AIRFLOW_PASSWORD=... \ npx @us-all/airflow-mcp ``` Pass the host base only — the server prepends `/api/v2` internally. A trailing `/api/v1` or `/api/v2` is stripped if supplied. JWT tokens are cached for the lifetime of the session and refreshed 1 minute before they expire. The server speaks MCP stdio; wire it into Claude Desktop / Cursor / any MCP client. Set `MCP_TRANSPORT=http` to opt in to Streamable HTTP transport (Bearer auth, `/health` endpoint). ## Tools ### `airflow` (6 + 1 aggregation) | Tool | Description | |------|-------------| | `airflow-list-dags` | List active DAGs with tag/search filters | | `airflow-list-runs` | Recent runs of one DAG (state filter, ordered newest first) | | `airflow-get-task-instances` | Task instances for a specific DAG run | | `airflow-get-task-logs` | Tail (last N kB) of one task instance log | | `airflow-trigger-dag` | Trigger a new run (write-gated) | | `airflow-clear-task` | Clear specific task instances → re-run (write-gated) | | `dag-health-rollup` | Aggregated DAG health: success rate + avg duration + last failed run + failing tasks | ### `meta` `search-tools` — natural-language tool discovery. ### Prompts | Prompt | Use when | |--------|----------| | `dag-failure-triage` | "Why did DAG X fail?" — pulls runs, isolates failure, dumps logs, proposes remediation | | `dag-schedule-audit` | "Sweep all DAGs for low success rate and stuck runs" | ## Environment variables | Env | Required | Notes | |-----|----------|-------| | `AIRFLOW_API_URL` | yes | Airflow host base, e.g. `http://airflow.example.com:8080`. Trailing `/api/v1` or `/api/v2` is stripped if present | | `AIRFLOW_USERNAME` | yes | Username for JWT minting via SimpleAuthManager `/auth/token` | | `AIRFLOW_PASSWORD` | yes | Password for JWT minting (secret) | | `AIRFLOW_ALLOW_WRITE` | no | `true` enables `airflow-trigger-dag` / `airflow-clear-task` | | `AIRFLOW_TOOLS` / `AIRFLOW_DISABLE` | no | Category toggles | ## Tested-against schemas - Airflow 3.0–3.2 `/api/v2` (verified against 3.2.1, current Airflow release as of 2026-05). Airflow 2.x is **not** supported by v0.2+ because basic auth + `/api/v1` were removed; pin to `@us-all/airflow-mcp@0.1.0` for Airflow 2.x deployments. ## Companion server For dbt artifact parsing, run-results history, and DQ result tables, install [`@us-all/dbt-mcp`](https://www.npmjs.com/package/@us-all/dbt-mcp) alongside. ## Build ```bash pnpm install pnpm run build # tsc → dist/ pnpm test # vitest pnpm run smoke # spawns dist/index.js, calls initialize + tools/list (set env first) ``` ## License MIT — see [LICENSE](./LICENSE).
What people ask about airflow-mcp-server
What is us-all/airflow-mcp-server?
+
us-all/airflow-mcp-server is mcp servers for the Claude AI ecosystem. Airflow MCP server — DAG list, runs, task instances, log tails, trigger and clear over the Airflow REST API It has 0 GitHub stars and was last updated yesterday.
How do I install airflow-mcp-server?
+
You can install airflow-mcp-server by cloning the repository (https://github.com/us-all/airflow-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is us-all/airflow-mcp-server safe to use?
+
Our security agent has analyzed us-all/airflow-mcp-server and assigned a Trust Score of 79/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains us-all/airflow-mcp-server?
+
us-all/airflow-mcp-server is maintained by us-all. The last recorded GitHub activity is from yesterday, with 0 open issues.
Are there alternatives to airflow-mcp-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy airflow-mcp-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/us-all-airflow-mcp-server)<a href="https://claudewave.com/repo/us-all-airflow-mcp-server"><img src="https://claudewave.com/api/badge/us-all-airflow-mcp-server" alt="Featured on ClaudeWave: us-all/airflow-mcp-server" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。